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