Liferay 6.1.2-ce-ga3

com.liferay.portlet.softwarecatalog.model
Class SCProductEntryWrapper

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

public class SCProductEntryWrapper
extends Object
implements SCProductEntry, ModelWrapper<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)
           
 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

SCProductEntryWrapper

public SCProductEntryWrapper(SCProductEntry scProductEntry)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<SCProductEntry>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<SCProductEntry>

getPrimaryKey

public long getPrimaryKey()
Returns 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 primaryKey)
Sets the primary key of this s c product entry.

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

getProductEntryId

public long getProductEntryId()
Returns 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()
Returns the group ID of this s c product entry.

Specified by:
getGroupId in interface GroupedModel
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 GroupedModel
Specified by:
setGroupId in interface SCProductEntryModel
Parameters:
groupId - the group ID of this s c product entry

getCompanyId

public long getCompanyId()
Returns the company ID of this s c product entry.

Specified by:
getCompanyId in interface AuditedModel
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 AuditedModel
Specified by:
setCompanyId in interface SCProductEntryModel
Parameters:
companyId - the company ID of this s c product entry

getUserId

public long getUserId()
Returns the user ID of this s c product entry.

Specified by:
getUserId in interface AuditedModel
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 AuditedModel
Specified by:
setUserId in interface SCProductEntryModel
Parameters:
userId - the user ID of this s c product entry

getUserUuid

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

Specified by:
getUserUuid in interface AuditedModel
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 AuditedModel
Specified by:
setUserUuid in interface SCProductEntryModel
Parameters:
userUuid - the user uuid of this s c product entry

getUserName

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

Specified by:
getUserName in interface AuditedModel
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 AuditedModel
Specified by:
setUserName in interface SCProductEntryModel
Parameters:
userName - the user name of this s c product entry

getCreateDate

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

Specified by:
getCreateDate in interface AuditedModel
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 AuditedModel
Specified by:
setCreateDate in interface SCProductEntryModel
Parameters:
createDate - the create date of this s c product entry

getModifiedDate

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

Specified by:
getModifiedDate in interface AuditedModel
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 AuditedModel
Specified by:
setModifiedDate in interface SCProductEntryModel
Parameters:
modifiedDate - the modified date of this s c product entry

getName

public String getName()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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
Returns true 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
Returns true 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
Returns true 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

getPrimaryKeyObj

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

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

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<SCProductEntry>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SCProductEntryModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<SCProductEntry>
Specified by:
getExpandoBridge in interface ClassedModel
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
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

toCacheModel

public CacheModel<SCProductEntry> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<SCProductEntry>
Specified by:
toCacheModel in interface SCProductEntryModel
Returns:
the cache model object

toEscapedModel

public SCProductEntry toEscapedModel()
Description copied from interface: BaseModel
Returns 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

toUnescapedModel

public SCProductEntry toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<SCProductEntry>
Specified by:
toUnescapedModel in interface SCProductEntryModel

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns 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

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedSCProductEntry

public SCProductEntry getWrappedSCProductEntry()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

public SCProductEntry getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<SCProductEntry>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<SCProductEntry>

Liferay 6.1.2-ce-ga3