@ProviderType public class SCProductEntryWrapper extends java.lang.Object implements SCProductEntry, ModelWrapper<SCProductEntry>
This class is a wrapper for SCProductEntry.
SCProductEntry,
Serialized FormPRODUCT_ENTRY_ID_ACCESSOR| 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 |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
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 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 java.lang.String getAuthor()
getAuthor in interface SCProductEntryModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface SCProductEntryModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface SCProductEntryModelpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SCProductEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SCProductEntryModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface SCProductEntryModelpublic SCProductVersion getLatestVersion()
getLatestVersion in interface SCProductEntrypublic java.util.List<SCLicense> getLicenses()
getLicenses in interface SCProductEntrypublic java.lang.String getLongDescription()
getLongDescription in interface SCProductEntryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface SCProductEntryModelpublic java.lang.String getName()
getName in interface SCProductEntryModelpublic java.lang.String getPageURL()
getPageURL in interface SCProductEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface SCProductEntryModelpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SCProductEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SCProductEntryModelpublic long getProductEntryId()
getProductEntryId in interface SCProductEntryModelpublic java.lang.String getRepoArtifactId()
getRepoArtifactId in interface SCProductEntryModelpublic java.lang.String getRepoGroupId()
getRepoGroupId in interface SCProductEntryModelpublic java.util.List<SCProductScreenshot> getScreenshots()
getScreenshots in interface SCProductEntrypublic java.lang.String getShortDescription()
getShortDescription in interface SCProductEntryModelpublic java.lang.String getTags()
getTags in interface SCProductEntryModelpublic java.lang.String getType()
getType in interface SCProductEntryModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface SCProductEntryModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface SCProductEntryModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface SCProductEntryModelpublic int hashCode()
hashCode in interface SCProductEntryModelhashCode in class java.lang.Objectpublic 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 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 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 persist()
PersistedModelpersist in interface PersistedModelpublic void setAuthor(java.lang.String author)
setAuthor in interface SCProductEntryModelauthor - the author of this s c product entrypublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SCProductEntry>setCachedModel in interface SCProductEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface SCProductEntryModelcompanyId - the company ID of this s c product entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface SCProductEntryModelcreateDate - the create date of this s c product entrypublic 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 void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface SCProductEntryModelgroupId - the group ID of this s c product entrypublic void setLongDescription(java.lang.String longDescription)
setLongDescription in interface SCProductEntryModellongDescription - the long description of this s c product entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface SCProductEntryModelmodifiedDate - the modified date of this s c product entrypublic void setName(java.lang.String name)
setName in interface SCProductEntryModelname - the name of this s c product entrypublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SCProductEntry>setNew in interface SCProductEntryModeln - whether this model instance does not yet exist in the databasepublic void setPageURL(java.lang.String pageURL)
setPageURL in interface SCProductEntryModelpageURL - the page u r l of this s c product entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SCProductEntryModelprimaryKey - the primary key of this s c product entrypublic 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 void setProductEntryId(long productEntryId)
setProductEntryId in interface SCProductEntryModelproductEntryId - the product entry ID of this s c product entrypublic void setRepoArtifactId(java.lang.String repoArtifactId)
setRepoArtifactId in interface SCProductEntryModelrepoArtifactId - the repo artifact ID of this s c product entrypublic void setRepoGroupId(java.lang.String repoGroupId)
setRepoGroupId in interface SCProductEntryModelrepoGroupId - the repo group ID of this s c product entrypublic void setShortDescription(java.lang.String shortDescription)
setShortDescription in interface SCProductEntryModelshortDescription - the short description of this s c product entrypublic void setTags(java.lang.String tags)
setTags in interface SCProductEntryModeltags - the tags of this s c product entrypublic void setType(java.lang.String type)
setType in interface SCProductEntryModeltype - the type of this s c product entrypublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface SCProductEntryModeluserId - the user ID of this s c product entrypublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface SCProductEntryModeluserName - the user name of this s c product entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface SCProductEntryModeluserUuid - the user uuid of this s c product entrypublic CacheModel<SCProductEntry> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SCProductEntry>toCacheModel in interface SCProductEntryModelpublic SCProductEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SCProductEntry>toEscapedModel in interface SCProductEntryModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface SCProductEntryModeltoString in class java.lang.Objectpublic SCProductEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<SCProductEntry>toUnescapedModel in interface SCProductEntryModelpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<SCProductEntry>toXmlString in interface SCProductEntryModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Deprecated public SCProductEntry getWrappedSCProductEntry()
getWrappedModel()public SCProductEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<SCProductEntry>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<SCProductEntry>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<SCProductEntry>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SCProductEntry>