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