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.wiki.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 WikiPage table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       WikiPage
036     * @see       com.liferay.portlet.wiki.model.impl.WikiPageImpl
037     * @see       com.liferay.portlet.wiki.model.impl.WikiPageModelImpl
038     * @generated
039     */
040    public interface WikiPageModel extends BaseModel<WikiPage> {
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 getPageId();
051    
052            public void setPageId(long pageId);
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 long getNodeId();
088    
089            public void setNodeId(long nodeId);
090    
091            @AutoEscape
092            public String getTitle();
093    
094            public void setTitle(String title);
095    
096            public double getVersion();
097    
098            public void setVersion(double version);
099    
100            public boolean getMinorEdit();
101    
102            public boolean isMinorEdit();
103    
104            public void setMinorEdit(boolean minorEdit);
105    
106            @AutoEscape
107            public String getContent();
108    
109            public void setContent(String content);
110    
111            @AutoEscape
112            public String getSummary();
113    
114            public void setSummary(String summary);
115    
116            @AutoEscape
117            public String getFormat();
118    
119            public void setFormat(String format);
120    
121            public boolean getHead();
122    
123            public boolean isHead();
124    
125            public void setHead(boolean head);
126    
127            @AutoEscape
128            public String getParentTitle();
129    
130            public void setParentTitle(String parentTitle);
131    
132            @AutoEscape
133            public String getRedirectTitle();
134    
135            public void setRedirectTitle(String redirectTitle);
136    
137            public int getStatus();
138    
139            public void setStatus(int status);
140    
141            public long getStatusByUserId();
142    
143            public void setStatusByUserId(long statusByUserId);
144    
145            public String getStatusByUserUuid() throws SystemException;
146    
147            public void setStatusByUserUuid(String statusByUserUuid);
148    
149            @AutoEscape
150            public String getStatusByUserName();
151    
152            public void setStatusByUserName(String statusByUserName);
153    
154            public Date getStatusDate();
155    
156            public void setStatusDate(Date statusDate);
157    
158            public boolean isApproved();
159    
160            public boolean isDraft();
161    
162            public boolean isExpired();
163    
164            public boolean isPending();
165    
166            public WikiPage toEscapedModel();
167    
168            public boolean isNew();
169    
170            public void setNew(boolean n);
171    
172            public boolean isCachedModel();
173    
174            public void setCachedModel(boolean cachedModel);
175    
176            public boolean isEscapedModel();
177    
178            public void setEscapedModel(boolean escapedModel);
179    
180            public Serializable getPrimaryKeyObj();
181    
182            public ExpandoBridge getExpandoBridge();
183    
184            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
185    
186            public Object clone();
187    
188            public int compareTo(WikiPage wikiPage);
189    
190            public int hashCode();
191    
192            public String toString();
193    
194            public String toXmlString();
195    }