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