|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<Release> com.liferay.portal.model.impl.ReleaseModelImpl
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 FormField 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 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. |
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 |
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 |
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 |
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 |
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 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 long SERVLETCONTEXTNAME_COLUMN_BITMASK
public static long RELEASEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ReleaseModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ReleaseModel
getPrimaryKey
in interface ReleaseModel
public void setPrimaryKey(long primaryKey)
ReleaseModel
setPrimaryKey
in interface ReleaseModel
primaryKey
- the primary key of this releasepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Release>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ReleaseModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Release>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ReleaseModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 getReleaseId()
ReleaseModel
getReleaseId
in interface ReleaseModel
public void setReleaseId(long releaseId)
ReleaseModel
setReleaseId
in interface ReleaseModel
releaseId
- the release ID of this releasepublic Date getCreateDate()
ReleaseModel
getCreateDate
in interface ReleaseModel
public void setCreateDate(Date createDate)
ReleaseModel
setCreateDate
in interface ReleaseModel
createDate
- the create date of this releasepublic Date getModifiedDate()
ReleaseModel
getModifiedDate
in interface ReleaseModel
public void setModifiedDate(Date modifiedDate)
ReleaseModel
setModifiedDate
in interface ReleaseModel
modifiedDate
- the modified date of this releasepublic String getServletContextName()
ReleaseModel
getServletContextName
in interface ReleaseModel
public void setServletContextName(String servletContextName)
ReleaseModel
setServletContextName
in interface ReleaseModel
servletContextName
- the servlet context name of this releasepublic String getOriginalServletContextName()
public int getBuildNumber()
ReleaseModel
getBuildNumber
in interface ReleaseModel
public void setBuildNumber(int buildNumber)
ReleaseModel
setBuildNumber
in interface ReleaseModel
buildNumber
- the build number of this releasepublic Date getBuildDate()
ReleaseModel
getBuildDate
in interface ReleaseModel
public void setBuildDate(Date buildDate)
ReleaseModel
setBuildDate
in interface ReleaseModel
buildDate
- the build date of this releasepublic boolean getVerified()
ReleaseModel
getVerified
in interface ReleaseModel
public boolean isVerified()
ReleaseModel
true
if this release is verified.
isVerified
in interface ReleaseModel
true
if this release is verified; false
otherwisepublic void setVerified(boolean verified)
ReleaseModel
setVerified
in interface ReleaseModel
verified
- the verified of this releasepublic int getState()
ReleaseModel
getState
in interface ReleaseModel
public void setState(int state)
ReleaseModel
setState
in interface ReleaseModel
state
- the state of this releasepublic String getTestString()
ReleaseModel
getTestString
in interface ReleaseModel
public void setTestString(String testString)
ReleaseModel
setTestString
in interface ReleaseModel
testString
- the test string of this releasepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Release>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ReleaseModel
getExpandoBridge
in class BaseModelImpl<Release>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Release>
setExpandoBridgeAttributes
in interface ReleaseModel
setExpandoBridgeAttributes
in class BaseModelImpl<Release>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Release toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Release>
toEscapedModel
in interface ReleaseModel
toEscapedModel
in class BaseModelImpl<Release>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<Release>
clone
in interface ReleaseModel
clone
in class BaseModelImpl<Release>
public int compareTo(Release release)
compareTo
in interface ReleaseModel
compareTo
in interface Comparable<Release>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ReleaseModel
hashCode
in class Object
public 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 ReleaseModel
toCacheModel
in class BaseModelImpl<Release>
public String toString()
toString
in interface ReleaseModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Release>
toXmlString
in interface ReleaseModel
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |