|
Liferay 6.0-ee | |||||||||
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)
|
String |
getAuthor()
Gets the author of this s c product entry. |
long |
getCompanyId()
Gets the company id of this s c product entry. |
Date |
getCreateDate()
Gets the create date of this s c product entry. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this s c product entry. |
SCProductVersion |
getLatestVersion()
|
List<SCLicense> |
getLicenses()
|
String |
getLongDescription()
Gets the long description of this s c product entry. |
Date |
getModifiedDate()
Gets the modified date of this s c product entry. |
String |
getName()
Gets the name of this s c product entry. |
String |
getPageURL()
Gets the page u r l of this s c product entry. |
long |
getPrimaryKey()
Gets the primary key of this s c product entry. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getProductEntryId()
Gets the product entry id of this s c product entry. |
String |
getRepoArtifactId()
Gets the repo artifact id of this s c product entry. |
String |
getRepoGroupId()
Gets the repo group id of this s c product entry. |
List<SCProductScreenshot> |
getScreenshots()
|
String |
getShortDescription()
Gets the short description of this s c product entry. |
String |
getTags()
Gets the tags of this s c product entry. |
String |
getType()
Gets the type of this s c product entry. |
long |
getUserId()
Gets the user id of this s c product entry. |
String |
getUserName()
Gets the user name of this s c product entry. |
String |
getUserUuid()
Gets the user uuid of this s c product entry. |
SCProductEntry |
getWrappedSCProductEntry()
|
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. |
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 |
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 |
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 pk)
Sets the primary key of this s c product entry |
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. |
SCProductEntry |
toEscapedModel()
Gets a copy of this entity 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 SCProductEntryWrapper(SCProductEntry scProductEntry)
Method Detail |
---|
public long getPrimaryKey()
getPrimaryKey
in interface SCProductEntryModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface SCProductEntryModel
pk
- 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 SCProductEntryModel
public void setGroupId(long groupId)
setGroupId
in interface SCProductEntryModel
groupId
- the group id of this s c product entrypublic long getCompanyId()
getCompanyId
in interface SCProductEntryModel
public void setCompanyId(long companyId)
setCompanyId
in interface SCProductEntryModel
companyId
- the company id of this s c product entrypublic long getUserId()
getUserId
in interface SCProductEntryModel
public void setUserId(long userId)
setUserId
in interface SCProductEntryModel
userId
- the user id of this s c product entrypublic String getUserUuid() throws SystemException
getUserUuid
in interface SCProductEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface SCProductEntryModel
userUuid
- the user uuid of this s c product entrypublic String getUserName()
getUserName
in interface SCProductEntryModel
public void setUserName(String userName)
setUserName
in interface SCProductEntryModel
userName
- the user name of this s c product entrypublic Date getCreateDate()
getCreateDate
in interface SCProductEntryModel
public void setCreateDate(Date createDate)
setCreateDate
in interface SCProductEntryModel
createDate
- the create date of this s c product entrypublic Date getModifiedDate()
getModifiedDate
in interface SCProductEntryModel
public void setModifiedDate(Date modifiedDate)
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
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
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
isEscapedModel
in interface BaseModel<SCProductEntry>
isEscapedModel
in interface SCProductEntryModel
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<SCProductEntry>
setEscapedModel
in interface SCProductEntryModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SCProductEntry>
getPrimaryKeyObj
in interface SCProductEntryModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SCProductEntry>
getExpandoBridge
in interface SCProductEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SCProductEntry>
setExpandoBridgeAttributes
in interface SCProductEntryModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 SCProductEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SCProductEntry>
toEscapedModel
in interface SCProductEntryModel
AutoEscapeBeanHandler
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 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 SCProductEntry getWrappedSCProductEntry()
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |