|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Release>
com.liferay.portal.model.impl.ReleaseModelImpl
@ProviderType public class ReleaseModelImpl
The base model implementation for the Release service. Represents a row in the "Release_" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ReleaseModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ReleaseImpl.
ReleaseImpl,
Release,
ReleaseModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
RELEASEID_COLUMN_BITMASK
|
static long |
SERVLETCONTEXTNAME_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ReleaseModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Release release)
|
boolean |
equals(Object obj)
|
Date |
getBuildDate()
Returns the build date of this release. |
int |
getBuildNumber()
Returns the build number of this release. |
long |
getColumnBitmask()
|
Date |
getCreateDate()
Returns the create date of this release. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this release. |
long |
getMvccVersion()
Returns the mvcc version of this release. |
String |
getOriginalServletContextName()
|
long |
getPrimaryKey()
Returns the primary key of this release. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getReleaseId()
Returns the release ID of this release. |
String |
getSchemaVersion()
Returns the schema version of this release. |
String |
getServletContextName()
Returns the servlet context name of this release. |
int |
getState()
Returns the state of this release. |
String |
getTestString()
Returns the test string of this release. |
boolean |
getVerified()
Returns the verified of this release. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isVerified()
Returns true if this release is verified. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setBuildDate(Date buildDate)
Sets the build date of this release. |
void |
setBuildNumber(int buildNumber)
Sets the build number of this release. |
void |
setCreateDate(Date createDate)
Sets the create date of this release. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this release. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this release. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this release. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setReleaseId(long releaseId)
Sets the release ID of this release. |
void |
setSchemaVersion(String schemaVersion)
Sets the schema version of this release. |
void |
setServletContextName(String servletContextName)
Sets the servlet context name of this release. |
void |
setState(int state)
Sets the state of this release. |
void |
setTestString(String testString)
Sets the test string of this release. |
void |
setVerified(boolean verified)
Sets whether this release is verified. |
CacheModel<Release> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Release |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.ReleaseModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long SERVLETCONTEXTNAME_COLUMN_BITMASK
public static final long RELEASEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ReleaseModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ReleaseModel
getPrimaryKey in interface ReleaseModelpublic void setPrimaryKey(long primaryKey)
ReleaseModel
setPrimaryKey in interface ReleaseModelprimaryKey - the primary key of this releasepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Release>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ReleaseModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Release>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ReleaseModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Release>getModelAttributes in class BaseModelImpl<Release>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Release>setModelAttributes in class BaseModelImpl<Release>public long getMvccVersion()
ReleaseModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface ReleaseModelpublic void setMvccVersion(long mvccVersion)
ReleaseModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface ReleaseModelmvccVersion - the mvcc version of this releasepublic long getReleaseId()
ReleaseModel
getReleaseId in interface ReleaseModelpublic void setReleaseId(long releaseId)
ReleaseModel
setReleaseId in interface ReleaseModelreleaseId - the release ID of this releasepublic Date getCreateDate()
ReleaseModel
getCreateDate in interface ReleaseModelpublic void setCreateDate(Date createDate)
ReleaseModel
setCreateDate in interface ReleaseModelcreateDate - the create date of this releasepublic Date getModifiedDate()
ReleaseModel
getModifiedDate in interface ReleaseModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
ReleaseModel
setModifiedDate in interface ReleaseModelmodifiedDate - the modified date of this releasepublic String getServletContextName()
ReleaseModel
getServletContextName in interface ReleaseModelpublic void setServletContextName(String servletContextName)
ReleaseModel
setServletContextName in interface ReleaseModelservletContextName - the servlet context name of this releasepublic String getOriginalServletContextName()
public String getSchemaVersion()
ReleaseModel
getSchemaVersion in interface ReleaseModelpublic void setSchemaVersion(String schemaVersion)
ReleaseModel
setSchemaVersion in interface ReleaseModelschemaVersion - the schema version of this releasepublic int getBuildNumber()
ReleaseModel
getBuildNumber in interface ReleaseModelpublic void setBuildNumber(int buildNumber)
ReleaseModel
setBuildNumber in interface ReleaseModelbuildNumber - the build number of this releasepublic Date getBuildDate()
ReleaseModel
getBuildDate in interface ReleaseModelpublic void setBuildDate(Date buildDate)
ReleaseModel
setBuildDate in interface ReleaseModelbuildDate - the build date of this releasepublic boolean getVerified()
ReleaseModel
getVerified in interface ReleaseModelpublic boolean isVerified()
ReleaseModeltrue if this release is verified.
isVerified in interface ReleaseModeltrue if this release is verified; false otherwisepublic void setVerified(boolean verified)
ReleaseModel
setVerified in interface ReleaseModelverified - the verified of this releasepublic int getState()
ReleaseModel
getState in interface ReleaseModelpublic void setState(int state)
ReleaseModel
setState in interface ReleaseModelstate - the state of this releasepublic String getTestString()
ReleaseModel
getTestString in interface ReleaseModelpublic void setTestString(String testString)
ReleaseModel
setTestString in interface ReleaseModeltestString - the test string of this releasepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Release>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ReleaseModelgetExpandoBridge in class BaseModelImpl<Release>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Release>setExpandoBridgeAttributes in interface ReleaseModelsetExpandoBridgeAttributes in class BaseModelImpl<Release>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public Release toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Release>toEscapedModel in interface ReleaseModeltoEscapedModel in class BaseModelImpl<Release>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<Release>clone in interface ReleaseModelclone in class BaseModelImpl<Release>public int compareTo(Release release)
compareTo in interface ReleaseModelcompareTo in interface Comparable<Release>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ReleaseModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Release>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<Release>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Release>resetOriginalValues in class BaseModelImpl<Release>public CacheModel<Release> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Release>toCacheModel in interface ReleaseModeltoCacheModel in class BaseModelImpl<Release>public String toString()
toString in interface ReleaseModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Release>toXmlString in interface ReleaseModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||