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     * <p>
030     * This interface is a model that represents the JournalArticle table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       JournalArticle
036     * @see       com.liferay.portlet.journal.model.impl.JournalArticleImpl
037     * @see       com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
038     * @generated
039     */
040    public interface JournalArticleModel extends BaseModel<JournalArticle> {
041            public long getPrimaryKey();
042    
043            public void setPrimaryKey(long pk);
044    
045            @AutoEscape
046            public String getUuid();
047    
048            public void setUuid(String uuid);
049    
050            public long getId();
051    
052            public void setId(long id);
053    
054            public long getResourcePrimKey();
055    
056            public void setResourcePrimKey(long resourcePrimKey);
057    
058            public long getGroupId();
059    
060            public void setGroupId(long groupId);
061    
062            public long getCompanyId();
063    
064            public void setCompanyId(long companyId);
065    
066            public long getUserId();
067    
068            public void setUserId(long userId);
069    
070            public String getUserUuid() throws SystemException;
071    
072            public void setUserUuid(String userUuid);
073    
074            @AutoEscape
075            public String getUserName();
076    
077            public void setUserName(String userName);
078    
079            public Date getCreateDate();
080    
081            public void setCreateDate(Date createDate);
082    
083            public Date getModifiedDate();
084    
085            public void setModifiedDate(Date modifiedDate);
086    
087            public String getArticleId();
088    
089            public void setArticleId(String articleId);
090    
091            public double getVersion();
092    
093            public void setVersion(double version);
094    
095            @AutoEscape
096            public String getTitle();
097    
098            public void setTitle(String title);
099    
100            @AutoEscape
101            public String getUrlTitle();
102    
103            public void setUrlTitle(String urlTitle);
104    
105            @AutoEscape
106            public String getDescription();
107    
108            public void setDescription(String description);
109    
110            @AutoEscape
111            public String getContent();
112    
113            public void setContent(String content);
114    
115            @AutoEscape
116            public String getType();
117    
118            public void setType(String type);
119    
120            public String getStructureId();
121    
122            public void setStructureId(String structureId);
123    
124            public String getTemplateId();
125    
126            public void setTemplateId(String templateId);
127    
128            public Date getDisplayDate();
129    
130            public void setDisplayDate(Date displayDate);
131    
132            public Date getExpirationDate();
133    
134            public void setExpirationDate(Date expirationDate);
135    
136            public Date getReviewDate();
137    
138            public void setReviewDate(Date reviewDate);
139    
140            public boolean getIndexable();
141    
142            public boolean isIndexable();
143    
144            public void setIndexable(boolean indexable);
145    
146            public boolean getSmallImage();
147    
148            public boolean isSmallImage();
149    
150            public void setSmallImage(boolean smallImage);
151    
152            public long getSmallImageId();
153    
154            public void setSmallImageId(long smallImageId);
155    
156            @AutoEscape
157            public String getSmallImageURL();
158    
159            public void setSmallImageURL(String smallImageURL);
160    
161            public int getStatus();
162    
163            public void setStatus(int status);
164    
165            public long getStatusByUserId();
166    
167            public void setStatusByUserId(long statusByUserId);
168    
169            public String getStatusByUserUuid() throws SystemException;
170    
171            public void setStatusByUserUuid(String statusByUserUuid);
172    
173            @AutoEscape
174            public String getStatusByUserName();
175    
176            public void setStatusByUserName(String statusByUserName);
177    
178            public Date getStatusDate();
179    
180            public void setStatusDate(Date statusDate);
181    
182            public boolean isApproved();
183    
184            public boolean isDraft();
185    
186            public boolean isExpired();
187    
188            public boolean isPending();
189    
190            public JournalArticle toEscapedModel();
191    
192            public boolean isNew();
193    
194            public void setNew(boolean n);
195    
196            public boolean isCachedModel();
197    
198            public void setCachedModel(boolean cachedModel);
199    
200            public boolean isEscapedModel();
201    
202            public void setEscapedModel(boolean escapedModel);
203    
204            public Serializable getPrimaryKeyObj();
205    
206            public ExpandoBridge getExpandoBridge();
207    
208            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
209    
210            public Object clone();
211    
212            public int compareTo(JournalArticle journalArticle);
213    
214            public int hashCode();
215    
216            public String toString();
217    
218            public String toXmlString();
219    }