|
Liferay 6.1.2-ce-ga3 | |||||||||
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 FormConstructor Summary | |
---|---|
SCProductEntryWrapper(SCProductEntry scProductEntry)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SCProductEntry scProductEntry)
|
boolean |
equals(Object obj)
|
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. |
Map<String,Object> |
getModelAttributes()
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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()
|
SCProductEntry |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SCProductEntryWrapper(SCProductEntry scProductEntry)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SCProductEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SCProductEntry>
public long getPrimaryKey()
getPrimaryKey
in interface SCProductEntryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SCProductEntryModel
primaryKey
- the primary key of this s c product entrypublic long getProductEntryId()
getProductEntryId
in interface SCProductEntryModel
public void setProductEntryId(long productEntryId)
setProductEntryId
in interface SCProductEntryModel
productEntryId
- the product entry ID of this s c product entrypublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface SCProductEntryModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface SCProductEntryModel
groupId
- the group ID of this s c product entrypublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface SCProductEntryModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface SCProductEntryModel
companyId
- the company ID of this s c product entrypublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface SCProductEntryModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface SCProductEntryModel
userId
- the user ID of this s c product entrypublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface SCProductEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface SCProductEntryModel
userUuid
- the user uuid of this s c product entrypublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface SCProductEntryModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface SCProductEntryModel
userName
- the user name of this s c product entrypublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface SCProductEntryModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface SCProductEntryModel
createDate
- the create date of this s c product entrypublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface SCProductEntryModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface SCProductEntryModel
modifiedDate
- the modified date of this s c product entrypublic String getName()
getName
in interface SCProductEntryModel
public void setName(String name)
setName
in interface SCProductEntryModel
name
- the name of this s c product entrypublic String getType()
getType
in interface SCProductEntryModel
public void setType(String type)
setType
in interface SCProductEntryModel
type
- the type of this s c product entrypublic String getTags()
getTags
in interface SCProductEntryModel
public void setTags(String tags)
setTags
in interface SCProductEntryModel
tags
- the tags of this s c product entrypublic String getShortDescription()
getShortDescription
in interface SCProductEntryModel
public void setShortDescription(String shortDescription)
setShortDescription
in interface SCProductEntryModel
shortDescription
- the short description of this s c product entrypublic String getLongDescription()
getLongDescription
in interface SCProductEntryModel
public void setLongDescription(String longDescription)
setLongDescription
in interface SCProductEntryModel
longDescription
- the long description of this s c product entrypublic String getPageURL()
getPageURL
in interface SCProductEntryModel
public void setPageURL(String pageURL)
setPageURL
in interface SCProductEntryModel
pageURL
- the page u r l of this s c product entrypublic String getAuthor()
getAuthor
in interface SCProductEntryModel
public void setAuthor(String author)
setAuthor
in interface SCProductEntryModel
author
- the author of this s c product entrypublic String getRepoGroupId()
getRepoGroupId
in interface SCProductEntryModel
public void setRepoGroupId(String repoGroupId)
setRepoGroupId
in interface SCProductEntryModel
repoGroupId
- the repo group ID of this s c product entrypublic String getRepoArtifactId()
getRepoArtifactId
in interface SCProductEntryModel
public void setRepoArtifactId(String repoArtifactId)
setRepoArtifactId
in interface SCProductEntryModel
repoArtifactId
- the repo artifact ID of this s c product entrypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<SCProductEntry>
isNew
in interface SCProductEntryModel
true
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 SCProductEntryModel
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<SCProductEntry>
isCachedModel
in interface SCProductEntryModel
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<SCProductEntry>
setCachedModel
in interface SCProductEntryModel
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<SCProductEntry>
isEscapedModel
in interface SCProductEntryModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SCProductEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SCProductEntryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SCProductEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SCProductEntryModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SCProductEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SCProductEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SCProductEntry>
setExpandoBridgeAttributes
in interface SCProductEntryModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SCProductEntry>
clone
in interface SCProductEntryModel
clone
in class Object
public int compareTo(SCProductEntry scProductEntry)
compareTo
in interface SCProductEntryModel
compareTo
in interface Comparable<SCProductEntry>
public int hashCode()
hashCode
in interface SCProductEntryModel
hashCode
in class Object
public CacheModel<SCProductEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SCProductEntry>
toCacheModel
in interface SCProductEntryModel
public SCProductEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SCProductEntry>
toEscapedModel
in interface SCProductEntryModel
AutoEscapeBeanHandler
public SCProductEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<SCProductEntry>
toUnescapedModel
in interface SCProductEntryModel
public String toString()
toString
in interface SCProductEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SCProductEntry>
toXmlString
in interface SCProductEntryModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic SCProductVersion getLatestVersion() throws SystemException
getLatestVersion
in interface SCProductEntry
SystemException
public List<SCLicense> getLicenses() throws SystemException
getLicenses
in interface SCProductEntry
SystemException
public List<SCProductScreenshot> getScreenshots() throws SystemException
getScreenshots
in interface SCProductEntry
SystemException
public boolean equals(Object obj)
equals
in class Object
public SCProductEntry getWrappedSCProductEntry()
getWrappedModel()
public SCProductEntry getWrappedModel()
getWrappedModel
in interface ModelWrapper<SCProductEntry>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SCProductEntry>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |