|
Liferay 6.1.10-ee-ga1 | |||||||||
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 FormConstructor Summary | |
---|---|
SCProductVersionWrapper(SCProductVersion scProductVersion)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SCProductVersion scProductVersion)
|
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()
|
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. 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 |
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(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 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()
|
String |
toXmlString()
Returns 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 SCProductVersionWrapper(SCProductVersion scProductVersion)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public long getPrimaryKey()
getPrimaryKey
in interface SCProductVersionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SCProductVersionModel
primaryKey
- the primary key of this s c product versionpublic long getProductVersionId()
getProductVersionId
in interface SCProductVersionModel
public void setProductVersionId(long productVersionId)
setProductVersionId
in interface SCProductVersionModel
productVersionId
- the product version ID of this s c product versionpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface SCProductVersionModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface SCProductVersionModel
companyId
- the company ID of this s c product versionpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface SCProductVersionModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface SCProductVersionModel
userId
- the user ID of this s c product versionpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface SCProductVersionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface SCProductVersionModel
userUuid
- the user uuid of this s c product versionpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface SCProductVersionModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface SCProductVersionModel
userName
- the user name of this s c product versionpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface SCProductVersionModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface SCProductVersionModel
createDate
- the create date of this s c product versionpublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface SCProductVersionModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface SCProductVersionModel
modifiedDate
- the modified date of this s c product versionpublic long getProductEntryId()
getProductEntryId
in interface SCProductVersionModel
public void setProductEntryId(long productEntryId)
setProductEntryId
in interface SCProductVersionModel
productEntryId
- the product entry ID of this s c product versionpublic String getVersion()
getVersion
in interface SCProductVersionModel
public void setVersion(String version)
setVersion
in interface SCProductVersionModel
version
- the version of this s c product versionpublic String getChangeLog()
getChangeLog
in interface SCProductVersionModel
public void setChangeLog(String changeLog)
setChangeLog
in interface SCProductVersionModel
changeLog
- the change log of this s c product versionpublic String getDownloadPageURL()
getDownloadPageURL
in interface SCProductVersionModel
public void setDownloadPageURL(String downloadPageURL)
setDownloadPageURL
in interface SCProductVersionModel
downloadPageURL
- the download page u r l of this s c product versionpublic String getDirectDownloadURL()
getDirectDownloadURL
in interface SCProductVersionModel
public void setDirectDownloadURL(String directDownloadURL)
setDirectDownloadURL
in interface SCProductVersionModel
directDownloadURL
- the direct download u r l of this s c product versionpublic boolean getRepoStoreArtifact()
getRepoStoreArtifact
in interface SCProductVersionModel
public boolean isRepoStoreArtifact()
true
if this s c product version is repo store artifact.
isRepoStoreArtifact
in interface SCProductVersionModel
true
if this s c product version is repo store artifact; false
otherwisepublic void setRepoStoreArtifact(boolean repoStoreArtifact)
setRepoStoreArtifact
in interface SCProductVersionModel
repoStoreArtifact
- the repo store artifact of this s c product versionpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<SCProductVersion>
isNew
in interface SCProductVersionModel
true
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 SCProductVersionModel
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<SCProductVersion>
isCachedModel
in interface SCProductVersionModel
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<SCProductVersion>
setCachedModel
in interface SCProductVersionModel
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<SCProductVersion>
isEscapedModel
in interface SCProductVersionModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SCProductVersion>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SCProductVersionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SCProductVersion>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SCProductVersionModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SCProductVersion>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SCProductVersionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SCProductVersion>
setExpandoBridgeAttributes
in interface SCProductVersionModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SCProductVersion>
clone
in interface SCProductVersionModel
clone
in class Object
public int compareTo(SCProductVersion scProductVersion)
compareTo
in interface SCProductVersionModel
compareTo
in interface Comparable<SCProductVersion>
public int hashCode()
hashCode
in interface SCProductVersionModel
hashCode
in class Object
public CacheModel<SCProductVersion> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SCProductVersion>
toCacheModel
in interface SCProductVersionModel
public SCProductVersion toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SCProductVersion>
toEscapedModel
in interface SCProductVersionModel
AutoEscapeBeanHandler
public String toString()
toString
in interface SCProductVersionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SCProductVersion>
toXmlString
in interface SCProductVersionModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic List<SCFrameworkVersion> getFrameworkVersions() throws SystemException
getFrameworkVersions
in interface SCProductVersion
SystemException
public SCProductEntry getProductEntry()
getProductEntry
in interface SCProductVersion
public SCProductVersion getWrappedSCProductVersion()
getWrappedModel()
public SCProductVersion getWrappedModel()
getWrappedModel
in interface ModelWrapper<SCProductVersion>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SCProductVersion>
|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |