001    /**
002     * Copyright (c) 2000-2013 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.bean.AutoEscape;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.model.CacheModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    /**
027     * The base model interface for the WikiPageResource service. Represents a row in the "WikiPageResource" database table, with each column mapped to a property of this class.
028     *
029     * <p>
030     * This interface and its corresponding implementation {@link com.liferay.portlet.wiki.model.impl.WikiPageResourceModelImpl} 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.WikiPageResourceImpl}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see WikiPageResource
035     * @see com.liferay.portlet.wiki.model.impl.WikiPageResourceImpl
036     * @see com.liferay.portlet.wiki.model.impl.WikiPageResourceModelImpl
037     * @generated
038     */
039    public interface WikiPageResourceModel extends BaseModel<WikiPageResource> {
040            /*
041             * NOTE FOR DEVELOPERS:
042             *
043             * Never modify or reference this interface directly. All methods that expect a wiki page resource model instance should use the {@link WikiPageResource} interface instead.
044             */
045    
046            /**
047             * Returns the primary key of this wiki page resource.
048             *
049             * @return the primary key of this wiki page resource
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this wiki page resource.
055             *
056             * @param primaryKey the primary key of this wiki page resource
057             */
058            public void setPrimaryKey(long primaryKey);
059    
060            /**
061             * Returns the uuid of this wiki page resource.
062             *
063             * @return the uuid of this wiki page resource
064             */
065            @AutoEscape
066            public String getUuid();
067    
068            /**
069             * Sets the uuid of this wiki page resource.
070             *
071             * @param uuid the uuid of this wiki page resource
072             */
073            public void setUuid(String uuid);
074    
075            /**
076             * Returns the resource prim key of this wiki page resource.
077             *
078             * @return the resource prim key of this wiki page resource
079             */
080            public long getResourcePrimKey();
081    
082            /**
083             * Sets the resource prim key of this wiki page resource.
084             *
085             * @param resourcePrimKey the resource prim key of this wiki page resource
086             */
087            public void setResourcePrimKey(long resourcePrimKey);
088    
089            /**
090             * Returns the node ID of this wiki page resource.
091             *
092             * @return the node ID of this wiki page resource
093             */
094            public long getNodeId();
095    
096            /**
097             * Sets the node ID of this wiki page resource.
098             *
099             * @param nodeId the node ID of this wiki page resource
100             */
101            public void setNodeId(long nodeId);
102    
103            /**
104             * Returns the title of this wiki page resource.
105             *
106             * @return the title of this wiki page resource
107             */
108            @AutoEscape
109            public String getTitle();
110    
111            /**
112             * Sets the title of this wiki page resource.
113             *
114             * @param title the title of this wiki page resource
115             */
116            public void setTitle(String title);
117    
118            public boolean isNew();
119    
120            public void setNew(boolean n);
121    
122            public boolean isCachedModel();
123    
124            public void setCachedModel(boolean cachedModel);
125    
126            public boolean isEscapedModel();
127    
128            public Serializable getPrimaryKeyObj();
129    
130            public void setPrimaryKeyObj(Serializable primaryKeyObj);
131    
132            public ExpandoBridge getExpandoBridge();
133    
134            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
135    
136            public Object clone();
137    
138            public int compareTo(WikiPageResource wikiPageResource);
139    
140            public int hashCode();
141    
142            public CacheModel<WikiPageResource> toCacheModel();
143    
144            public WikiPageResource toEscapedModel();
145    
146            public WikiPageResource toUnescapedModel();
147    
148            public String toString();
149    
150            public String toXmlString();
151    }