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