|
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.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()
Gets the change log of this s c product version. |
long |
getCompanyId()
Gets the company id of this s c product version. |
Date |
getCreateDate()
Gets the create date of this s c product version. |
String |
getDirectDownloadURL()
Gets the direct download u r l of this s c product version. |
String |
getDownloadPageURL()
Gets the download page u r l of this s c product version. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
List<SCFrameworkVersion> |
getFrameworkVersions()
|
Date |
getModifiedDate()
Gets the modified date of this s c product version. |
long |
getPrimaryKey()
Gets the primary key of this s c product version. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
SCProductEntry |
getProductEntry()
|
long |
getProductEntryId()
Gets the product entry id of this s c product version. |
long |
getProductVersionId()
Gets the product version id of this s c product version. |
boolean |
getRepoStoreArtifact()
Gets the repo store artifact of this s c product version. |
long |
getUserId()
Gets the user id of this s c product version. |
String |
getUserName()
Gets the user name of this s c product version. |
String |
getUserUuid()
Gets the user uuid of this s c product version. |
String |
getVersion()
Gets the version of this s c product version. |
SCProductVersion |
getWrappedSCProductVersion()
|
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 |
isRepoStoreArtifact()
Determines whether this s c product version is repo store artifact. |
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 |
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 s c product version. |
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 s c product version |
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 {$entity.humanName} 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. |
SCProductVersion |
toEscapedModel()
Gets a copy of this s c product version 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 SCProductVersionWrapper(SCProductVersion scProductVersion)
Method Detail |
---|
public long getPrimaryKey()
SCProductVersionModel
getPrimaryKey
in interface SCProductVersionModel
public void setPrimaryKey(long pk)
SCProductVersionModel
setPrimaryKey
in interface SCProductVersionModel
pk
- the primary key of this s c product versionpublic long getProductVersionId()
SCProductVersionModel
getProductVersionId
in interface SCProductVersionModel
public void setProductVersionId(long productVersionId)
SCProductVersionModel
setProductVersionId
in interface SCProductVersionModel
productVersionId
- the product version id of this s c product versionpublic long getCompanyId()
SCProductVersionModel
getCompanyId
in interface SCProductVersionModel
public void setCompanyId(long companyId)
SCProductVersionModel
setCompanyId
in interface SCProductVersionModel
companyId
- the company id of this s c product versionpublic long getUserId()
SCProductVersionModel
getUserId
in interface SCProductVersionModel
public void setUserId(long userId)
SCProductVersionModel
setUserId
in interface SCProductVersionModel
userId
- the user id of this s c product versionpublic String getUserUuid() throws SystemException
SCProductVersionModel
getUserUuid
in interface SCProductVersionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
SCProductVersionModel
setUserUuid
in interface SCProductVersionModel
userUuid
- the user uuid of this s c product versionpublic String getUserName()
SCProductVersionModel
getUserName
in interface SCProductVersionModel
public void setUserName(String userName)
SCProductVersionModel
setUserName
in interface SCProductVersionModel
userName
- the user name of this s c product versionpublic Date getCreateDate()
SCProductVersionModel
getCreateDate
in interface SCProductVersionModel
public void setCreateDate(Date createDate)
SCProductVersionModel
setCreateDate
in interface SCProductVersionModel
createDate
- the create date of this s c product versionpublic Date getModifiedDate()
SCProductVersionModel
getModifiedDate
in interface SCProductVersionModel
public void setModifiedDate(Date modifiedDate)
SCProductVersionModel
setModifiedDate
in interface SCProductVersionModel
modifiedDate
- the modified date of this s c product versionpublic long getProductEntryId()
SCProductVersionModel
getProductEntryId
in interface SCProductVersionModel
public void setProductEntryId(long productEntryId)
SCProductVersionModel
setProductEntryId
in interface SCProductVersionModel
productEntryId
- the product entry id of this s c product versionpublic String getVersion()
SCProductVersionModel
getVersion
in interface SCProductVersionModel
public void setVersion(String version)
SCProductVersionModel
setVersion
in interface SCProductVersionModel
version
- the version of this s c product versionpublic String getChangeLog()
SCProductVersionModel
getChangeLog
in interface SCProductVersionModel
public void setChangeLog(String changeLog)
SCProductVersionModel
setChangeLog
in interface SCProductVersionModel
changeLog
- the change log of this s c product versionpublic String getDownloadPageURL()
SCProductVersionModel
getDownloadPageURL
in interface SCProductVersionModel
public void setDownloadPageURL(String downloadPageURL)
SCProductVersionModel
setDownloadPageURL
in interface SCProductVersionModel
downloadPageURL
- the download page u r l of this s c product versionpublic String getDirectDownloadURL()
SCProductVersionModel
getDirectDownloadURL
in interface SCProductVersionModel
public void setDirectDownloadURL(String directDownloadURL)
SCProductVersionModel
setDirectDownloadURL
in interface SCProductVersionModel
directDownloadURL
- the direct download u r l of this s c product versionpublic boolean getRepoStoreArtifact()
SCProductVersionModel
getRepoStoreArtifact
in interface SCProductVersionModel
public boolean isRepoStoreArtifact()
SCProductVersionModel
isRepoStoreArtifact
in interface SCProductVersionModel
public void setRepoStoreArtifact(boolean repoStoreArtifact)
SCProductVersionModel
setRepoStoreArtifact
in interface SCProductVersionModel
repoStoreArtifact
- the repo store artifact of this s c product versionpublic SCProductVersion toEscapedModel()
SCProductVersionModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface SCProductVersionModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<SCProductVersion>
isEscapedModel
in interface SCProductVersionModel
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<SCProductVersion>
setEscapedModel
in interface SCProductVersionModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SCProductVersion>
getPrimaryKeyObj
in interface SCProductVersionModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SCProductVersion>
getExpandoBridge
in interface SCProductVersionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SCProductVersion>
setExpandoBridgeAttributes
in interface SCProductVersionModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString
in interface SCProductVersionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SCProductVersion>
toXmlString
in interface SCProductVersionModel
public List<SCFrameworkVersion> getFrameworkVersions() throws SystemException
getFrameworkVersions
in interface SCProductVersion
SystemException
public SCProductEntry getProductEntry()
getProductEntry
in interface SCProductVersion
public SCProductVersion getWrappedSCProductVersion()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |