001    /**
002     * Copyright (c) 2000-2012 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.blogs.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.model.StagedModel;
023    import com.liferay.portal.model.WorkflowedModel;
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 BlogsEntry service. Represents a row in the "BlogsEntry" 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.blogs.model.impl.BlogsEntryModelImpl} 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.blogs.model.impl.BlogsEntryImpl}.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see BlogsEntry
041     * @see com.liferay.portlet.blogs.model.impl.BlogsEntryImpl
042     * @see com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl
043     * @generated
044     */
045    public interface BlogsEntryModel extends BaseModel<BlogsEntry>, GroupedModel,
046            StagedModel, WorkflowedModel {
047            /*
048             * NOTE FOR DEVELOPERS:
049             *
050             * Never modify or reference this interface directly. All methods that expect a blogs entry model instance should use the {@link BlogsEntry} interface instead.
051             */
052    
053            /**
054             * Returns the primary key of this blogs entry.
055             *
056             * @return the primary key of this blogs entry
057             */
058            public long getPrimaryKey();
059    
060            /**
061             * Sets the primary key of this blogs entry.
062             *
063             * @param primaryKey the primary key of this blogs entry
064             */
065            public void setPrimaryKey(long primaryKey);
066    
067            /**
068             * Returns the uuid of this blogs entry.
069             *
070             * @return the uuid of this blogs entry
071             */
072            @AutoEscape
073            public String getUuid();
074    
075            /**
076             * Sets the uuid of this blogs entry.
077             *
078             * @param uuid the uuid of this blogs entry
079             */
080            public void setUuid(String uuid);
081    
082            /**
083             * Returns the entry ID of this blogs entry.
084             *
085             * @return the entry ID of this blogs entry
086             */
087            public long getEntryId();
088    
089            /**
090             * Sets the entry ID of this blogs entry.
091             *
092             * @param entryId the entry ID of this blogs entry
093             */
094            public void setEntryId(long entryId);
095    
096            /**
097             * Returns the group ID of this blogs entry.
098             *
099             * @return the group ID of this blogs entry
100             */
101            public long getGroupId();
102    
103            /**
104             * Sets the group ID of this blogs entry.
105             *
106             * @param groupId the group ID of this blogs entry
107             */
108            public void setGroupId(long groupId);
109    
110            /**
111             * Returns the company ID of this blogs entry.
112             *
113             * @return the company ID of this blogs entry
114             */
115            public long getCompanyId();
116    
117            /**
118             * Sets the company ID of this blogs entry.
119             *
120             * @param companyId the company ID of this blogs entry
121             */
122            public void setCompanyId(long companyId);
123    
124            /**
125             * Returns the user ID of this blogs entry.
126             *
127             * @return the user ID of this blogs entry
128             */
129            public long getUserId();
130    
131            /**
132             * Sets the user ID of this blogs entry.
133             *
134             * @param userId the user ID of this blogs entry
135             */
136            public void setUserId(long userId);
137    
138            /**
139             * Returns the user uuid of this blogs entry.
140             *
141             * @return the user uuid of this blogs entry
142             * @throws SystemException if a system exception occurred
143             */
144            public String getUserUuid() throws SystemException;
145    
146            /**
147             * Sets the user uuid of this blogs entry.
148             *
149             * @param userUuid the user uuid of this blogs entry
150             */
151            public void setUserUuid(String userUuid);
152    
153            /**
154             * Returns the user name of this blogs entry.
155             *
156             * @return the user name of this blogs entry
157             */
158            @AutoEscape
159            public String getUserName();
160    
161            /**
162             * Sets the user name of this blogs entry.
163             *
164             * @param userName the user name of this blogs entry
165             */
166            public void setUserName(String userName);
167    
168            /**
169             * Returns the create date of this blogs entry.
170             *
171             * @return the create date of this blogs entry
172             */
173            public Date getCreateDate();
174    
175            /**
176             * Sets the create date of this blogs entry.
177             *
178             * @param createDate the create date of this blogs entry
179             */
180            public void setCreateDate(Date createDate);
181    
182            /**
183             * Returns the modified date of this blogs entry.
184             *
185             * @return the modified date of this blogs entry
186             */
187            public Date getModifiedDate();
188    
189            /**
190             * Sets the modified date of this blogs entry.
191             *
192             * @param modifiedDate the modified date of this blogs entry
193             */
194            public void setModifiedDate(Date modifiedDate);
195    
196            /**
197             * Returns the title of this blogs entry.
198             *
199             * @return the title of this blogs entry
200             */
201            @AutoEscape
202            public String getTitle();
203    
204            /**
205             * Sets the title of this blogs entry.
206             *
207             * @param title the title of this blogs entry
208             */
209            public void setTitle(String title);
210    
211            /**
212             * Returns the url title of this blogs entry.
213             *
214             * @return the url title of this blogs entry
215             */
216            @AutoEscape
217            public String getUrlTitle();
218    
219            /**
220             * Sets the url title of this blogs entry.
221             *
222             * @param urlTitle the url title of this blogs entry
223             */
224            public void setUrlTitle(String urlTitle);
225    
226            /**
227             * Returns the description of this blogs entry.
228             *
229             * @return the description of this blogs entry
230             */
231            @AutoEscape
232            public String getDescription();
233    
234            /**
235             * Sets the description of this blogs entry.
236             *
237             * @param description the description of this blogs entry
238             */
239            public void setDescription(String description);
240    
241            /**
242             * Returns the content of this blogs entry.
243             *
244             * @return the content of this blogs entry
245             */
246            @AutoEscape
247            public String getContent();
248    
249            /**
250             * Sets the content of this blogs entry.
251             *
252             * @param content the content of this blogs entry
253             */
254            public void setContent(String content);
255    
256            /**
257             * Returns the display date of this blogs entry.
258             *
259             * @return the display date of this blogs entry
260             */
261            public Date getDisplayDate();
262    
263            /**
264             * Sets the display date of this blogs entry.
265             *
266             * @param displayDate the display date of this blogs entry
267             */
268            public void setDisplayDate(Date displayDate);
269    
270            /**
271             * Returns the allow pingbacks of this blogs entry.
272             *
273             * @return the allow pingbacks of this blogs entry
274             */
275            public boolean getAllowPingbacks();
276    
277            /**
278             * Returns <code>true</code> if this blogs entry is allow pingbacks.
279             *
280             * @return <code>true</code> if this blogs entry is allow pingbacks; <code>false</code> otherwise
281             */
282            public boolean isAllowPingbacks();
283    
284            /**
285             * Sets whether this blogs entry is allow pingbacks.
286             *
287             * @param allowPingbacks the allow pingbacks of this blogs entry
288             */
289            public void setAllowPingbacks(boolean allowPingbacks);
290    
291            /**
292             * Returns the allow trackbacks of this blogs entry.
293             *
294             * @return the allow trackbacks of this blogs entry
295             */
296            public boolean getAllowTrackbacks();
297    
298            /**
299             * Returns <code>true</code> if this blogs entry is allow trackbacks.
300             *
301             * @return <code>true</code> if this blogs entry is allow trackbacks; <code>false</code> otherwise
302             */
303            public boolean isAllowTrackbacks();
304    
305            /**
306             * Sets whether this blogs entry is allow trackbacks.
307             *
308             * @param allowTrackbacks the allow trackbacks of this blogs entry
309             */
310            public void setAllowTrackbacks(boolean allowTrackbacks);
311    
312            /**
313             * Returns the trackbacks of this blogs entry.
314             *
315             * @return the trackbacks of this blogs entry
316             */
317            @AutoEscape
318            public String getTrackbacks();
319    
320            /**
321             * Sets the trackbacks of this blogs entry.
322             *
323             * @param trackbacks the trackbacks of this blogs entry
324             */
325            public void setTrackbacks(String trackbacks);
326    
327            /**
328             * Returns the small image of this blogs entry.
329             *
330             * @return the small image of this blogs entry
331             */
332            public boolean getSmallImage();
333    
334            /**
335             * Returns <code>true</code> if this blogs entry is small image.
336             *
337             * @return <code>true</code> if this blogs entry is small image; <code>false</code> otherwise
338             */
339            public boolean isSmallImage();
340    
341            /**
342             * Sets whether this blogs entry is small image.
343             *
344             * @param smallImage the small image of this blogs entry
345             */
346            public void setSmallImage(boolean smallImage);
347    
348            /**
349             * Returns the small image ID of this blogs entry.
350             *
351             * @return the small image ID of this blogs entry
352             */
353            public long getSmallImageId();
354    
355            /**
356             * Sets the small image ID of this blogs entry.
357             *
358             * @param smallImageId the small image ID of this blogs entry
359             */
360            public void setSmallImageId(long smallImageId);
361    
362            /**
363             * Returns the small image u r l of this blogs entry.
364             *
365             * @return the small image u r l of this blogs entry
366             */
367            @AutoEscape
368            public String getSmallImageURL();
369    
370            /**
371             * Sets the small image u r l of this blogs entry.
372             *
373             * @param smallImageURL the small image u r l of this blogs entry
374             */
375            public void setSmallImageURL(String smallImageURL);
376    
377            /**
378             * Returns the status of this blogs entry.
379             *
380             * @return the status of this blogs entry
381             */
382            public int getStatus();
383    
384            /**
385             * Sets the status of this blogs entry.
386             *
387             * @param status the status of this blogs entry
388             */
389            public void setStatus(int status);
390    
391            /**
392             * Returns the status by user ID of this blogs entry.
393             *
394             * @return the status by user ID of this blogs entry
395             */
396            public long getStatusByUserId();
397    
398            /**
399             * Sets the status by user ID of this blogs entry.
400             *
401             * @param statusByUserId the status by user ID of this blogs entry
402             */
403            public void setStatusByUserId(long statusByUserId);
404    
405            /**
406             * Returns the status by user uuid of this blogs entry.
407             *
408             * @return the status by user uuid of this blogs entry
409             * @throws SystemException if a system exception occurred
410             */
411            public String getStatusByUserUuid() throws SystemException;
412    
413            /**
414             * Sets the status by user uuid of this blogs entry.
415             *
416             * @param statusByUserUuid the status by user uuid of this blogs entry
417             */
418            public void setStatusByUserUuid(String statusByUserUuid);
419    
420            /**
421             * Returns the status by user name of this blogs entry.
422             *
423             * @return the status by user name of this blogs entry
424             */
425            @AutoEscape
426            public String getStatusByUserName();
427    
428            /**
429             * Sets the status by user name of this blogs entry.
430             *
431             * @param statusByUserName the status by user name of this blogs entry
432             */
433            public void setStatusByUserName(String statusByUserName);
434    
435            /**
436             * Returns the status date of this blogs entry.
437             *
438             * @return the status date of this blogs entry
439             */
440            public Date getStatusDate();
441    
442            /**
443             * Sets the status date of this blogs entry.
444             *
445             * @param statusDate the status date of this blogs entry
446             */
447            public void setStatusDate(Date statusDate);
448    
449            /**
450             * @deprecated Renamed to {@link #isApproved()}
451             */
452            public boolean getApproved();
453    
454            /**
455             * Returns <code>true</code> if this blogs entry is approved.
456             *
457             * @return <code>true</code> if this blogs entry is approved; <code>false</code> otherwise
458             */
459            public boolean isApproved();
460    
461            /**
462             * Returns <code>true</code> if this blogs entry is denied.
463             *
464             * @return <code>true</code> if this blogs entry is denied; <code>false</code> otherwise
465             */
466            public boolean isDenied();
467    
468            /**
469             * Returns <code>true</code> if this blogs entry is a draft.
470             *
471             * @return <code>true</code> if this blogs entry is a draft; <code>false</code> otherwise
472             */
473            public boolean isDraft();
474    
475            /**
476             * Returns <code>true</code> if this blogs entry is expired.
477             *
478             * @return <code>true</code> if this blogs entry is expired; <code>false</code> otherwise
479             */
480            public boolean isExpired();
481    
482            /**
483             * Returns <code>true</code> if this blogs entry is inactive.
484             *
485             * @return <code>true</code> if this blogs entry is inactive; <code>false</code> otherwise
486             */
487            public boolean isInactive();
488    
489            /**
490             * Returns <code>true</code> if this blogs entry is incomplete.
491             *
492             * @return <code>true</code> if this blogs entry is incomplete; <code>false</code> otherwise
493             */
494            public boolean isIncomplete();
495    
496            /**
497             * Returns <code>true</code> if this blogs entry is in the Recycle Bin.
498             *
499             * @return <code>true</code> if this blogs entry is in the Recycle Bin; <code>false</code> otherwise
500             */
501            public boolean isInTrash();
502    
503            /**
504             * Returns <code>true</code> if this blogs entry is pending.
505             *
506             * @return <code>true</code> if this blogs entry is pending; <code>false</code> otherwise
507             */
508            public boolean isPending();
509    
510            /**
511             * Returns <code>true</code> if this blogs entry is scheduled.
512             *
513             * @return <code>true</code> if this blogs entry is scheduled; <code>false</code> otherwise
514             */
515            public boolean isScheduled();
516    
517            public boolean isNew();
518    
519            public void setNew(boolean n);
520    
521            public boolean isCachedModel();
522    
523            public void setCachedModel(boolean cachedModel);
524    
525            public boolean isEscapedModel();
526    
527            public Serializable getPrimaryKeyObj();
528    
529            public void setPrimaryKeyObj(Serializable primaryKeyObj);
530    
531            public ExpandoBridge getExpandoBridge();
532    
533            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
534    
535            public Object clone();
536    
537            public int compareTo(BlogsEntry blogsEntry);
538    
539            public int hashCode();
540    
541            public CacheModel<BlogsEntry> toCacheModel();
542    
543            public BlogsEntry toEscapedModel();
544    
545            public BlogsEntry toUnescapedModel();
546    
547            public String toString();
548    
549            public String toXmlString();
550    }