001 /** 002 * Copyright (c) 2000-present 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.portal.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 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 Release service. Represents a row in the "Release_" 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.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}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see Release 037 * @see com.liferay.portal.model.impl.ReleaseImpl 038 * @see com.liferay.portal.model.impl.ReleaseModelImpl 039 * @generated 040 */ 041 @ProviderType 042 public interface ReleaseModel extends BaseModel<Release>, MVCCModel { 043 /* 044 * NOTE FOR DEVELOPERS: 045 * 046 * Never modify or reference this interface directly. All methods that expect a release model instance should use the {@link Release} interface instead. 047 */ 048 049 /** 050 * Returns the primary key of this release. 051 * 052 * @return the primary key of this release 053 */ 054 public long getPrimaryKey(); 055 056 /** 057 * Sets the primary key of this release. 058 * 059 * @param primaryKey the primary key of this release 060 */ 061 public void setPrimaryKey(long primaryKey); 062 063 /** 064 * Returns the mvcc version of this release. 065 * 066 * @return the mvcc version of this release 067 */ 068 @Override 069 public long getMvccVersion(); 070 071 /** 072 * Sets the mvcc version of this release. 073 * 074 * @param mvccVersion the mvcc version of this release 075 */ 076 @Override 077 public void setMvccVersion(long mvccVersion); 078 079 /** 080 * Returns the release ID of this release. 081 * 082 * @return the release ID of this release 083 */ 084 public long getReleaseId(); 085 086 /** 087 * Sets the release ID of this release. 088 * 089 * @param releaseId the release ID of this release 090 */ 091 public void setReleaseId(long releaseId); 092 093 /** 094 * Returns the create date of this release. 095 * 096 * @return the create date of this release 097 */ 098 public Date getCreateDate(); 099 100 /** 101 * Sets the create date of this release. 102 * 103 * @param createDate the create date of this release 104 */ 105 public void setCreateDate(Date createDate); 106 107 /** 108 * Returns the modified date of this release. 109 * 110 * @return the modified date of this release 111 */ 112 public Date getModifiedDate(); 113 114 /** 115 * Sets the modified date of this release. 116 * 117 * @param modifiedDate the modified date of this release 118 */ 119 public void setModifiedDate(Date modifiedDate); 120 121 /** 122 * Returns the servlet context name of this release. 123 * 124 * @return the servlet context name of this release 125 */ 126 @AutoEscape 127 public String getServletContextName(); 128 129 /** 130 * Sets the servlet context name of this release. 131 * 132 * @param servletContextName the servlet context name of this release 133 */ 134 public void setServletContextName(String servletContextName); 135 136 /** 137 * Returns the schema version of this release. 138 * 139 * @return the schema version of this release 140 */ 141 @AutoEscape 142 public String getSchemaVersion(); 143 144 /** 145 * Sets the schema version of this release. 146 * 147 * @param schemaVersion the schema version of this release 148 */ 149 public void setSchemaVersion(String schemaVersion); 150 151 /** 152 * Returns the build number of this release. 153 * 154 * @return the build number of this release 155 */ 156 public int getBuildNumber(); 157 158 /** 159 * Sets the build number of this release. 160 * 161 * @param buildNumber the build number of this release 162 */ 163 public void setBuildNumber(int buildNumber); 164 165 /** 166 * Returns the build date of this release. 167 * 168 * @return the build date of this release 169 */ 170 public Date getBuildDate(); 171 172 /** 173 * Sets the build date of this release. 174 * 175 * @param buildDate the build date of this release 176 */ 177 public void setBuildDate(Date buildDate); 178 179 /** 180 * Returns the verified of this release. 181 * 182 * @return the verified of this release 183 */ 184 public boolean getVerified(); 185 186 /** 187 * Returns <code>true</code> if this release is verified. 188 * 189 * @return <code>true</code> if this release is verified; <code>false</code> otherwise 190 */ 191 public boolean isVerified(); 192 193 /** 194 * Sets whether this release is verified. 195 * 196 * @param verified the verified of this release 197 */ 198 public void setVerified(boolean verified); 199 200 /** 201 * Returns the state of this release. 202 * 203 * @return the state of this release 204 */ 205 public int getState(); 206 207 /** 208 * Sets the state of this release. 209 * 210 * @param state the state of this release 211 */ 212 public void setState(int state); 213 214 /** 215 * Returns the test string of this release. 216 * 217 * @return the test string of this release 218 */ 219 @AutoEscape 220 public String getTestString(); 221 222 /** 223 * Sets the test string of this release. 224 * 225 * @param testString the test string of this release 226 */ 227 public void setTestString(String testString); 228 229 @Override 230 public boolean isNew(); 231 232 @Override 233 public void setNew(boolean n); 234 235 @Override 236 public boolean isCachedModel(); 237 238 @Override 239 public void setCachedModel(boolean cachedModel); 240 241 @Override 242 public boolean isEscapedModel(); 243 244 @Override 245 public Serializable getPrimaryKeyObj(); 246 247 @Override 248 public void setPrimaryKeyObj(Serializable primaryKeyObj); 249 250 @Override 251 public ExpandoBridge getExpandoBridge(); 252 253 @Override 254 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 255 256 @Override 257 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 258 259 @Override 260 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 261 262 @Override 263 public Object clone(); 264 265 @Override 266 public int compareTo(com.liferay.portal.model.Release release); 267 268 @Override 269 public int hashCode(); 270 271 @Override 272 public CacheModel<com.liferay.portal.model.Release> toCacheModel(); 273 274 @Override 275 public com.liferay.portal.model.Release toEscapedModel(); 276 277 @Override 278 public com.liferay.portal.model.Release toUnescapedModel(); 279 280 @Override 281 public String toString(); 282 283 @Override 284 public String toXmlString(); 285 }