|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.softwarecatalog.model.SCProductVersionWrapper
public class SCProductVersionWrapper
This class is a wrapper for SCProductVersion.
SCProductVersion,
Serialized Form| Constructor Summary | |
|---|---|
SCProductVersionWrapper(SCProductVersion scProductVersion)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SCProductVersion scProductVersion)
|
boolean |
equals(Object obj)
|
String |
getChangeLog()
Returns the change log of this s c product version. |
long |
getCompanyId()
Returns the company ID of this s c product version. |
Date |
getCreateDate()
Returns the create date of this s c product version. |
String |
getDirectDownloadURL()
Returns the direct download u r l of this s c product version. |
String |
getDownloadPageURL()
Returns the download page u r l of this s c product version. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
List<SCFrameworkVersion> |
getFrameworkVersions()
|
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this s c product version. |
long |
getPrimaryKey()
Returns the primary key of this s c product version. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
SCProductEntry |
getProductEntry()
|
long |
getProductEntryId()
Returns the product entry ID of this s c product version. |
long |
getProductVersionId()
Returns the product version ID of this s c product version. |
boolean |
getRepoStoreArtifact()
Returns the repo store artifact of this s c product version. |
long |
getUserId()
Returns the user ID of this s c product version. |
String |
getUserName()
Returns the user name of this s c product version. |
String |
getUserUuid()
Returns the user uuid of this s c product version. |
String |
getVersion()
Returns the version of this s c product version. |
SCProductVersion |
getWrappedModel()
|
SCProductVersion |
getWrappedSCProductVersion()
Deprecated. As of 6.1.0, replaced by 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 |
isRepoStoreArtifact()
Returns true if this s c product version is repo store artifact. |
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setChangeLog(String changeLog)
Sets the change log of this s c product version. |
void |
setCompanyId(long companyId)
Sets the company ID of this s c product version. |
void |
setCreateDate(Date createDate)
Sets the create date of this s c product version. |
void |
setDirectDownloadURL(String directDownloadURL)
Sets the direct download u r l of this s c product version. |
void |
setDownloadPageURL(String downloadPageURL)
Sets the download page u r l of this s c product version. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 s c product version. |
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 s c product version. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setProductEntryId(long productEntryId)
Sets the product entry ID of this s c product version. |
void |
setProductVersionId(long productVersionId)
Sets the product version ID of this s c product version. |
void |
setRepoStoreArtifact(boolean repoStoreArtifact)
Sets whether this s c product version is repo store artifact. |
void |
setUserId(long userId)
Sets the user ID of this s c product version. |
void |
setUserName(String userName)
Sets the user name of this s c product version. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this s c product version. |
void |
setVersion(String version)
Sets the version of this s c product version. |
CacheModel<SCProductVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
SCProductVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
SCProductVersion |
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 SCProductVersionWrapper(SCProductVersion scProductVersion)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SCProductVersion>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SCProductVersion>public long getPrimaryKey()
getPrimaryKey in interface SCProductVersionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SCProductVersionModelprimaryKey - the primary key of this s c product versionpublic long getProductVersionId()
getProductVersionId in interface SCProductVersionModelpublic void setProductVersionId(long productVersionId)
setProductVersionId in interface SCProductVersionModelproductVersionId - the product version ID of this s c product versionpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface SCProductVersionModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface SCProductVersionModelcompanyId - the company ID of this s c product versionpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface SCProductVersionModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface SCProductVersionModeluserId - the user ID of this s c product version
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface SCProductVersionModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface SCProductVersionModeluserUuid - the user uuid of this s c product versionpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface SCProductVersionModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface SCProductVersionModeluserName - the user name of this s c product versionpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface SCProductVersionModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface SCProductVersionModelcreateDate - the create date of this s c product versionpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface SCProductVersionModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface SCProductVersionModelmodifiedDate - the modified date of this s c product versionpublic long getProductEntryId()
getProductEntryId in interface SCProductVersionModelpublic void setProductEntryId(long productEntryId)
setProductEntryId in interface SCProductVersionModelproductEntryId - the product entry ID of this s c product versionpublic String getVersion()
getVersion in interface SCProductVersionModelpublic void setVersion(String version)
setVersion in interface SCProductVersionModelversion - the version of this s c product versionpublic String getChangeLog()
getChangeLog in interface SCProductVersionModelpublic void setChangeLog(String changeLog)
setChangeLog in interface SCProductVersionModelchangeLog - the change log of this s c product versionpublic String getDownloadPageURL()
getDownloadPageURL in interface SCProductVersionModelpublic void setDownloadPageURL(String downloadPageURL)
setDownloadPageURL in interface SCProductVersionModeldownloadPageURL - the download page u r l of this s c product versionpublic String getDirectDownloadURL()
getDirectDownloadURL in interface SCProductVersionModelpublic void setDirectDownloadURL(String directDownloadURL)
setDirectDownloadURL in interface SCProductVersionModeldirectDownloadURL - the direct download u r l of this s c product versionpublic boolean getRepoStoreArtifact()
getRepoStoreArtifact in interface SCProductVersionModelpublic boolean isRepoStoreArtifact()
true if this s c product version is repo store artifact.
isRepoStoreArtifact in interface SCProductVersionModeltrue if this s c product version is repo store artifact; false otherwisepublic void setRepoStoreArtifact(boolean repoStoreArtifact)
setRepoStoreArtifact in interface SCProductVersionModelrepoStoreArtifact - the repo store artifact of this s c product versionpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<SCProductVersion>isNew in interface SCProductVersionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<SCProductVersion>setNew in interface SCProductVersionModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<SCProductVersion>isCachedModel in interface SCProductVersionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<SCProductVersion>setCachedModel in interface SCProductVersionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<SCProductVersion>isEscapedModel in interface SCProductVersionModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SCProductVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SCProductVersionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<SCProductVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SCProductVersionModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SCProductVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SCProductVersionModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SCProductVersion>setExpandoBridgeAttributes in interface SCProductVersionModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SCProductVersion>setExpandoBridgeAttributes in interface SCProductVersionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SCProductVersion>setExpandoBridgeAttributes in interface SCProductVersionModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<SCProductVersion>clone in interface SCProductVersionModelclone in class Objectpublic int compareTo(SCProductVersion scProductVersion)
compareTo in interface SCProductVersionModelcompareTo in interface Comparable<SCProductVersion>public int hashCode()
hashCode in interface SCProductVersionModelhashCode in class Objectpublic CacheModel<SCProductVersion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SCProductVersion>toCacheModel in interface SCProductVersionModelpublic SCProductVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SCProductVersion>toEscapedModel in interface SCProductVersionModelAutoEscapeBeanHandlerpublic SCProductVersion toUnescapedModel()
toUnescapedModel in interface BaseModel<SCProductVersion>toUnescapedModel in interface SCProductVersionModelpublic String toString()
toString in interface SCProductVersionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SCProductVersion>toXmlString in interface SCProductVersionModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public List<SCFrameworkVersion> getFrameworkVersions()
throws SystemException
getFrameworkVersions in interface SCProductVersionSystemExceptionpublic SCProductEntry getProductEntry()
getProductEntry in interface SCProductVersionpublic boolean equals(Object obj)
equals in class Objectpublic SCProductVersion getWrappedSCProductVersion()
getWrappedModel()
public SCProductVersion getWrappedModel()
getWrappedModel in interface ModelWrapper<SCProductVersion>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<SCProductVersion>
|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||