001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.messageboards.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.kernel.exception.SystemException;
021    import com.liferay.portal.model.BaseModel;
022    import com.liferay.portal.model.CacheModel;
023    import com.liferay.portal.model.StagedGroupedModel;
024    import com.liferay.portal.service.ServiceContext;
025    
026    import com.liferay.portlet.expando.model.ExpandoBridge;
027    
028    import java.io.Serializable;
029    
030    import java.util.Date;
031    
032    /**
033     * The base model interface for the MBThreadFlag service. Represents a row in the "MBThreadFlag" database table, with each column mapped to a property of this class.
034     *
035     * <p>
036     * This interface and its corresponding implementation {@link com.liferay.portlet.messageboards.model.impl.MBThreadFlagModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.messageboards.model.impl.MBThreadFlagImpl}.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see MBThreadFlag
041     * @see com.liferay.portlet.messageboards.model.impl.MBThreadFlagImpl
042     * @see com.liferay.portlet.messageboards.model.impl.MBThreadFlagModelImpl
043     * @generated
044     */
045    @ProviderType
046    public interface MBThreadFlagModel extends BaseModel<MBThreadFlag>,
047            StagedGroupedModel {
048            /*
049             * NOTE FOR DEVELOPERS:
050             *
051             * Never modify or reference this interface directly. All methods that expect a message boards thread flag model instance should use the {@link MBThreadFlag} interface instead.
052             */
053    
054            /**
055             * Returns the primary key of this message boards thread flag.
056             *
057             * @return the primary key of this message boards thread flag
058             */
059            public long getPrimaryKey();
060    
061            /**
062             * Sets the primary key of this message boards thread flag.
063             *
064             * @param primaryKey the primary key of this message boards thread flag
065             */
066            public void setPrimaryKey(long primaryKey);
067    
068            /**
069             * Returns the uuid of this message boards thread flag.
070             *
071             * @return the uuid of this message boards thread flag
072             */
073            @AutoEscape
074            @Override
075            public String getUuid();
076    
077            /**
078             * Sets the uuid of this message boards thread flag.
079             *
080             * @param uuid the uuid of this message boards thread flag
081             */
082            @Override
083            public void setUuid(String uuid);
084    
085            /**
086             * Returns the thread flag ID of this message boards thread flag.
087             *
088             * @return the thread flag ID of this message boards thread flag
089             */
090            public long getThreadFlagId();
091    
092            /**
093             * Sets the thread flag ID of this message boards thread flag.
094             *
095             * @param threadFlagId the thread flag ID of this message boards thread flag
096             */
097            public void setThreadFlagId(long threadFlagId);
098    
099            /**
100             * Returns the group ID of this message boards thread flag.
101             *
102             * @return the group ID of this message boards thread flag
103             */
104            @Override
105            public long getGroupId();
106    
107            /**
108             * Sets the group ID of this message boards thread flag.
109             *
110             * @param groupId the group ID of this message boards thread flag
111             */
112            @Override
113            public void setGroupId(long groupId);
114    
115            /**
116             * Returns the company ID of this message boards thread flag.
117             *
118             * @return the company ID of this message boards thread flag
119             */
120            @Override
121            public long getCompanyId();
122    
123            /**
124             * Sets the company ID of this message boards thread flag.
125             *
126             * @param companyId the company ID of this message boards thread flag
127             */
128            @Override
129            public void setCompanyId(long companyId);
130    
131            /**
132             * Returns the user ID of this message boards thread flag.
133             *
134             * @return the user ID of this message boards thread flag
135             */
136            @Override
137            public long getUserId();
138    
139            /**
140             * Sets the user ID of this message boards thread flag.
141             *
142             * @param userId the user ID of this message boards thread flag
143             */
144            @Override
145            public void setUserId(long userId);
146    
147            /**
148             * Returns the user uuid of this message boards thread flag.
149             *
150             * @return the user uuid of this message boards thread flag
151             * @throws SystemException if a system exception occurred
152             */
153            @Override
154            public String getUserUuid() throws SystemException;
155    
156            /**
157             * Sets the user uuid of this message boards thread flag.
158             *
159             * @param userUuid the user uuid of this message boards thread flag
160             */
161            @Override
162            public void setUserUuid(String userUuid);
163    
164            /**
165             * Returns the user name of this message boards thread flag.
166             *
167             * @return the user name of this message boards thread flag
168             */
169            @AutoEscape
170            @Override
171            public String getUserName();
172    
173            /**
174             * Sets the user name of this message boards thread flag.
175             *
176             * @param userName the user name of this message boards thread flag
177             */
178            @Override
179            public void setUserName(String userName);
180    
181            /**
182             * Returns the create date of this message boards thread flag.
183             *
184             * @return the create date of this message boards thread flag
185             */
186            @Override
187            public Date getCreateDate();
188    
189            /**
190             * Sets the create date of this message boards thread flag.
191             *
192             * @param createDate the create date of this message boards thread flag
193             */
194            @Override
195            public void setCreateDate(Date createDate);
196    
197            /**
198             * Returns the modified date of this message boards thread flag.
199             *
200             * @return the modified date of this message boards thread flag
201             */
202            @Override
203            public Date getModifiedDate();
204    
205            /**
206             * Sets the modified date of this message boards thread flag.
207             *
208             * @param modifiedDate the modified date of this message boards thread flag
209             */
210            @Override
211            public void setModifiedDate(Date modifiedDate);
212    
213            /**
214             * Returns the thread ID of this message boards thread flag.
215             *
216             * @return the thread ID of this message boards thread flag
217             */
218            public long getThreadId();
219    
220            /**
221             * Sets the thread ID of this message boards thread flag.
222             *
223             * @param threadId the thread ID of this message boards thread flag
224             */
225            public void setThreadId(long threadId);
226    
227            @Override
228            public boolean isNew();
229    
230            @Override
231            public void setNew(boolean n);
232    
233            @Override
234            public boolean isCachedModel();
235    
236            @Override
237            public void setCachedModel(boolean cachedModel);
238    
239            @Override
240            public boolean isEscapedModel();
241    
242            @Override
243            public Serializable getPrimaryKeyObj();
244    
245            @Override
246            public void setPrimaryKeyObj(Serializable primaryKeyObj);
247    
248            @Override
249            public ExpandoBridge getExpandoBridge();
250    
251            @Override
252            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
253    
254            @Override
255            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
256    
257            @Override
258            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
259    
260            @Override
261            public Object clone();
262    
263            @Override
264            public int compareTo(MBThreadFlag mbThreadFlag);
265    
266            @Override
267            public int hashCode();
268    
269            @Override
270            public CacheModel<MBThreadFlag> toCacheModel();
271    
272            @Override
273            public MBThreadFlag toEscapedModel();
274    
275            @Override
276            public MBThreadFlag toUnescapedModel();
277    
278            @Override
279            public String toString();
280    
281            @Override
282            public String toXmlString();
283    }