001 /** 002 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 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 String toString(); 147 148 public String toXmlString(); 149 }