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.AttachedModel;
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 MBDiscussion service. Represents a row in the "MBDiscussion" 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.MBDiscussionModelImpl} 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.MBDiscussionImpl}.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see MBDiscussion
040     * @see com.liferay.portlet.messageboards.model.impl.MBDiscussionImpl
041     * @see com.liferay.portlet.messageboards.model.impl.MBDiscussionModelImpl
042     * @generated
043     */
044    public interface MBDiscussionModel extends AttachedModel, BaseModel<MBDiscussion>,
045            StagedGroupedModel {
046            /*
047             * NOTE FOR DEVELOPERS:
048             *
049             * Never modify or reference this interface directly. All methods that expect a message boards discussion model instance should use the {@link MBDiscussion} interface instead.
050             */
051    
052            /**
053             * Returns the primary key of this message boards discussion.
054             *
055             * @return the primary key of this message boards discussion
056             */
057            public long getPrimaryKey();
058    
059            /**
060             * Sets the primary key of this message boards discussion.
061             *
062             * @param primaryKey the primary key of this message boards discussion
063             */
064            public void setPrimaryKey(long primaryKey);
065    
066            /**
067             * Returns the uuid of this message boards discussion.
068             *
069             * @return the uuid of this message boards discussion
070             */
071            @AutoEscape
072            @Override
073            public String getUuid();
074    
075            /**
076             * Sets the uuid of this message boards discussion.
077             *
078             * @param uuid the uuid of this message boards discussion
079             */
080            @Override
081            public void setUuid(String uuid);
082    
083            /**
084             * Returns the discussion ID of this message boards discussion.
085             *
086             * @return the discussion ID of this message boards discussion
087             */
088            public long getDiscussionId();
089    
090            /**
091             * Sets the discussion ID of this message boards discussion.
092             *
093             * @param discussionId the discussion ID of this message boards discussion
094             */
095            public void setDiscussionId(long discussionId);
096    
097            /**
098             * Returns the group ID of this message boards discussion.
099             *
100             * @return the group ID of this message boards discussion
101             */
102            @Override
103            public long getGroupId();
104    
105            /**
106             * Sets the group ID of this message boards discussion.
107             *
108             * @param groupId the group ID of this message boards discussion
109             */
110            @Override
111            public void setGroupId(long groupId);
112    
113            /**
114             * Returns the company ID of this message boards discussion.
115             *
116             * @return the company ID of this message boards discussion
117             */
118            @Override
119            public long getCompanyId();
120    
121            /**
122             * Sets the company ID of this message boards discussion.
123             *
124             * @param companyId the company ID of this message boards discussion
125             */
126            @Override
127            public void setCompanyId(long companyId);
128    
129            /**
130             * Returns the user ID of this message boards discussion.
131             *
132             * @return the user ID of this message boards discussion
133             */
134            @Override
135            public long getUserId();
136    
137            /**
138             * Sets the user ID of this message boards discussion.
139             *
140             * @param userId the user ID of this message boards discussion
141             */
142            @Override
143            public void setUserId(long userId);
144    
145            /**
146             * Returns the user uuid of this message boards discussion.
147             *
148             * @return the user uuid of this message boards discussion
149             * @throws SystemException if a system exception occurred
150             */
151            @Override
152            public String getUserUuid() throws SystemException;
153    
154            /**
155             * Sets the user uuid of this message boards discussion.
156             *
157             * @param userUuid the user uuid of this message boards discussion
158             */
159            @Override
160            public void setUserUuid(String userUuid);
161    
162            /**
163             * Returns the user name of this message boards discussion.
164             *
165             * @return the user name of this message boards discussion
166             */
167            @AutoEscape
168            @Override
169            public String getUserName();
170    
171            /**
172             * Sets the user name of this message boards discussion.
173             *
174             * @param userName the user name of this message boards discussion
175             */
176            @Override
177            public void setUserName(String userName);
178    
179            /**
180             * Returns the create date of this message boards discussion.
181             *
182             * @return the create date of this message boards discussion
183             */
184            @Override
185            public Date getCreateDate();
186    
187            /**
188             * Sets the create date of this message boards discussion.
189             *
190             * @param createDate the create date of this message boards discussion
191             */
192            @Override
193            public void setCreateDate(Date createDate);
194    
195            /**
196             * Returns the modified date of this message boards discussion.
197             *
198             * @return the modified date of this message boards discussion
199             */
200            @Override
201            public Date getModifiedDate();
202    
203            /**
204             * Sets the modified date of this message boards discussion.
205             *
206             * @param modifiedDate the modified date of this message boards discussion
207             */
208            @Override
209            public void setModifiedDate(Date modifiedDate);
210    
211            /**
212             * Returns the fully qualified class name of this message boards discussion.
213             *
214             * @return the fully qualified class name of this message boards discussion
215             */
216            @Override
217            public String getClassName();
218    
219            public void setClassName(String className);
220    
221            /**
222             * Returns the class name ID of this message boards discussion.
223             *
224             * @return the class name ID of this message boards discussion
225             */
226            @Override
227            public long getClassNameId();
228    
229            /**
230             * Sets the class name ID of this message boards discussion.
231             *
232             * @param classNameId the class name ID of this message boards discussion
233             */
234            @Override
235            public void setClassNameId(long classNameId);
236    
237            /**
238             * Returns the class p k of this message boards discussion.
239             *
240             * @return the class p k of this message boards discussion
241             */
242            @Override
243            public long getClassPK();
244    
245            /**
246             * Sets the class p k of this message boards discussion.
247             *
248             * @param classPK the class p k of this message boards discussion
249             */
250            @Override
251            public void setClassPK(long classPK);
252    
253            /**
254             * Returns the thread ID of this message boards discussion.
255             *
256             * @return the thread ID of this message boards discussion
257             */
258            public long getThreadId();
259    
260            /**
261             * Sets the thread ID of this message boards discussion.
262             *
263             * @param threadId the thread ID of this message boards discussion
264             */
265            public void setThreadId(long threadId);
266    
267            @Override
268            public boolean isNew();
269    
270            @Override
271            public void setNew(boolean n);
272    
273            @Override
274            public boolean isCachedModel();
275    
276            @Override
277            public void setCachedModel(boolean cachedModel);
278    
279            @Override
280            public boolean isEscapedModel();
281    
282            @Override
283            public Serializable getPrimaryKeyObj();
284    
285            @Override
286            public void setPrimaryKeyObj(Serializable primaryKeyObj);
287    
288            @Override
289            public ExpandoBridge getExpandoBridge();
290    
291            @Override
292            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
293    
294            @Override
295            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
296    
297            @Override
298            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
299    
300            @Override
301            public Object clone();
302    
303            @Override
304            public int compareTo(MBDiscussion mbDiscussion);
305    
306            @Override
307            public int hashCode();
308    
309            @Override
310            public CacheModel<MBDiscussion> toCacheModel();
311    
312            @Override
313            public MBDiscussion toEscapedModel();
314    
315            @Override
316            public MBDiscussion toUnescapedModel();
317    
318            @Override
319            public String toString();
320    
321            @Override
322            public String toXmlString();
323    }