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.AttachedModel;
021    import com.liferay.portal.model.BaseModel;
022    import com.liferay.portal.model.CacheModel;
023    import com.liferay.portal.model.ShardedModel;
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            ShardedModel, 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             */
153            @Override
154            public String getUserUuid();
155    
156            /**
157             * Sets the user uuid of this message boards discussion.
158             *
159             * @param userUuid the user uuid of this message boards discussion
160             */
161            @Override
162            public void setUserUuid(String userUuid);
163    
164            /**
165             * Returns the user name of this message boards discussion.
166             *
167             * @return the user name of this message boards discussion
168             */
169            @AutoEscape
170            @Override
171            public String getUserName();
172    
173            /**
174             * Sets the user name of this message boards discussion.
175             *
176             * @param userName the user name of this message boards discussion
177             */
178            @Override
179            public void setUserName(String userName);
180    
181            /**
182             * Returns the create date of this message boards discussion.
183             *
184             * @return the create date of this message boards discussion
185             */
186            @Override
187            public Date getCreateDate();
188    
189            /**
190             * Sets the create date of this message boards discussion.
191             *
192             * @param createDate the create date of this message boards discussion
193             */
194            @Override
195            public void setCreateDate(Date createDate);
196    
197            /**
198             * Returns the modified date of this message boards discussion.
199             *
200             * @return the modified date of this message boards discussion
201             */
202            @Override
203            public Date getModifiedDate();
204    
205            /**
206             * Sets the modified date of this message boards discussion.
207             *
208             * @param modifiedDate the modified date of this message boards discussion
209             */
210            @Override
211            public void setModifiedDate(Date modifiedDate);
212    
213            /**
214             * Returns the fully qualified class name of this message boards discussion.
215             *
216             * @return the fully qualified class name of this message boards discussion
217             */
218            @Override
219            public String getClassName();
220    
221            public void setClassName(String className);
222    
223            /**
224             * Returns the class name ID of this message boards discussion.
225             *
226             * @return the class name ID of this message boards discussion
227             */
228            @Override
229            public long getClassNameId();
230    
231            /**
232             * Sets the class name ID of this message boards discussion.
233             *
234             * @param classNameId the class name ID of this message boards discussion
235             */
236            @Override
237            public void setClassNameId(long classNameId);
238    
239            /**
240             * Returns the class p k of this message boards discussion.
241             *
242             * @return the class p k of this message boards discussion
243             */
244            @Override
245            public long getClassPK();
246    
247            /**
248             * Sets the class p k of this message boards discussion.
249             *
250             * @param classPK the class p k of this message boards discussion
251             */
252            @Override
253            public void setClassPK(long classPK);
254    
255            /**
256             * Returns the thread ID of this message boards discussion.
257             *
258             * @return the thread ID of this message boards discussion
259             */
260            public long getThreadId();
261    
262            /**
263             * Sets the thread ID of this message boards discussion.
264             *
265             * @param threadId the thread ID of this message boards discussion
266             */
267            public void setThreadId(long threadId);
268    
269            /**
270             * Returns the last publish date of this message boards discussion.
271             *
272             * @return the last publish date of this message boards discussion
273             */
274            @Override
275            public Date getLastPublishDate();
276    
277            /**
278             * Sets the last publish date of this message boards discussion.
279             *
280             * @param lastPublishDate the last publish date of this message boards discussion
281             */
282            @Override
283            public void setLastPublishDate(Date lastPublishDate);
284    
285            @Override
286            public boolean isNew();
287    
288            @Override
289            public void setNew(boolean n);
290    
291            @Override
292            public boolean isCachedModel();
293    
294            @Override
295            public void setCachedModel(boolean cachedModel);
296    
297            @Override
298            public boolean isEscapedModel();
299    
300            @Override
301            public Serializable getPrimaryKeyObj();
302    
303            @Override
304            public void setPrimaryKeyObj(Serializable primaryKeyObj);
305    
306            @Override
307            public ExpandoBridge getExpandoBridge();
308    
309            @Override
310            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
311    
312            @Override
313            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
314    
315            @Override
316            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
317    
318            @Override
319            public Object clone();
320    
321            @Override
322            public int compareTo(
323                    com.liferay.portlet.messageboards.model.MBDiscussion mbDiscussion);
324    
325            @Override
326            public int hashCode();
327    
328            @Override
329            public CacheModel<com.liferay.portlet.messageboards.model.MBDiscussion> toCacheModel();
330    
331            @Override
332            public com.liferay.portlet.messageboards.model.MBDiscussion toEscapedModel();
333    
334            @Override
335            public com.liferay.portlet.messageboards.model.MBDiscussion toUnescapedModel();
336    
337            @Override
338            public String toString();
339    
340            @Override
341            public String toXmlString();
342    }