|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.ReleaseWrapper
public class ReleaseWrapper
This class is a wrapper for Release
.
Release
,
Serialized FormConstructor Summary | |
---|---|
ReleaseWrapper(Release release)
|
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. |
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 |
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. |
Release |
getWrappedModel()
|
Release |
getWrappedRelease()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isVerified()
Returns true if this release is verified. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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()
|
Release |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReleaseWrapper(Release release)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Release>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Release>
public long getPrimaryKey()
getPrimaryKey
in interface ReleaseModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ReleaseModel
primaryKey
- the primary key of this releasepublic long getReleaseId()
getReleaseId
in interface ReleaseModel
public void setReleaseId(long releaseId)
setReleaseId
in interface ReleaseModel
releaseId
- the release ID of this releasepublic Date getCreateDate()
getCreateDate
in interface ReleaseModel
public void setCreateDate(Date createDate)
setCreateDate
in interface ReleaseModel
createDate
- the create date of this releasepublic Date getModifiedDate()
getModifiedDate
in interface ReleaseModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface ReleaseModel
modifiedDate
- the modified date of this releasepublic String getServletContextName()
getServletContextName
in interface ReleaseModel
public void setServletContextName(String servletContextName)
setServletContextName
in interface ReleaseModel
servletContextName
- the servlet context name of this releasepublic int getBuildNumber()
getBuildNumber
in interface ReleaseModel
public void setBuildNumber(int buildNumber)
setBuildNumber
in interface ReleaseModel
buildNumber
- the build number of this releasepublic Date getBuildDate()
getBuildDate
in interface ReleaseModel
public void setBuildDate(Date buildDate)
setBuildDate
in interface ReleaseModel
buildDate
- the build date of this releasepublic boolean getVerified()
getVerified
in interface ReleaseModel
public boolean isVerified()
true
if this release is verified.
isVerified
in interface ReleaseModel
true
if this release is verified; false
otherwisepublic void setVerified(boolean verified)
setVerified
in interface ReleaseModel
verified
- the verified of this releasepublic int getState()
getState
in interface ReleaseModel
public void setState(int state)
setState
in interface ReleaseModel
state
- the state of this releasepublic String getTestString()
getTestString
in interface ReleaseModel
public void setTestString(String testString)
setTestString
in interface ReleaseModel
testString
- the test string of this releasepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<Release>
isNew
in interface ReleaseModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<Release>
setNew
in interface ReleaseModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<Release>
isCachedModel
in interface ReleaseModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Release>
setCachedModel
in interface ReleaseModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Release>
isEscapedModel
in interface ReleaseModel
true
if this model instance is escaped;
false
otherwisepublic 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Release>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ReleaseModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Release>
setExpandoBridgeAttributes
in interface ReleaseModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<Release>
clone
in interface ReleaseModel
clone
in class Object
public int compareTo(Release release)
compareTo
in interface ReleaseModel
compareTo
in interface Comparable<Release>
public int hashCode()
hashCode
in interface ReleaseModel
hashCode
in class Object
public CacheModel<Release> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Release>
toCacheModel
in interface ReleaseModel
public Release toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Release>
toEscapedModel
in interface ReleaseModel
AutoEscapeBeanHandler
public Release toUnescapedModel()
toUnescapedModel
in interface BaseModel<Release>
toUnescapedModel
in interface ReleaseModel
public String toString()
toString
in interface ReleaseModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Release>
toXmlString
in interface ReleaseModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public Release getWrappedRelease()
getWrappedModel()
public Release getWrappedModel()
getWrappedModel
in interface ModelWrapper<Release>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Release>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |