@ProviderType public class SCProductEntryWrapper extends java.lang.Object implements SCProductEntry, ModelWrapper<SCProductEntry>
This class is a wrapper for SCProductEntry.
SCProductEntry,
Serialized Form| Constructor and Description |
|---|
SCProductEntryWrapper(SCProductEntry scProductEntry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SCProductEntry scProductEntry) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthor()
Returns the author of this s c product entry.
|
long |
getCompanyId()
Returns the company ID of this s c product entry.
|
java.util.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() |
java.util.List<SCLicense> |
getLicenses() |
java.lang.String |
getLongDescription()
Returns the long description of this s c product entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this s c product entry.
|
java.lang.String |
getName()
Returns the name of this s c product entry.
|
java.lang.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.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getProductEntryId()
Returns the product entry ID of this s c product entry.
|
java.lang.String |
getRepoArtifactId()
Returns the repo artifact ID of this s c product entry.
|
java.lang.String |
getRepoGroupId()
Returns the repo group ID of this s c product entry.
|
java.util.List<SCProductScreenshot> |
getScreenshots() |
java.lang.String |
getShortDescription()
Returns the short description of this s c product entry.
|
java.lang.String |
getTags()
Returns the tags of this s c product entry.
|
java.lang.String |
getType()
Returns the type of this s c product entry.
|
long |
getUserId()
Returns the user ID of this s c product entry.
|
java.lang.String |
getUserName()
Returns the user name of this s c product entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this s c product entry.
|
SCProductEntry |
getWrappedModel() |
SCProductEntry |
getWrappedSCProductEntry()
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. |
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(java.lang.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(java.util.Date createDate)
Sets the create date of this s c product entry.
|
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 |
setGroupId(long groupId)
Sets the group ID of this s c product entry.
|
void |
setLongDescription(java.lang.String longDescription)
Sets the long description of this s c product entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this s c product entry.
|
void |
setName(java.lang.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(java.lang.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(java.io.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(java.lang.String repoArtifactId)
Sets the repo artifact ID of this s c product entry.
|
void |
setRepoGroupId(java.lang.String repoGroupId)
Sets the repo group ID of this s c product entry.
|
void |
setShortDescription(java.lang.String shortDescription)
Sets the short description of this s c product entry.
|
void |
setTags(java.lang.String tags)
Sets the tags of this s c product entry.
|
void |
setType(java.lang.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(java.lang.String userName)
Sets the user name of this s c product entry.
|
void |
setUserUuid(java.lang.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. |
java.lang.String |
toString() |
SCProductEntry |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public SCProductEntryWrapper(SCProductEntry scProductEntry)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<SCProductEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<SCProductEntry>public 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 entrypublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface SCProductEntryModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface SCProductEntryModeluserUuid - the user uuid of this s c product entrypublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface SCProductEntryModelpublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface SCProductEntryModeluserName - the user name of this s c product entrypublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface SCProductEntryModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface SCProductEntryModelcreateDate - the create date of this s c product entrypublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface SCProductEntryModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface SCProductEntryModelmodifiedDate - the modified date of this s c product entrypublic java.lang.String getName()
getName in interface SCProductEntryModelpublic void setName(java.lang.String name)
setName in interface SCProductEntryModelname - the name of this s c product entrypublic java.lang.String getType()
getType in interface SCProductEntryModelpublic void setType(java.lang.String type)
setType in interface SCProductEntryModeltype - the type of this s c product entrypublic java.lang.String getTags()
getTags in interface SCProductEntryModelpublic void setTags(java.lang.String tags)
setTags in interface SCProductEntryModeltags - the tags of this s c product entrypublic java.lang.String getShortDescription()
getShortDescription in interface SCProductEntryModelpublic void setShortDescription(java.lang.String shortDescription)
setShortDescription in interface SCProductEntryModelshortDescription - the short description of this s c product entrypublic java.lang.String getLongDescription()
getLongDescription in interface SCProductEntryModelpublic void setLongDescription(java.lang.String longDescription)
setLongDescription in interface SCProductEntryModellongDescription - the long description of this s c product entrypublic java.lang.String getPageURL()
getPageURL in interface SCProductEntryModelpublic void setPageURL(java.lang.String pageURL)
setPageURL in interface SCProductEntryModelpageURL - the page u r l of this s c product entrypublic java.lang.String getAuthor()
getAuthor in interface SCProductEntryModelpublic void setAuthor(java.lang.String author)
setAuthor in interface SCProductEntryModelauthor - the author of this s c product entrypublic java.lang.String getRepoGroupId()
getRepoGroupId in interface SCProductEntryModelpublic void setRepoGroupId(java.lang.String repoGroupId)
setRepoGroupId in interface SCProductEntryModelrepoGroupId - the repo group ID of this s c product entrypublic java.lang.String getRepoArtifactId()
getRepoArtifactId in interface SCProductEntryModelpublic void setRepoArtifactId(java.lang.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)
BaseModelsetNew 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)
BaseModelsetCachedModel 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SCProductEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SCProductEntryModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SCProductEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SCProductEntryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SCProductEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SCProductEntryModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SCProductEntry>setExpandoBridgeAttributes in interface SCProductEntryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SCProductEntry>setExpandoBridgeAttributes in interface SCProductEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SCProductEntry>setExpandoBridgeAttributes in interface SCProductEntryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<SCProductEntry>clone in interface SCProductEntryModelclone in class java.lang.Objectpublic int compareTo(SCProductEntry scProductEntry)
compareTo in interface SCProductEntryModelcompareTo in interface java.lang.Comparable<SCProductEntry>public int hashCode()
hashCode in interface SCProductEntryModelhashCode in class java.lang.Objectpublic CacheModel<SCProductEntry> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SCProductEntry>toCacheModel in interface SCProductEntryModelpublic SCProductEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SCProductEntry>toEscapedModel in interface SCProductEntryModelAutoEscapeBeanHandlerpublic SCProductEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<SCProductEntry>toUnescapedModel in interface SCProductEntryModelpublic java.lang.String toString()
toString in interface SCProductEntryModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<SCProductEntry>toXmlString in interface SCProductEntryModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic SCProductVersion getLatestVersion() throws SystemException
getLatestVersion in interface SCProductEntrySystemExceptionpublic java.util.List<SCLicense> getLicenses() throws SystemException
getLicenses in interface SCProductEntrySystemExceptionpublic java.util.List<SCProductScreenshot> getScreenshots() throws SystemException
getScreenshots in interface SCProductEntrySystemExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic SCProductEntry getWrappedSCProductEntry()
getWrappedModel()public SCProductEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<SCProductEntry>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SCProductEntry>