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