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