|
Liferay 6.0.5 | |||||||||
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)
|
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 ReleaseModel
public void setPrimaryKey(long pk)
ReleaseModel
setPrimaryKey
in interface ReleaseModel
pk
- the primary key of this releasepublic 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 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
isVerified
in interface ReleaseModel
public void setVerified(boolean verified)
ReleaseModel
setVerified
in interface ReleaseModel
verified
- the verified 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 Release toEscapedModel()
ReleaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface ReleaseModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<Release>
isEscapedModel
in interface ReleaseModel
true
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 ReleaseModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Release>
getPrimaryKeyObj
in interface ReleaseModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Release>
getExpandoBridge
in interface ReleaseModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Release>
setExpandoBridgeAttributes
in interface ReleaseModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString
in interface ReleaseModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Release>
toXmlString
in interface ReleaseModel
public Release getWrappedRelease()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |