1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.journal.model;
16  
17  import com.liferay.portal.kernel.annotation.AutoEscape;
18  import com.liferay.portal.kernel.exception.SystemException;
19  import com.liferay.portal.model.BaseModel;
20  import com.liferay.portal.service.ServiceContext;
21  
22  import com.liferay.portlet.expando.model.ExpandoBridge;
23  
24  import java.io.Serializable;
25  
26  import java.util.Date;
27  
28  /**
29   * <a href="JournalArticleModel.java.html"><b><i>View Source</i></b></a>
30   *
31   * <p>
32   * ServiceBuilder generated this class. Modifications in this class will be
33   * overwritten the next time is generated.
34   * </p>
35   *
36   * <p>
37   * This interface is a model that represents the JournalArticle table in the
38   * database.
39   * </p>
40   *
41   * @author    Brian Wing Shun Chan
42   * @see       JournalArticle
43   * @see       com.liferay.portlet.journal.model.impl.JournalArticleImpl
44   * @see       com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
45   * @generated
46   */
47  public interface JournalArticleModel extends BaseModel<JournalArticle> {
48      public long getPrimaryKey();
49  
50      public void setPrimaryKey(long pk);
51  
52      @AutoEscape
53      public String getUuid();
54  
55      public void setUuid(String uuid);
56  
57      public long getId();
58  
59      public void setId(long id);
60  
61      public long getResourcePrimKey();
62  
63      public void setResourcePrimKey(long resourcePrimKey);
64  
65      public long getGroupId();
66  
67      public void setGroupId(long groupId);
68  
69      public long getCompanyId();
70  
71      public void setCompanyId(long companyId);
72  
73      public long getUserId();
74  
75      public void setUserId(long userId);
76  
77      public String getUserUuid() throws SystemException;
78  
79      public void setUserUuid(String userUuid);
80  
81      @AutoEscape
82      public String getUserName();
83  
84      public void setUserName(String userName);
85  
86      public Date getCreateDate();
87  
88      public void setCreateDate(Date createDate);
89  
90      public Date getModifiedDate();
91  
92      public void setModifiedDate(Date modifiedDate);
93  
94      public String getArticleId();
95  
96      public void setArticleId(String articleId);
97  
98      public double getVersion();
99  
100     public void setVersion(double version);
101 
102     @AutoEscape
103     public String getTitle();
104 
105     public void setTitle(String title);
106 
107     @AutoEscape
108     public String getUrlTitle();
109 
110     public void setUrlTitle(String urlTitle);
111 
112     @AutoEscape
113     public String getDescription();
114 
115     public void setDescription(String description);
116 
117     @AutoEscape
118     public String getContent();
119 
120     public void setContent(String content);
121 
122     @AutoEscape
123     public String getType();
124 
125     public void setType(String type);
126 
127     public String getStructureId();
128 
129     public void setStructureId(String structureId);
130 
131     public String getTemplateId();
132 
133     public void setTemplateId(String templateId);
134 
135     public Date getDisplayDate();
136 
137     public void setDisplayDate(Date displayDate);
138 
139     public Date getExpirationDate();
140 
141     public void setExpirationDate(Date expirationDate);
142 
143     public Date getReviewDate();
144 
145     public void setReviewDate(Date reviewDate);
146 
147     public boolean getIndexable();
148 
149     public boolean isIndexable();
150 
151     public void setIndexable(boolean indexable);
152 
153     public boolean getSmallImage();
154 
155     public boolean isSmallImage();
156 
157     public void setSmallImage(boolean smallImage);
158 
159     public long getSmallImageId();
160 
161     public void setSmallImageId(long smallImageId);
162 
163     @AutoEscape
164     public String getSmallImageURL();
165 
166     public void setSmallImageURL(String smallImageURL);
167 
168     public int getStatus();
169 
170     public void setStatus(int status);
171 
172     public long getStatusByUserId();
173 
174     public void setStatusByUserId(long statusByUserId);
175 
176     public String getStatusByUserUuid() throws SystemException;
177 
178     public void setStatusByUserUuid(String statusByUserUuid);
179 
180     @AutoEscape
181     public String getStatusByUserName();
182 
183     public void setStatusByUserName(String statusByUserName);
184 
185     public Date getStatusDate();
186 
187     public void setStatusDate(Date statusDate);
188 
189     public boolean isApproved();
190 
191     public boolean isDraft();
192 
193     public boolean isExpired();
194 
195     public boolean isPending();
196 
197     public JournalArticle toEscapedModel();
198 
199     public boolean isNew();
200 
201     public boolean setNew(boolean n);
202 
203     public boolean isCachedModel();
204 
205     public void setCachedModel(boolean cachedModel);
206 
207     public boolean isEscapedModel();
208 
209     public void setEscapedModel(boolean escapedModel);
210 
211     public Serializable getPrimaryKeyObj();
212 
213     public ExpandoBridge getExpandoBridge();
214 
215     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
216 
217     public Object clone();
218 
219     public int compareTo(JournalArticle journalArticle);
220 
221     public int hashCode();
222 
223     public String toString();
224 
225     public String toXmlString();
226 }