Liferay 6.0-ee

com.liferay.portlet.softwarecatalog.model
Class SCProductEntryWrapper

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.model.SCProductEntryWrapper
All Implemented Interfaces:
BaseModel<SCProductEntry>, SCProductEntry, SCProductEntryModel, Serializable, Cloneable, Comparable<SCProductEntry>

public class SCProductEntryWrapper
extends Object
implements SCProductEntry

This class is a wrapper for SCProductEntry.

See Also:
SCProductEntry, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor 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

SCProductEntryWrapper

public SCProductEntryWrapper(SCProductEntry scProductEntry)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Gets the primary key of this s c product entry.

Specified by:
getPrimaryKey in interface SCProductEntryModel
Returns:
the primary key of this s c product entry

setPrimaryKey

public void setPrimaryKey(long pk)
Sets the primary key of this s c product entry

Specified by:
setPrimaryKey in interface SCProductEntryModel
Parameters:
pk - the primary key of this s c product entry

getProductEntryId

public long getProductEntryId()
Gets the product entry id of this s c product entry.

Specified by:
getProductEntryId in interface SCProductEntryModel
Returns:
the product entry id of this s c product entry

setProductEntryId

public void setProductEntryId(long productEntryId)
Sets the product entry id of this s c product entry.

Specified by:
setProductEntryId in interface SCProductEntryModel
Parameters:
productEntryId - the product entry id of this s c product entry

getGroupId

public long getGroupId()
Gets the group id of this s c product entry.

Specified by:
getGroupId in interface SCProductEntryModel
Returns:
the group id of this s c product entry

setGroupId

public void setGroupId(long groupId)
Sets the group id of this s c product entry.

Specified by:
setGroupId in interface SCProductEntryModel
Parameters:
groupId - the group id of this s c product entry

getCompanyId

public long getCompanyId()
Gets the company id of this s c product entry.

Specified by:
getCompanyId in interface SCProductEntryModel
Returns:
the company id of this s c product entry

setCompanyId

public void setCompanyId(long companyId)
Sets the company id of this s c product entry.

Specified by:
setCompanyId in interface SCProductEntryModel
Parameters:
companyId - the company id of this s c product entry

getUserId

public long getUserId()
Gets the user id of this s c product entry.

Specified by:
getUserId in interface SCProductEntryModel
Returns:
the user id of this s c product entry

setUserId

public void setUserId(long userId)
Sets the user id of this s c product entry.

Specified by:
setUserId in interface SCProductEntryModel
Parameters:
userId - the user id of this s c product entry

getUserUuid

public String getUserUuid()
                   throws SystemException
Gets the user uuid of this s c product entry.

Specified by:
getUserUuid in interface SCProductEntryModel
Returns:
the user uuid of this s c product entry
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this s c product entry.

Specified by:
setUserUuid in interface SCProductEntryModel
Parameters:
userUuid - the user uuid of this s c product entry

getUserName

public String getUserName()
Gets the user name of this s c product entry.

Specified by:
getUserName in interface SCProductEntryModel
Returns:
the user name of this s c product entry

setUserName

public void setUserName(String userName)
Sets the user name of this s c product entry.

Specified by:
setUserName in interface SCProductEntryModel
Parameters:
userName - the user name of this s c product entry

getCreateDate

public Date getCreateDate()
Gets the create date of this s c product entry.

Specified by:
getCreateDate in interface SCProductEntryModel
Returns:
the create date of this s c product entry

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this s c product entry.

Specified by:
setCreateDate in interface SCProductEntryModel
Parameters:
createDate - the create date of this s c product entry

getModifiedDate

public Date getModifiedDate()
Gets the modified date of this s c product entry.

Specified by:
getModifiedDate in interface SCProductEntryModel
Returns:
the modified date of this s c product entry

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this s c product entry.

Specified by:
setModifiedDate in interface SCProductEntryModel
Parameters:
modifiedDate - the modified date of this s c product entry

getName

public String getName()
Gets the name of this s c product entry.

Specified by:
getName in interface SCProductEntryModel
Returns:
the name of this s c product entry

setName

public void setName(String name)
Sets the name of this s c product entry.

Specified by:
setName in interface SCProductEntryModel
Parameters:
name - the name of this s c product entry

getType

public String getType()
Gets the type of this s c product entry.

Specified by:
getType in interface SCProductEntryModel
Returns:
the type of this s c product entry

setType

public void setType(String type)
Sets the type of this s c product entry.

Specified by:
setType in interface SCProductEntryModel
Parameters:
type - the type of this s c product entry

getTags

public String getTags()
Gets the tags of this s c product entry.

Specified by:
getTags in interface SCProductEntryModel
Returns:
the tags of this s c product entry

setTags

public void setTags(String tags)
Sets the tags of this s c product entry.

