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.journal.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 JournalFeed service. Represents a row in the "JournalFeed" 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.journal.model.impl.JournalFeedModelImpl} 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.journal.model.impl.JournalFeedImpl}.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see JournalFeed
039     * @see com.liferay.portlet.journal.model.impl.JournalFeedImpl
040     * @see com.liferay.portlet.journal.model.impl.JournalFeedModelImpl
041     * @generated
042     */
043    public interface JournalFeedModel extends BaseModel<JournalFeed>, GroupedModel {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a journal feed model instance should use the {@link JournalFeed} interface instead.
048             */
049    
050            /**
051             * Returns the primary key of this journal feed.
052             *
053             * @return the primary key of this journal feed
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this journal feed.
059             *
060             * @param primaryKey the primary key of this journal feed
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Returns the uuid of this journal feed.
066             *
067             * @return the uuid of this journal feed
068             */
069            @AutoEscape
070            public String getUuid();
071    
072            /**
073             * Sets the uuid of this journal feed.
074             *
075             * @param uuid the uuid of this journal feed
076             */
077            public void setUuid(String uuid);
078    
079            /**
080             * Returns the ID of this journal feed.
081             *
082             * @return the ID of this journal feed
083             */
084            public long getId();
085    
086            /**
087             * Sets the ID of this journal feed.
088             *
089             * @param id the ID of this journal feed
090             */
091            public void setId(long id);
092    
093            /**
094             * Returns the group ID of this journal feed.
095             *
096             * @return the group ID of this journal feed
097             */
098            public long getGroupId();
099    
100            /**
101             * Sets the group ID of this journal feed.
102             *
103             * @param groupId the group ID of this journal feed
104             */
105            public void setGroupId(long groupId);
106    
107            /**
108             * Returns the company ID of this journal feed.
109             *
110             * @return the company ID of this journal feed
111             */
112            public long getCompanyId();
113    
114            /**
115             * Sets the company ID of this journal feed.
116             *
117             * @param companyId the company ID of this journal feed
118             */
119            public void setCompanyId(long companyId);
120    
121            /**
122             * Returns the user ID of this journal feed.
123             *
124             * @return the user ID of this journal feed
125             */
126            public long getUserId();
127    
128            /**
129             * Sets the user ID of this journal feed.
130             *
131             * @param userId the user ID of this journal feed
132             */
133            public void setUserId(long userId);
134    
135            /**
136             * Returns the user uuid of this journal feed.
137             *
138             * @return the user uuid of this journal feed
139             * @throws SystemException if a system exception occurred
140             */
141            public String getUserUuid() throws SystemException;
142    
143            /**
144             * Sets the user uuid of this journal feed.
145             *
146             * @param userUuid the user uuid of this journal feed
147             */
148            public void setUserUuid(String userUuid);
149    
150            /**
151             * Returns the user name of this journal feed.
152             *
153             * @return the user name of this journal feed
154             */
155            @AutoEscape
156            public String getUserName();
157    
158            /**
159             * Sets the user name of this journal feed.
160             *
161             * @param userName the user name of this journal feed
162             */
163            public void setUserName(String userName);
164    
165            /**
166             * Returns the create date of this journal feed.
167             *
168             * @return the create date of this journal feed
169             */
170            public Date getCreateDate();
171    
172            /**
173             * Sets the create date of this journal feed.
174             *
175             * @param createDate the create date of this journal feed
176             */
177            public void setCreateDate(Date createDate);
178    
179            /**
180             * Returns the modified date of this journal feed.
181             *
182             * @return the modified date of this journal feed
183             */
184            public Date getModifiedDate();
185    
186            /**
187             * Sets the modified date of this journal feed.
188             *
189             * @param modifiedDate the modified date of this journal feed
190             */
191            public void setModifiedDate(Date modifiedDate);
192    
193            /**
194             * Returns the feed ID of this journal feed.
195             *
196             * @return the feed ID of this journal feed
197             */
198            public String getFeedId();
199    
200            /**
201             * Sets the feed ID of this journal feed.
202             *
203             * @param feedId the feed ID of this journal feed
204             */
205            public void setFeedId(String feedId);
206    
207            /**
208             * Returns the name of this journal feed.
209             *
210             * @return the name of this journal feed
211             */
212            @AutoEscape
213            public String getName();
214    
215            /**
216             * Sets the name of this journal feed.
217             *
218             * @param name the name of this journal feed
219             */
220            public void setName(String name);
221    
222            /**
223             * Returns the description of this journal feed.
224             *
225             * @return the description of this journal feed
226             */
227            @AutoEscape
228            public String getDescription();
229    
230            /**
231             * Sets the description of this journal feed.
232             *
233             * @param description the description of this journal feed
234             */
235            public void setDescription(String description);
236    
237            /**
238             * Returns the type of this journal feed.
239             *
240             * @return the type of this journal feed
241             */
242            @AutoEscape
243            public String getType();
244    
245            /**
246             * Sets the type of this journal feed.
247             *
248             * @param type the type of this journal feed
249             */
250            public void setType(String type);
251    
252            /**
253             * Returns the structure ID of this journal feed.
254             *
255             * @return the structure ID of this journal feed
256             */
257            public String getStructureId();
258    
259            /**
260             * Sets the structure ID of this journal feed.
261             *
262             * @param structureId the structure ID of this journal feed
263             */
264            public void setStructureId(String structureId);
265    
266            /**
267             * Returns the template ID of this journal feed.
268             *
269             * @return the template ID of this journal feed
270             */
271            public String getTemplateId();
272    
273            /**
274             * Sets the template ID of this journal feed.
275             *
276             * @param templateId the template ID of this journal feed
277             */
278            public void setTemplateId(String templateId);
279    
280            /**
281             * Returns the renderer template ID of this journal feed.
282             *
283             * @return the renderer template ID of this journal feed
284             */
285            @AutoEscape
286            public String getRendererTemplateId();
287    
288            /**
289             * Sets the renderer template ID of this journal feed.
290             *
291             * @param rendererTemplateId the renderer template ID of this journal feed
292             */
293            public void setRendererTemplateId(String rendererTemplateId);
294    
295            /**
296             * Returns the delta of this journal feed.
297             *
298             * @return the delta of this journal feed
299             */
300            public int getDelta();
301    
302            /**
303             * Sets the delta of this journal feed.
304             *
305             * @param delta the delta of this journal feed
306             */
307            public void setDelta(int delta);
308    
309            /**
310             * Returns the order by col of this journal feed.
311             *
312             * @return the order by col of this journal feed
313             */
314            @AutoEscape
315            public String getOrderByCol();
316    
317            /**
318             * Sets the order by col of this journal feed.
319             *
320             * @param orderByCol the order by col of this journal feed
321             */
322            public void setOrderByCol(String orderByCol);
323    
324            /**
325             * Returns the order by type of this journal feed.
326             *
327             * @return the order by type of this journal feed
328             */
329            @AutoEscape
330            public String getOrderByType();
331    
332            /**
333             * Sets the order by type of this journal feed.
334             *
335             * @param orderByType the order by type of this journal feed
336             */
337            public void setOrderByType(String orderByType);
338    
339            /**
340             * Returns the target layout friendly url of this journal feed.
341             *
342             * @return the target layout friendly url of this journal feed
343             */
344            @AutoEscape
345            public String getTargetLayoutFriendlyUrl();
346    
347            /**
348             * Sets the target layout friendly url of this journal feed.
349             *
350             * @param targetLayoutFriendlyUrl the target layout friendly url of this journal feed
351             */
352            public void setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl);
353    
354            /**
355             * Returns the target portlet ID of this journal feed.
356             *
357             * @return the target portlet ID of this journal feed
358             */
359            @AutoEscape
360            public String getTargetPortletId();
361    
362            /**
363             * Sets the target portlet ID of this journal feed.
364             *
365             * @param targetPortletId the target portlet ID of this journal feed
366             */
367            public void setTargetPortletId(String targetPortletId);
368    
369            /**
370             * Returns the content field of this journal feed.
371             *
372             * @return the content field of this journal feed
373             */
374            @AutoEscape
375            public String getContentField();
376    
377            /**
378             * Sets the content field of this journal feed.
379             *
380             * @param contentField the content field of this journal feed
381             */
382            public void setContentField(String contentField);
383    
384            /**
385             * Returns the feed type of this journal feed.
386             *
387             * @return the feed type of this journal feed
388             */
389            @AutoEscape
390            public String getFeedType();
391    
392            /**
393             * Sets the feed type of this journal feed.
394             *
395             * @param feedType the feed type of this journal feed
396             */
397            public void setFeedType(String feedType);
398    
399            /**
400             * Returns the feed version of this journal feed.
401             *
402             * @return the feed version of this journal feed
403             */
404            public double getFeedVersion();
405    
406            /**
407             * Sets the feed version of this journal feed.
408             *
409             * @param feedVersion the feed version of this journal feed
410             */
411            public void setFeedVersion(double feedVersion);
412    
413            public boolean isNew();
414    
415            public void setNew(boolean n);
416    
417            public boolean isCachedModel();
418    
419            public void setCachedModel(boolean cachedModel);
420    
421            public boolean isEscapedModel();
422    
423            public Serializable getPrimaryKeyObj();
424    
425            public void setPrimaryKeyObj(Serializable primaryKeyObj);
426    
427            public ExpandoBridge getExpandoBridge();
428    
429            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
430    
431            public Object clone();
432    
433            public int compareTo(JournalFeed journalFeed);
434    
435            public int hashCode();
436    
437            public CacheModel<JournalFeed> toCacheModel();
438    
439            public JournalFeed toEscapedModel();
440    
441            public JournalFeed toUnescapedModel();
442    
443            public String toString();
444    
445            public String toXmlString();
446    }