|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.ReleaseWrapper
public class ReleaseWrapper
This class is a wrapper for Release.
Release,
Serialized Form| Constructor Summary | |
|---|---|
ReleaseWrapper(Release release)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Release release)
|
Date |
getBuildDate()
Gets the build date of this release. |
int |
getBuildNumber()
Gets the build number of this release. |
Date |
getCreateDate()
Gets the create date of this release. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Date |
getModifiedDate()
Gets the modified date of this release. |
long |
getPrimaryKey()
Gets the primary key of this release. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getReleaseId()
Gets the release id of this release. |
String |
getServletContextName()
Gets the servlet context name of this release. |
String |
getTestString()
Gets the test string of this release. |
boolean |
getVerified()
Gets the verified of this release. |
Release |
getWrappedRelease()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isVerified()
Determines whether this release is verified. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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 pk)
Sets the primary key of this release |
void |
setReleaseId(long releaseId)
Sets the release id of this release. |
void |
setServletContextName(String servletContextName)
Sets the servlet context name of this release. |
void |
setTestString(String testString)
Sets the test string of this release. |
void |
setVerified(boolean verified)
Sets whether this {$entity.humanName} is verified. |
Release |
toEscapedModel()
Gets a copy of this release as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReleaseWrapper(Release release)
| Method Detail |
|---|
public long getPrimaryKey()
ReleaseModel
getPrimaryKey in interface ReleaseModelpublic void setPrimaryKey(long pk)
ReleaseModel
setPrimaryKey in interface ReleaseModelpk - the primary key 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 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 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()
ReleaseModel
isVerified in interface ReleaseModelpublic void setVerified(boolean verified)
ReleaseModel
setVerified in interface ReleaseModelverified - the verified 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 Release toEscapedModel()
ReleaseModelAutoEscapeBeanHandler.
toEscapedModel in interface ReleaseModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Release>isNew in interface ReleaseModeltrue 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 ReleaseModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Release>isCachedModel in interface ReleaseModeltrue 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 ReleaseModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Release>isEscapedModel in interface ReleaseModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Release>setEscapedModel in interface ReleaseModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Release>getPrimaryKeyObj in interface ReleaseModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Release>getExpandoBridge in interface ReleaseModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Release>setExpandoBridgeAttributes in interface ReleaseModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Release>clone in interface ReleaseModelclone in class Objectpublic int compareTo(Release release)
compareTo in interface ReleaseModelcompareTo in interface Comparable<Release>public int hashCode()
hashCode in interface ReleaseModelhashCode in class Objectpublic String toString()
toString in interface ReleaseModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Release>toXmlString in interface ReleaseModelpublic Release getWrappedRelease()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||