|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReleaseModel
The base model interface for the Release service. Represents a row in the "Release_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation ReleaseModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ReleaseImpl
.
Release
,
ReleaseImpl
,
ReleaseModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Release release)
|
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. |
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. |
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 |
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 |
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 interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this releaselong getReleaseId()
void setReleaseId(long releaseId)
releaseId
- the release ID of this releaseDate getCreateDate()
void setCreateDate(Date createDate)
createDate
- the create date of this releaseDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate
- the modified date of this release@AutoEscape String getServletContextName()
void setServletContextName(String servletContextName)
servletContextName
- the servlet context name of this releaseint getBuildNumber()
void setBuildNumber(int buildNumber)
buildNumber
- the build number of this releaseDate getBuildDate()
void setBuildDate(Date buildDate)
buildDate
- the build date of this releaseboolean getVerified()
boolean isVerified()
true
if this release is verified.
true
if this release is verified; false
otherwisevoid setVerified(boolean verified)
verified
- the verified of this releaseint getState()
void setState(int state)
state
- the state of this release@AutoEscape String getTestString()
void setTestString(String testString)
testString
- the test string of this releaseboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<Release>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<Release>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<Release>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Release>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Release>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Release>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Release>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Release>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Release>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<Release>
int compareTo(Release release)
compareTo
in interface Comparable<Release>
int hashCode()
hashCode
in class Object
CacheModel<Release> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Release>
Release toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Release>
AutoEscapeBeanHandler
Release toUnescapedModel()
toUnescapedModel
in interface BaseModel<Release>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
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 |