Liferay 6.0.3

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 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()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
           
 SCProductVersion getLatestVersion()
           
 List<SCLicense> getLicenses()
           
 String getLongDescription()
           
 Date getModifiedDate()
           
 String getName()
           
 String getPageURL()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 long getProductEntryId()
           
 String getRepoArtifactId()
           
 String getRepoGroupId()
           
 List<SCProductScreenshot> getScreenshots()
           
 String getShortDescription()
           
 String getTags()
           
 String getType()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 SCProductEntry getWrappedSCProductEntry()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 void setAuthor(String author)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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)
           
 void setLongDescription(String longDescription)
           
 void setModifiedDate(Date modifiedDate)
           
 void setName(String name)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPageURL(String pageURL)
           
 void setPrimaryKey(long pk)
           
 void setProductEntryId(long productEntryId)
           
 void setRepoArtifactId(String repoArtifactId)
           
 void setRepoGroupId(String repoGroupId)
           
 void setShortDescription(String shortDescription)
           
 void setTags(String tags)
           
 void setType(String type)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 SCProductEntry toEscapedModel()
           
 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()
Specified by:
getPrimaryKey in interface SCProductEntryModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface SCProductEntryModel

getProductEntryId

public long getProductEntryId()
Specified by:
getProductEntryId in interface SCProductEntryModel

setProductEntryId

public void setProductEntryId(long productEntryId)
Specified by:
setProductEntryId in interface SCProductEntryModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface SCProductEntryModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface SCProductEntryModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface SCProductEntryModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface SCProductEntryModel

getUserId

public long getUserId()
Specified by:
getUserId in interface SCProductEntryModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface SCProductEntryModel

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface SCProductEntryModel
Throws:
SystemException

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface SCProductEntryModel

getUserName

public String getUserName()
Specified by:
getUserName in interface SCProductEntryModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface SCProductEntryModel

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface SCProductEntryModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface SCProductEntryModel

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface SCProductEntryModel

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface SCProductEntryModel

getName

public String getName()
Specified by:
getName in interface SCProductEntryModel

setName

public void setName(String name)
Specified by:
setName in interface SCProductEntryModel

getType

public String getType()
Specified by:
getType in interface SCProductEntryModel

setType

public void setType(String type)
Specified by:
setType in interface SCProductEntryModel

getTags

public String getTags()
Specified by:
getTags in interface SCProductEntryModel

setTags

public void setTags(String tags)
Specified by:
setTags in interface SCProductEntryModel

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in interface SCProductEntryModel

setShortDescription

public void setShortDescription(String shortDescription)
Specified by:
setShortDescription in interface SCProductEntryModel

getLongDescription

public String getLongDescription()
Specified by:
getLongDescription in interface SCProductEntryModel

setLongDescription

public void setLongDescription(String longDescription)
Specified by:
setLongDescription in interface SCProductEntryModel

getPageURL

public String getPageURL()
Specified by:
getPageURL in interface SCProductEntryModel

setPageURL

public void setPageURL(String pageURL)
Specified by:
setPageURL in interface SCProductEntryModel

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface SCProductEntryModel

setAuthor

public void setAuthor(String author)
Specified by:
setAuthor in interface SCProductEntryModel

getRepoGroupId

public String getRepoGroupId()
Specified by:
getRepoGroupId in interface SCProductEntryModel

setRepoGroupId

public void setRepoGroupId(String repoGroupId)
Specified by:
setRepoGroupId in interface SCProductEntryModel

getRepoArtifactId

public String getRepoArtifactId()
Specified by:
getRepoArtifactId in interface SCProductEntryModel

setRepoArtifactId

public void setRepoArtifactId(String repoArtifactId)
Specified by:
setRepoArtifactId in interface SCProductEntryModel

toEscapedModel

public SCProductEntry toEscapedModel()
Specified by:
toEscapedModel in interface SCProductEntryModel

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 has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<SCProductEntry>
Specified by:
isEscapedModel in interface SCProductEntryModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped 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 has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<SCProductEntry>
Specified by:
getPrimaryKeyObj in interface SCProductEntryModel
Returns:
the primary key

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

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 clone

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

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.3