|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.softwarecatalog.model.SCProductEntryWrapper
public class SCProductEntryWrapper
This class is a wrapper for SCProductEntry.
SCProductEntry,
Serialized Form| Constructor Summary | |
|---|---|
SCProductEntryWrapper(SCProductEntry scProductEntry)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SCProductEntry scProductEntry)
|
String |
getAuthor()
Returns the author of this s c product entry. |
long |
getCompanyId()
Returns the company ID of this s c product entry. |
Date |
getCreateDate()
Returns the create date of this s c product entry. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this s c product entry. |
SCProductVersion |
getLatestVersion()
|
List<SCLicense> |
getLicenses()
|
String |
getLongDescription()
Returns the long description of this s c product entry. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this s c product entry. |
String |
getName()
Returns the name of this s c product entry. |
String |
getPageURL()
Returns the page u r l of this s c product entry. |
long |
getPrimaryKey()
Returns the primary key of this s c product entry. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getProductEntryId()
Returns the product entry ID of this s c product entry. |
String |
getRepoArtifactId()
Returns the repo artifact ID of this s c product entry. |
String |
getRepoGroupId()
Returns the repo group ID of this s c product entry. |
List<SCProductScreenshot> |
getScreenshots()
|
String |
getShortDescription()
Returns the short description of this s c product entry. |
String |
getTags()
Returns the tags of this s c product entry. |
String |
getType()
Returns the type of this s c product entry. |
long |
getUserId()
Returns the user ID of this s c product entry. |
String |
getUserName()
Returns the user name of this s c product entry. |
String |
getUserUuid()
Returns the user uuid of this s c product entry. |
SCProductEntry |
getWrappedModel()
|
SCProductEntry |
getWrappedSCProductEntry()
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. |
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 |
setAuthor(String author)
Sets the author of this s c product entry. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
Sets the company ID of this s c product entry. |
void |
setCreateDate(Date createDate)
Sets the create date of this s c product entry. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this s c product entry. |
void |
setLongDescription(String longDescription)
Sets the long description of this s c product entry. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this s c product entry. |
void |
setName(String name)
Sets the name of this s c product entry. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPageURL(String pageURL)
Sets the page u r l of this s c product entry. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this s c product entry. |
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 entry. |
void |
setRepoArtifactId(String repoArtifactId)
Sets the repo artifact ID of this s c product entry. |
void |
setRepoGroupId(String repoGroupId)
Sets the repo group ID of this s c product entry. |
void |
setShortDescription(String shortDescription)
Sets the short description of this s c product entry. |
void |
setTags(String tags)
Sets the tags of this s c product entry. |
void |
setType(String type)
Sets the type of this s c product entry. |
void |
setUserId(long userId)
Sets the user ID of this s c product entry. |
void |
setUserName(String userName)
Sets the user name of this s c product entry. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this s c product entry. |
CacheModel<SCProductEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
SCProductEntry |
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 SCProductEntryWrapper(SCProductEntry scProductEntry)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface SCProductEntryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SCProductEntryModelprimaryKey - the primary key of this s c product entrypublic long getProductEntryId()
getProductEntryId in interface SCProductEntryModelpublic void setProductEntryId(long productEntryId)
setProductEntryId in interface SCProductEntryModelproductEntryId - the product entry ID of this s c product entrypublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface SCProductEntryModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface SCProductEntryModelgroupId - the group ID of this s c product entrypublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface SCProductEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface SCProductEntryModelcompanyId - the company ID of this s c product entrypublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface SCProductEntryModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface SCProductEntryModeluserId - the user ID of this s c product entry
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface SCProductEntryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface SCProductEntryModeluserUuid - the user uuid of this s c product entrypublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface SCProductEntryModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface SCProductEntryModeluserName - the user name of this s c product entrypublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface SCProductEntryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface SCProductEntryModelcreateDate - the create date of this s c product entrypublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface SCProductEntryModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface SCProductEntryModelmodifiedDate - the modified date of this s c product entrypublic String getName()
getName in interface SCProductEntryModelpublic void setName(String name)
setName in interface SCProductEntryModelname - the name of this s c product entrypublic String getType()
getType in interface SCProductEntryModelpublic void setType(String type)
setType in interface SCProductEntryModeltype - the type of this s c product entrypublic String getTags()
getTags in interface SCProductEntryModelpublic void setTags(String tags)
setTags in interface SCProductEntryModeltags - the tags of this s c product entrypublic String getShortDescription()
getShortDescription in interface SCProductEntryModelpublic void setShortDescription(String shortDescription)
setShortDescription in interface SCProductEntryModelshortDescription - the short description of this s c product entrypublic String getLongDescription()
getLongDescription in interface SCProductEntryModelpublic void setLongDescription(String longDescription)
setLongDescription in interface SCProductEntryModellongDescription - the long description of this s c product entrypublic String getPageURL()
getPageURL in interface SCProductEntryModelpublic void setPageURL(String pageURL)
setPageURL in interface SCProductEntryModelpageURL - the page u r l of this s c product entrypublic String getAuthor()
getAuthor in interface SCProductEntryModelpublic void setAuthor(String author)
setAuthor in interface SCProductEntryModelauthor - the author of this s c product entrypublic String getRepoGroupId()
getRepoGroupId in interface SCProductEntryModelpublic void setRepoGroupId(String repoGroupId)
setRepoGroupId in interface SCProductEntryModelrepoGroupId - the repo group ID of this s c product entrypublic String getRepoArtifactId()
getRepoArtifactId in interface SCProductEntryModelpublic void setRepoArtifactId(String repoArtifactId)
setRepoArtifactId in interface SCProductEntryModelrepoArtifactId - the repo artifact ID of this s c product entrypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<SCProductEntry>isNew in interface SCProductEntryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<SCProductEntry>setNew in interface SCProductEntryModeln - 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<SCProductEntry>isCachedModel in interface SCProductEntryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<SCProductEntry>setCachedModel in interface SCProductEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<SCProductEntry>isEscapedModel in interface SCProductEntryModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SCProductEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SCProductEntryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<SCProductEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SCProductEntryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SCProductEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SCProductEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SCProductEntry>setExpandoBridgeAttributes in interface SCProductEntryModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<SCProductEntry>clone in interface SCProductEntryModelclone in class Objectpublic int compareTo(SCProductEntry scProductEntry)
compareTo in interface SCProductEntryModelcompareTo in interface Comparable<SCProductEntry>public int hashCode()
hashCode in interface SCProductEntryModelhashCode in class Objectpublic CacheModel<SCProductEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SCProductEntry>toCacheModel in interface SCProductEntryModelpublic SCProductEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SCProductEntry>toEscapedModel in interface SCProductEntryModelAutoEscapeBeanHandlerpublic String toString()
toString in interface SCProductEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SCProductEntry>toXmlString in interface SCProductEntryModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public SCProductVersion getLatestVersion()
throws SystemException
getLatestVersion in interface SCProductEntrySystemException
public List<SCLicense> getLicenses()
throws SystemException
getLicenses in interface SCProductEntrySystemException
public List<SCProductScreenshot> getScreenshots()
throws SystemException
getScreenshots in interface SCProductEntrySystemExceptionpublic SCProductEntry getWrappedSCProductEntry()
getWrappedModel()
public SCProductEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<SCProductEntry>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<SCProductEntry>
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||