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