Specified by:
setTags in interface SCProductEntryModel
Parameters:
tags - the tags of this s c product entry

getShortDescription

public String getShortDescription()
Gets the short description of this s c product entry.

Specified by:
getShortDescription in interface SCProductEntryModel
Returns:
the short description of this s c product entry

setShortDescription

public void setShortDescription(String shortDescription)
Sets the short description of this s c product entry.

Specified by:
setShortDescription in interface SCProductEntryModel
Parameters:
shortDescription - the short description of this s c product entry

getLongDescription

public String getLongDescription()
Gets the long description of this s c product entry.

Specified by:
getLongDescription in interface SCProductEntryModel
Returns:
the long description of this s c product entry

setLongDescription

public void setLongDescription(String longDescription)
Sets the long description of this s c product entry.

Specified by:
setLongDescription in interface SCProductEntryModel
Parameters:
longDescription - the long description of this s c product entry

getPageURL

public String getPageURL()
Gets the page u r l of this s c product entry.

Specified by:
getPageURL in interface SCProductEntryModel
Returns:
the page u r l of this s c product entry

setPageURL

public void setPageURL(String pageURL)
Sets the page u r l of this s c product entry.

Specified by:
setPageURL in interface SCProductEntryModel
Parameters:
pageURL - the page u r l of this s c product entry

getAuthor

public String getAuthor()
Gets the author of this s c product entry.

Specified by:
getAuthor in interface SCProductEntryModel
Returns:
the author of this s c product entry

setAuthor

public void setAuthor(String author)
Sets the author of this s c product entry.

Specified by:
setAuthor in interface SCProductEntryModel
Parameters:
author - the author of this s c product entry

getRepoGroupId

public String getRepoGroupId()
Gets the repo group id of this s c product entry.

Specified by:
getRepoGroupId in interface SCProductEntryModel
Returns:
the repo group id of this s c product entry

setRepoGroupId

public void setRepoGroupId(String repoGroupId)
Sets the repo group id of this s c product entry.

Specified by:
setRepoGroupId in interface SCProductEntryModel
Parameters:
repoGroupId - the repo group id of this s c product entry

getRepoArtifactId

public String getRepoArtifactId()
Gets the repo artifact id of this s c product entry.

Specified by:
getRepoArtifactId in interface SCProductEntryModel
Returns:
the repo artifact id of this s c product entry

setRepoArtifactId

public void setRepoArtifactId(String repoArtifactId)
Sets the repo artifact id of this s c product entry.

Specified by:
setRepoArtifactId in interface SCProductEntryModel
Parameters:
repoArtifactId - the repo artifact id of this s c product entry

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<SCProductEntry>
Specified by:
isNew in interface SCProductEntryModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<SCProductEntry>
Specified by:
setNew in interface SCProductEntryModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<SCProductEntry>
Specified by:
isCachedModel in interface SCProductEntryModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<SCProductEntry>
Specified by:
setCachedModel in interface SCProductEntryModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<SCProductEntry>
Specified by:
isEscapedModel in interface SCProductEntryModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<SCProductEntry>
Specified by:
setEscapedModel in interface SCProductEntryModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<SCProductEntry>
Specified by:
getPrimaryKeyObj in interface SCProductEntryModel
Returns:
the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<SCProductEntry>
Specified by:
getExpandoBridge in interface SCProductEntryModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<SCProductEntry>
Specified by:
setExpandoBridgeAttributes in interface SCProductEntryModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<SCProductEntry>
Specified by:
clone in interface SCProductEntryModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SCProductEntry scProductEntry)
Specified by:
compareTo in interface SCProductEntryModel
Specified by:
compareTo in interface Comparable<SCProductEntry>

hashCode

public int hashCode()
Specified by:
hashCode in interface SCProductEntryModel
Overrides:
hashCode in class Object

toEscapedModel

public SCProductEntry toEscapedModel()
Description copied from interface: BaseModel
Gets a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<SCProductEntry>
Specified by:
toEscapedModel in interface SCProductEntryModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

public String toString()
Specified by:
toString in interface SCProductEntryModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<SCProductEntry>
Specified by:
toXmlString in interface SCProductEntryModel
Returns:
the XML representation of this model instance

getLatestVersion

public SCProductVersion getLatestVersion()
                                  throws SystemException
Specified by:
getLatestVersion in interface SCProductEntry
Throws:
SystemException

getLicenses

public List<SCLicense> getLicenses()
                            throws SystemException
Specified by:
getLicenses in interface SCProductEntry
Throws:
SystemException

getScreenshots

public List<SCProductScreenshot> getScreenshots()
                                         throws SystemException
Specified by:
getScreenshots in interface SCProductEntry
Throws:
SystemException

getWrappedSCProductEntry

public SCProductEntry getWrappedSCProductEntry()

Liferay 6.0-ee