001 /** 002 * Copyright (c) 2000-2010 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.portal.model; 016 017 import com.liferay.portal.kernel.annotation.AutoEscape; 018 import com.liferay.portal.service.ServiceContext; 019 020 import com.liferay.portlet.expando.model.ExpandoBridge; 021 022 import java.io.Serializable; 023 024 import java.util.Date; 025 026 /** 027 * The base model interface for the Release service. Represents a row in the "Release_" 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.portal.model.impl.ReleaseModelImpl} 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.portal.model.impl.ReleaseImpl}. 031 * </p> 032 * 033 * <p> 034 * Never modify or reference this interface directly. All methods that expect a release model instance should use the {@link Release} interface instead. 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see Release 039 * @see com.liferay.portal.model.impl.ReleaseImpl 040 * @see com.liferay.portal.model.impl.ReleaseModelImpl 041 * @generated 042 */ 043 public interface ReleaseModel extends BaseModel<Release> { 044 /** 045 * Gets the primary key of this release. 046 * 047 * @return the primary key of this release 048 */ 049 public long getPrimaryKey(); 050 051 /** 052 * Sets the primary key of this release 053 * 054 * @param pk the primary key of this release 055 */ 056 public void setPrimaryKey(long pk); 057 058 /** 059 * Gets the release id of this release. 060 * 061 * @return the release id of this release 062 */ 063 public long getReleaseId(); 064 065 /** 066 * Sets the release id of this release. 067 * 068 * @param releaseId the release id of this release 069 */ 070 public void setReleaseId(long releaseId); 071 072 /** 073 * Gets the create date of this release. 074 * 075 * @return the create date of this release 076 */ 077 public Date getCreateDate(); 078 079 /** 080 * Sets the create date of this release. 081 * 082 * @param createDate the create date of this release 083 */ 084 public void setCreateDate(Date createDate); 085 086 /** 087 * Gets the modified date of this release. 088 * 089 * @return the modified date of this release 090 */ 091 public Date getModifiedDate(); 092 093 /** 094 * Sets the modified date of this release. 095 * 096 * @param modifiedDate the modified date of this release 097 */ 098 public void setModifiedDate(Date modifiedDate); 099 100 /** 101 * Gets the servlet context name of this release. 102 * 103 * @return the servlet context name of this release 104 */ 105 @AutoEscape 106 public String getServletContextName(); 107 108 /** 109 * Sets the servlet context name of this release. 110 * 111 * @param servletContextName the servlet context name of this release 112 */ 113 public void setServletContextName(String servletContextName); 114 115 /** 116 * Gets the build number of this release. 117 * 118 * @return the build number of this release 119 */ 120 public int getBuildNumber(); 121 122 /** 123 * Sets the build number of this release. 124 * 125 * @param buildNumber the build number of this release 126 */ 127 public void setBuildNumber(int buildNumber); 128 129 /** 130 * Gets the build date of this release. 131 * 132 * @return the build date of this release 133 */ 134 public Date getBuildDate(); 135 136 /** 137 * Sets the build date of this release. 138 * 139 * @param buildDate the build date of this release 140 */ 141 public void setBuildDate(Date buildDate); 142 143 /** 144 * Gets the verified of this release. 145 * 146 * @return the verified of this release 147 */ 148 public boolean getVerified(); 149 150 /** 151 * Determines whether this release is verified. 152 * 153 * @return whether this release is verified 154 */ 155 public boolean isVerified(); 156 157 /** 158 * Sets whether this {$entity.humanName} is verified. 159 * 160 * @param verified the verified of this release 161 */ 162 public void setVerified(boolean verified); 163 164 /** 165 * Gets the test string of this release. 166 * 167 * @return the test string of this release 168 */ 169 @AutoEscape 170 public String getTestString(); 171 172 /** 173 * Sets the test string of this release. 174 * 175 * @param testString the test string of this release 176 */ 177 public void setTestString(String testString); 178 179 public boolean isNew(); 180 181 public void setNew(boolean n); 182 183 public boolean isCachedModel(); 184 185 public void setCachedModel(boolean cachedModel); 186 187 public boolean isEscapedModel(); 188 189 public void setEscapedModel(boolean escapedModel); 190 191 public Serializable getPrimaryKeyObj(); 192 193 public ExpandoBridge getExpandoBridge(); 194 195 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 196 197 public Object clone(); 198 199 public int compareTo(Release release); 200 201 public int hashCode(); 202 203 public Release toEscapedModel(); 204 205 public String toString(); 206 207 public String toXmlString(); 208 }