001    /**
002     * Copyright (c) 2000-present 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.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.model.StagedGroupedModel;
023    import com.liferay.portal.service.ServiceContext;
024    
025    import com.liferay.portlet.expando.model.ExpandoBridge;
026    
027    import java.io.Serializable;
028    
029    import java.util.Date;
030    
031    /**
032     * 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.
033     *
034     * <p>
035     * 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}.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see MBThreadFlag
040     * @see com.liferay.portlet.messageboards.model.impl.MBThreadFlagImpl
041     * @see com.liferay.portlet.messageboards.model.impl.MBThreadFlagModelImpl
042     * @generated
043     */
044    @ProviderType
045    public interface MBThreadFlagModel extends BaseModel<MBThreadFlag>,
046            StagedGroupedModel {
047            /*
048             * NOTE FOR DEVELOPERS:
049             *
050             * 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.
051             */
052    
053            /**
054             * Returns the primary key of this message boards thread flag.
055             *
056             * @return the primary key of this message boards thread flag
057             */
058            public long getPrimaryKey();
059    
060            /**
061             * Sets the primary key of this message boards thread flag.
062             *
063             * @param primaryKey the primary key of this message boards thread flag
064             */
065            public void setPrimaryKey(long primaryKey);
066    
067            /**
068             * Returns the uuid of this message boards thread flag.
069             *
070             * @return the uuid of this message boards thread flag
071             */
072            @AutoEscape
073            @Override
074            public String getUuid();
075    
076            /**
077             * Sets the uuid of this message boards thread flag.
078             *
079             * @param uuid the uuid of this message boards thread flag
080             */
081            @Override
082            public void setUuid(String uuid);
083    
084            /**
085             * Returns the thread flag ID of this message boards thread flag.
086             *
087             * @return the thread flag ID of this message boards thread flag
088             */
089            public long getThreadFlagId();
090    
091            /**
092             * Sets the thread flag ID of this message boards thread flag.
093             *
094             * @param threadFlagId the thread flag ID of this message boards thread flag
095             */
096            public void setThreadFlagId(long threadFlagId);
097    
098            /**
099             * Returns the group ID of this message boards thread flag.
100             *
101             * @return the group ID of this message boards thread flag
102             */
103            @Override
104            public long getGroupId();
105    
106            /**
107             * Sets the group ID of this message boards thread flag.
108             *
109             * @param groupId the group ID of this message boards thread flag
110             */
111            @Override
112            public void setGroupId(long groupId);
113    
114            /**
115             * Returns the company ID of this message boards thread flag.
116             *
117             * @return the company ID of this message boards thread flag
118             */
119            @Override
120            public long getCompanyId();
121    
122            /**
123             * Sets the company ID of this message boards thread flag.
124             *
125             * @param companyId the company ID of this message boards thread flag
126             */
127            @Override
128            public void setCompanyId(long companyId);
129    
130            /**
131             * Returns the user ID of this message boards thread flag.
132             *
133             * @return the user ID of this message boards thread flag
134             */
135            @Override
136            public long getUserId();
137    
138            /**
139             * Sets the user ID of this message boards thread flag.
140             *
141             * @param userId the user ID of this message boards thread flag
142             */
143            @Override
144            public void setUserId(long userId);
145    
146            /**
147             * Returns the user uuid of this message boards thread flag.
148             *
149             * @return the user uuid of this message boards thread flag
150             */
151            @Override
152            public String getUserUuid();
153    
154            /**
155             * Sets the user uuid of this message boards thread flag.
156             *
157             * @param userUuid the user uuid of this message boards thread flag
158             */
159            @Override
160            public void setUserUuid(String userUuid);
161    
162            /**
163             * Returns the user name of this message boards thread flag.
164             *
165             * @return the user name of this message boards thread flag
166             */
167            @AutoEscape
168            @Override
169            public String getUserName();
170    
171            /**
172             * Sets the user name of this message boards thread flag.
173             *
174             * @param userName the user name of this message boards thread flag
175             */
176            @Override
177            public void setUserName(String userName);
178    
179            /**
180             * Returns the create date of this message boards thread flag.
181             *
182             * @return the create date of this message boards thread flag
183             */
184            @Override
185            public Date getCreateDate();
186    
187            /**
188             * Sets the create date of this message boards thread flag.
189             *
190             * @param createDate the create date of this message boards thread flag
191             */
192            @Override
193            public void setCreateDate(Date createDate);
194    
195            /**
196             * Returns the modified date of this message boards thread flag.
197             *
198             * @return the modified date of this message boards thread flag
199             */
200            @Override
201            public Date getModifiedDate();
202    
203            /**
204             * Sets the modified date of this message boards thread flag.
205             *
206             * @param modifiedDate the modified date of this message boards thread flag
207             */
208            @Override
209            public void setModifiedDate(Date modifiedDate);
210    
211            /**
212             * Returns the thread ID of this message boards thread flag.
213             *
214             * @return the thread ID of this message boards thread flag
215             */
216            public long getThreadId();
217    
218            /**
219             * Sets the thread ID of this message boards thread flag.
220             *
221             * @param threadId the thread ID of this message boards thread flag
222             */
223            public void setThreadId(long threadId);
224    
225            /**
226             * Returns the last publish date of this message boards thread flag.
227             *
228             * @return the last publish date of this message boards thread flag
229             */
230            @Override
231            public Date getLastPublishDate();
232    
233            /**
234             * Sets the last publish date of this message boards thread flag.
235             *
236             * @param lastPublishDate the last publish date of this message boards thread flag
237             */
238            @Override
239            public void setLastPublishDate(Date lastPublishDate);
240    
241            @Override
242            public boolean isNew();
243    
244            @Override
245            public void setNew(boolean n);
246    
247            @Override
248            public boolean isCachedModel();
249    
250            @Override
251            public void setCachedModel(boolean cachedModel);
252    
253            @Override
254            public boolean isEscapedModel();
255    
256            @Override
257            public Serializable getPrimaryKeyObj();
258    
259            @Override
260            public void setPrimaryKeyObj(Serializable primaryKeyObj);
261    
262            @Override
263            public ExpandoBridge getExpandoBridge();
264    
265            @Override
266            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
267    
268            @Override
269            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
270    
271            @Override
272            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
273    
274            @Override
275            public Object clone();
276    
277            @Override
278            public int compareTo(
279                    com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag);
280    
281            @Override
282            public int hashCode();
283    
284            @Override
285            public CacheModel<com.liferay.portlet.messageboards.model.MBThreadFlag> toCacheModel();
286    
287            @Override
288            public com.liferay.portlet.messageboards.model.MBThreadFlag toEscapedModel();
289    
290            @Override
291            public com.liferay.portlet.messageboards.model.MBThreadFlag toUnescapedModel();
292    
293            @Override
294            public String toString();
295    
296            @Override
297            public String toXmlString();
298    }