1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.journal.model;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.annotation.AutoEscape;
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 boolean getApproved();
140 
141     public boolean isApproved();
142 
143     public void setApproved(boolean approved);
144 
145     public long getApprovedByUserId();
146 
147     public void setApprovedByUserId(long approvedByUserId);
148 
149     public String getApprovedByUserUuid() throws SystemException;
150 
151     public void setApprovedByUserUuid(String approvedByUserUuid);
152 
153     @AutoEscape
154     public String getApprovedByUserName();
155 
156     public void setApprovedByUserName(String approvedByUserName);
157 
158     public Date getApprovedDate();
159 
160     public void setApprovedDate(Date approvedDate);
161 
162     public boolean getExpired();
163 
164     public boolean isExpired();
165 
166     public void setExpired(boolean expired);
167 
168     public Date getExpirationDate();
169 
170     public void setExpirationDate(Date expirationDate);
171 
172     public Date getReviewDate();
173 
174     public void setReviewDate(Date reviewDate);
175 
176     public boolean getIndexable();
177 
178     public boolean isIndexable();
179 
180     public void setIndexable(boolean indexable);
181 
182     public boolean getSmallImage();
183 
184     public boolean isSmallImage();
185 
186     public void setSmallImage(boolean smallImage);
187 
188     public long getSmallImageId();
189 
190     public void setSmallImageId(long smallImageId);
191 
192     @AutoEscape
193     public String getSmallImageURL();
194 
195     public void setSmallImageURL(String smallImageURL);
196 
197     public boolean isNew();
198 
199     public boolean setNew(boolean n);
200 
201     public boolean isCachedModel();
202 
203     public void setCachedModel(boolean cachedModel);
204 
205     public boolean isEscapedModel();
206 
207     public void setEscapedModel(boolean escapedModel);
208 
209     public Serializable getPrimaryKeyObj();
210 
211     public ExpandoBridge getExpandoBridge();
212 
213     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
214 
215     public Object clone();
216 
217     public int compareTo(JournalArticle journalArticle);
218 
219     public int hashCode();
220 
221     public JournalArticle toEscapedModel();
222 
223     public String toString();
224 
225     public String toXmlString();
226 }