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