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     * The base model interface for the WikiNode service. Represents a row in the "WikiNode" database table, with each column mapped to a property of this class.
030     *
031     * <p>
032     * This interface and its corresponding implementation {@link com.liferay.portlet.wiki.model.impl.WikiNodeModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.wiki.model.impl.WikiNodeImpl}.
033     * </p>
034     *
035     * <p>
036     * Never modify or reference this interface directly. All methods that expect a wiki node model instance should use the {@link WikiNode} interface instead.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see WikiNode
041     * @see com.liferay.portlet.wiki.model.impl.WikiNodeImpl
042     * @see com.liferay.portlet.wiki.model.impl.WikiNodeModelImpl
043     * @generated
044     */
045    public interface WikiNodeModel extends BaseModel<WikiNode> {
046            /**
047             * Gets the primary key of this wiki node.
048             *
049             * @return the primary key of this wiki node
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this wiki node
055             *
056             * @param pk the primary key of this wiki node
057             */
058            public void setPrimaryKey(long pk);
059    
060            /**
061             * Gets the uuid of this wiki node.
062             *
063             * @return the uuid of this wiki node
064             */
065            @AutoEscape
066            public String getUuid();
067    
068            /**
069             * Sets the uuid of this wiki node.
070             *
071             * @param uuid the uuid of this wiki node
072             */
073            public void setUuid(String uuid);
074    
075            /**
076             * Gets the node id of this wiki node.
077             *
078             * @return the node id of this wiki node
079             */
080            public long getNodeId();
081    
082            /**
083             * Sets the node id of this wiki node.
084             *
085             * @param nodeId the node id of this wiki node
086             */
087            public void setNodeId(long nodeId);
088    
089            /**
090             * Gets the group id of this wiki node.
091             *
092             * @return the group id of this wiki node
093             */
094            public long getGroupId();
095    
096            /**
097             * Sets the group id of this wiki node.
098             *
099             * @param groupId the group id of this wiki node
100             */
101            public void setGroupId(long groupId);
102    
103            /**
104             * Gets the company id of this wiki node.
105             *
106             * @return the company id of this wiki node
107             */
108            public long getCompanyId();
109    
110            /**
111             * Sets the company id of this wiki node.
112             *
113             * @param companyId the company id of this wiki node
114             */
115            public void setCompanyId(long companyId);
116    
117            /**
118             * Gets the user id of this wiki node.
119             *
120             * @return the user id of this wiki node
121             */
122            public long getUserId();
123    
124            /**
125             * Sets the user id of this wiki node.
126             *
127             * @param userId the user id of this wiki node
128             */
129            public void setUserId(long userId);
130    
131            /**
132             * Gets the user uuid of this wiki node.
133             *
134             * @return the user uuid of this wiki node
135             * @throws SystemException if a system exception occurred
136             */
137            public String getUserUuid() throws SystemException;
138    
139            /**
140             * Sets the user uuid of this wiki node.
141             *
142             * @param userUuid the user uuid of this wiki node
143             */
144            public void setUserUuid(String userUuid);
145    
146            /**
147             * Gets the user name of this wiki node.
148             *
149             * @return the user name of this wiki node
150             */
151            @AutoEscape
152            public String getUserName();
153    
154            /**
155             * Sets the user name of this wiki node.
156             *
157             * @param userName the user name of this wiki node
158             */
159            public void setUserName(String userName);
160    
161            /**
162             * Gets the create date of this wiki node.
163             *
164             * @return the create date of this wiki node
165             */
166            public Date getCreateDate();
167    
168            /**
169             * Sets the create date of this wiki node.
170             *
171             * @param createDate the create date of this wiki node
172             */
173            public void setCreateDate(Date createDate);
174    
175            /**
176             * Gets the modified date of this wiki node.
177             *
178             * @return the modified date of this wiki node
179             */
180            public Date getModifiedDate();
181    
182            /**
183             * Sets the modified date of this wiki node.
184             *
185             * @param modifiedDate the modified date of this wiki node
186             */
187            public void setModifiedDate(Date modifiedDate);
188    
189            /**
190             * Gets the name of this wiki node.
191             *
192             * @return the name of this wiki node
193             */
194            @AutoEscape
195            public String getName();
196    
197            /**
198             * Sets the name of this wiki node.
199             *
200             * @param name the name of this wiki node
201             */
202            public void setName(String name);
203    
204            /**
205             * Gets the description of this wiki node.
206             *
207             * @return the description of this wiki node
208             */
209            @AutoEscape
210            public String getDescription();
211    
212            /**
213             * Sets the description of this wiki node.
214             *
215             * @param description the description of this wiki node
216             */
217            public void setDescription(String description);
218    
219            /**
220             * Gets the last post date of this wiki node.
221             *
222             * @return the last post date of this wiki node
223             */
224            public Date getLastPostDate();
225    
226            /**
227             * Sets the last post date of this wiki node.
228             *
229             * @param lastPostDate the last post date of this wiki node
230             */
231            public void setLastPostDate(Date lastPostDate);
232    
233            /**
234             * Gets a copy of this wiki node as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
235             *
236             * @return the escaped model instance
237             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
238             */
239            public WikiNode toEscapedModel();
240    
241            public boolean isNew();
242    
243            public void setNew(boolean n);
244    
245            public boolean isCachedModel();
246    
247            public void setCachedModel(boolean cachedModel);
248    
249            public boolean isEscapedModel();
250    
251            public void setEscapedModel(boolean escapedModel);
252    
253            public Serializable getPrimaryKeyObj();
254    
255            public ExpandoBridge getExpandoBridge();
256    
257            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
258    
259            public Object clone();
260    
261            public int compareTo(WikiNode wikiNode);
262    
263            public int hashCode();
264    
265            public String toString();
266    
267            public String toXmlString();
268    }