001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.journal.model;
022:
023: import com.liferay.portal.model.BaseModel;
024:
025: import java.util.Date;
026:
027: /**
028: * <a href="JournalArticleModel.java.html"><b><i>View Source</i></b></a>
029: *
030: * <p>
031: * ServiceBuilder generated this class. Modifications in this class will be
032: * overwritten the next time is generated.
033: * </p>
034: *
035: * <p>
036: * This interface is a model that represents the <code>JournalArticle</code>
037: * table in the database.
038: * </p>
039: *
040: * @author Brian Wing Shun Chan
041: *
042: * @see com.liferay.portlet.journal.service.model.JournalArticle
043: * @see com.liferay.portlet.journal.service.model.impl.JournalArticleImpl
044: * @see com.liferay.portlet.journal.service.model.impl.JournalArticleModelImpl
045: *
046: */
047: public interface JournalArticleModel extends BaseModel {
048: public long getPrimaryKey();
049:
050: public void setPrimaryKey(long pk);
051:
052: public String getUuid();
053:
054: public void setUuid(String uuid);
055:
056: public long getId();
057:
058: public void setId(long id);
059:
060: public long getResourcePrimKey();
061:
062: public void setResourcePrimKey(long resourcePrimKey);
063:
064: public long getGroupId();
065:
066: public void setGroupId(long groupId);
067:
068: public long getCompanyId();
069:
070: public void setCompanyId(long companyId);
071:
072: public long getUserId();
073:
074: public void setUserId(long userId);
075:
076: public String getUserName();
077:
078: public void setUserName(String userName);
079:
080: public Date getCreateDate();
081:
082: public void setCreateDate(Date createDate);
083:
084: public Date getModifiedDate();
085:
086: public void setModifiedDate(Date modifiedDate);
087:
088: public String getArticleId();
089:
090: public void setArticleId(String articleId);
091:
092: public double getVersion();
093:
094: public void setVersion(double version);
095:
096: public String getTitle();
097:
098: public void setTitle(String title);
099:
100: public String getDescription();
101:
102: public void setDescription(String description);
103:
104: public String getContent();
105:
106: public void setContent(String content);
107:
108: public String getType();
109:
110: public void setType(String type);
111:
112: public String getStructureId();
113:
114: public void setStructureId(String structureId);
115:
116: public String getTemplateId();
117:
118: public void setTemplateId(String templateId);
119:
120: public Date getDisplayDate();
121:
122: public void setDisplayDate(Date displayDate);
123:
124: public boolean getApproved();
125:
126: public boolean isApproved();
127:
128: public void setApproved(boolean approved);
129:
130: public long getApprovedByUserId();
131:
132: public void setApprovedByUserId(long approvedByUserId);
133:
134: public String getApprovedByUserName();
135:
136: public void setApprovedByUserName(String approvedByUserName);
137:
138: public Date getApprovedDate();
139:
140: public void setApprovedDate(Date approvedDate);
141:
142: public boolean getExpired();
143:
144: public boolean isExpired();
145:
146: public void setExpired(boolean expired);
147:
148: public Date getExpirationDate();
149:
150: public void setExpirationDate(Date expirationDate);
151:
152: public Date getReviewDate();
153:
154: public void setReviewDate(Date reviewDate);
155:
156: public boolean getIndexable();
157:
158: public boolean isIndexable();
159:
160: public void setIndexable(boolean indexable);
161:
162: public boolean getSmallImage();
163:
164: public boolean isSmallImage();
165:
166: public void setSmallImage(boolean smallImage);
167:
168: public long getSmallImageId();
169:
170: public void setSmallImageId(long smallImageId);
171:
172: public String getSmallImageURL();
173:
174: public void setSmallImageURL(String smallImageURL);
175:
176: public JournalArticle toEscapedModel();
177: }
|