Liferay 6.0.5

com.liferay.portlet.asset.model
Class AssetEntryWrapper

java.lang.Object
  extended by com.liferay.portlet.asset.model.AssetEntryWrapper
All Implemented Interfaces:
BaseModel<AssetEntry>, AssetEntry, AssetEntryModel, Serializable, Cloneable, Comparable<AssetEntry>

public class AssetEntryWrapper
extends Object
implements AssetEntry

This class is a wrapper for AssetEntry.

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

Constructor Summary
AssetEntryWrapper(AssetEntry assetEntry)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(AssetEntry assetEntry)
           
 List<AssetCategory> getCategories()
           
 long[] getCategoryIds()
           
 String getClassName()
          Gets the class name of the model instance this asset entry is polymorphically associated with.
 long getClassNameId()
          Gets the class name id of this asset entry.
 long getClassPK()
          Gets the class p k of this asset entry.
 String getClassUuid()
          Gets the class uuid of this asset entry.
 long getCompanyId()
          Gets the company id of this asset entry.
 Date getCreateDate()
          Gets the create date of this asset entry.
 String getDescription()
          Gets the description of this asset entry.
 Date getEndDate()
          Gets the end date of this asset entry.
 long getEntryId()
          Gets the entry id of this asset entry.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Date getExpirationDate()
          Gets the expiration date of this asset entry.
 long getGroupId()
          Gets the group id of this asset entry.
 int getHeight()
          Gets the height of this asset entry.
 String getMimeType()
          Gets the mime type of this asset entry.
 Date getModifiedDate()
          Gets the modified date of this asset entry.
 long getPrimaryKey()
          Gets the primary key of this asset entry.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 double getPriority()
          Gets the priority of this asset entry.
 Date getPublishDate()
          Gets the publish date of this asset entry.
 double getSocialInformationEquity()
           
 Date getStartDate()
          Gets the start date of this asset entry.
 String getSummary()
          Gets the summary of this asset entry.
 String[] getTagNames()
           
 List<AssetTag> getTags()
           
 String getTitle()
          Gets the title of this asset entry.
 String getUrl()
          Gets the url of this asset entry.
 long getUserId()
          Gets the user id of this asset entry.
 String getUserName()
          Gets the user name of this asset entry.
 String getUserUuid()
          Gets the user uuid of this asset entry.
 int getViewCount()
          Gets the view count of this asset entry.
 boolean getVisible()
          Gets the visible of this asset entry.
 int getWidth()
          Gets the width of this asset entry.
 AssetEntry getWrappedAssetEntry()
           
 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.
 boolean isVisible()
          Determines whether this asset entry is visible.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setClassNameId(long classNameId)
          Sets the class name id of this asset entry.
 void setClassPK(long classPK)
          Sets the class p k of this asset entry.
 void setClassUuid(String classUuid)
          Sets the class uuid of this asset entry.
 void setCompanyId(long companyId)
          Sets the company id of this asset entry.
 void setCreateDate(Date createDate)
          Sets the create date of this asset entry.
 void setDescription(String description)
          Sets the description of this asset entry.
 void setEndDate(Date endDate)
          Sets the end date of this asset entry.
 void setEntryId(long entryId)
          Sets the entry id of this asset 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 setExpirationDate(Date expirationDate)
          Sets the expiration date of this asset entry.
 void setGroupId(long groupId)
          Sets the group id of this asset entry.
 void setHeight(int height)
          Sets the height of this asset entry.
 void setMimeType(String mimeType)
          Sets the mime type of this asset entry.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this asset entry.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
          Sets the primary key of this asset entry
 void setPriority(double priority)
          Sets the priority of this asset entry.
 void setPublishDate(Date publishDate)
          Sets the publish date of this asset entry.
 void setStartDate(Date startDate)
          Sets the start date of this asset entry.
 void setSummary(String summary)
          Sets the summary of this asset entry.
 void setTitle(String title)
          Sets the title of this asset entry.
 void setUrl(String url)
          Sets the url of this asset entry.
 void setUserId(long userId)
          Sets the user id of this asset entry.
 void setUserName(String userName)
          Sets the user name of this asset entry.
 void setUserUuid(String userUuid)
          Sets the user uuid of this asset entry.
 void setViewCount(int viewCount)
          Sets the view count of this asset entry.
 void setVisible(boolean visible)
          Sets whether this {$entity.humanName} is visible.
 void setWidth(int width)
          Sets the width of this asset entry.
 AssetEntry toEscapedModel()
          Gets a copy of this asset entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 void updateSocialInformationEquity(double value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssetEntryWrapper

public AssetEntryWrapper(AssetEntry assetEntry)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: AssetEntryModel
Gets the primary key of this asset entry.

Specified by:
getPrimaryKey in interface AssetEntryModel
Returns:
the primary key of this asset entry

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: AssetEntryModel
Sets the primary key of this asset entry

Specified by:
setPrimaryKey in interface AssetEntryModel
Parameters:
pk - the primary key of this asset entry

getEntryId

public long getEntryId()
Description copied from interface: AssetEntryModel
Gets the entry id of this asset entry.

Specified by:
getEntryId in interface AssetEntryModel
Returns:
the entry id of this asset entry

setEntryId

public void setEntryId(long entryId)
Description copied from interface: AssetEntryModel
Sets the entry id of this asset entry.

Specified by:
setEntryId in interface AssetEntryModel
Parameters:
entryId - the entry id of this asset entry

getGroupId

public long getGroupId()
Description copied from interface: AssetEntryModel
Gets the group id of this asset entry.

Specified by:
getGroupId in interface AssetEntryModel
Returns:
the group id of this asset entry

setGroupId

public void setGroupId(long groupId)
Description copied from interface: AssetEntryModel
Sets the group id of this asset entry.

Specified by:
setGroupId in interface AssetEntryModel
Parameters:
groupId - the group id of this asset entry

getCompanyId

public long getCompanyId()
Description copied from interface: AssetEntryModel
Gets the company id of this asset entry.

Specified by:
getCompanyId in interface AssetEntryModel
Returns:
the company id of this asset entry

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: AssetEntryModel
Sets the company id of this asset entry.

Specified by:
setCompanyId in interface AssetEntryModel
Parameters:
companyId - the company id of this asset entry

getUserId

public long getUserId()
Description copied from interface: AssetEntryModel
Gets the user id of this asset entry.

Specified by:
getUserId in interface AssetEntryModel
Returns:
the user id of this asset entry

setUserId

public void setUserId(long userId)
Description copied from interface: AssetEntryModel
Sets the user id of this asset entry.

Specified by:
setUserId in interface AssetEntryModel
Parameters:
userId - the user id of this asset entry

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: AssetEntryModel
Gets the user uuid of this asset entry.

Specified by:
getUserUuid in interface AssetEntryModel
Returns:
the user uuid of this asset entry
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: AssetEntryModel
Sets the user uuid of this asset entry.

Specified by:
setUserUuid in interface AssetEntryModel
Parameters:
userUuid - the user uuid of this asset entry

getUserName

public String getUserName()
Description copied from interface: AssetEntryModel
Gets the user name of this asset entry.

Specified by:
getUserName in interface AssetEntryModel
Returns:
the user name of this asset entry

setUserName

public void setUserName(String userName)
Description copied from interface: AssetEntryModel
Sets the user name of this asset entry.

Specified by:
setUserName in interface AssetEntryModel
Parameters:
userName - the user name of this asset entry

getCreateDate

public Date getCreateDate()
Description copied from interface: AssetEntryModel
Gets the create date of this asset entry.

Specified by:
getCreateDate in interface AssetEntryModel
Returns:
the create date of this asset entry

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: AssetEntryModel
Sets the create date of this asset entry.

Specified by:
setCreateDate in interface AssetEntryModel
Parameters:
createDate - the create date of this asset entry

getModifiedDate

public Date getModifiedDate()
Description copied from interface: AssetEntryModel
Gets the modified date of this asset entry.

Specified by:
getModifiedDate in interface AssetEntryModel
Returns:
the modified date of this asset entry

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: AssetEntryModel
Sets the modified date of this asset entry.

Specified by:
setModifiedDate in interface AssetEntryModel
Parameters:
modifiedDate - the modified date of this asset entry

getClassName

public String getClassName()
Description copied from interface: AssetEntryModel
Gets the class name of the model instance this asset entry is polymorphically associated with.

Specified by:
getClassName in interface AssetEntryModel
Returns:
the class name of the model instance this asset entry is polymorphically associated with

getClassNameId

public long getClassNameId()
Description copied from interface: AssetEntryModel
Gets the class name id of this asset entry.

Specified by:
getClassNameId in interface AssetEntryModel
Returns:
the class name id of this asset entry

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: AssetEntryModel
Sets the class name id of this asset entry.

Specified by:
setClassNameId in interface AssetEntryModel
Parameters:
classNameId - the class name id of this asset entry

getClassPK

public long getClassPK()
Description copied from interface: AssetEntryModel
Gets the class p k of this asset entry.

Specified by:
getClassPK in interface AssetEntryModel
Returns:
the class p k of this asset entry

setClassPK

public void setClassPK(long classPK)
Description copied from interface: AssetEntryModel
Sets the class p k of this asset entry.

Specified by:
setClassPK in interface AssetEntryModel
Parameters:
classPK - the class p k of this asset entry

getClassUuid

public String getClassUuid()
Description copied from interface: AssetEntryModel
Gets the class uuid of this asset entry.

Specified by:
getClassUuid in interface AssetEntryModel
Returns:
the class uuid of this asset entry

setClassUuid

public void setClassUuid(String classUuid)
Description copied from interface: AssetEntryModel
Sets the class uuid of this asset entry.

Specified by:
setClassUuid in interface AssetEntryModel
Parameters:
classUuid - the class uuid of this asset entry

getVisible

public boolean getVisible()
Description copied from interface: AssetEntryModel
Gets the visible of this asset entry.

Specified by:
getVisible in interface AssetEntryModel
Returns:
the visible of this asset entry

isVisible

public boolean isVisible()
Description copied from interface: AssetEntryModel
Determines whether this asset entry is visible.

Specified by:
isVisible in interface AssetEntryModel
Returns:
whether this asset entry is visible

setVisible

public void setVisible(boolean visible)
Description copied from interface: AssetEntryModel
Sets whether this {$entity.humanName} is visible.

Specified by:
setVisible in interface AssetEntryModel
Parameters:
visible - the visible of this asset entry

getStartDate

public Date getStartDate()
Description copied from interface: AssetEntryModel
Gets the start date of this asset entry.

Specified by:
getStartDate in interface AssetEntryModel
Returns:
the start date of this asset entry

setStartDate

public void setStartDate(Date startDate)
Description copied from interface: AssetEntryModel
Sets the start date of this asset entry.

Specified by:
setStartDate in interface AssetEntryModel
Parameters:
startDate - the start date of this asset entry

getEndDate

public Date getEndDate()
Description copied from interface: AssetEntryModel
Gets the end date of this asset entry.

Specified by:
getEndDate in interface AssetEntryModel
Returns:
the end date of this asset entry

setEndDate

public void setEndDate(Date endDate)
Description copied from interface: AssetEntryModel
Sets the end date of this asset entry.

Specified by:
setEndDate in interface AssetEntryModel
Parameters:
endDate - the end date of this asset entry

getPublishDate

public Date getPublishDate()
Description copied from interface: AssetEntryModel
Gets the publish date of this asset entry.

Specified by:
getPublishDate in interface AssetEntryModel
Returns:
the publish date of this asset entry

setPublishDate

public void setPublishDate(Date publishDate)
Description copied from interface: AssetEntryModel
Sets the publish date of this asset entry.

Specified by:
setPublishDate in interface AssetEntryModel
Parameters:
publishDate - the publish date of this asset entry

getExpirationDate

public Date getExpirationDate()
Description copied from interface: AssetEntryModel
Gets the expiration date of this asset entry.

Specified by:
getExpirationDate in interface AssetEntryModel
Returns:
the expiration date of this asset entry

setExpirationDate

public void setExpirationDate(Date expirationDate)
Description copied from interface: AssetEntryModel
Sets the expiration date of this asset entry.

Specified by:
setExpirationDate in interface AssetEntryModel
Parameters:
expirationDate - the expiration date of this asset entry

getMimeType

public String getMimeType()
Description copied from interface: AssetEntryModel
Gets the mime type of this asset entry.

Specified by:
getMimeType in interface AssetEntryModel
Returns:
the mime type of this asset entry

setMimeType

public void setMimeType(String mimeType)
Description copied from interface: AssetEntryModel
Sets the mime type of this asset entry.

Specified by:
setMimeType in interface AssetEntryModel
Parameters:
mimeType - the mime type of this asset entry

getTitle

public String getTitle()
Description copied from interface: AssetEntryModel
Gets the title of this asset entry.

Specified by:
getTitle in interface AssetEntryModel
Returns:
the title of this asset entry

setTitle

public void setTitle(String title)
Description copied from interface: AssetEntryModel
Sets the title of this asset entry.

Specified by:
setTitle in interface AssetEntryModel
Parameters:
title - the title of this asset entry

getDescription

public String getDescription()
Description copied from interface: AssetEntryModel
Gets the description of this asset entry.

Specified by:
getDescription in interface AssetEntryModel
Returns:
the description of this asset entry

setDescription

public void setDescription(String description)
Description copied from interface: AssetEntryModel
Sets the description of this asset entry.

Specified by:
setDescription in interface AssetEntryModel
Parameters:
description - the description of this asset entry

getSummary

public String getSummary()
Description copied from interface: AssetEntryModel
Gets the summary of this asset entry.

Specified by:
getSummary in interface AssetEntryModel
Returns:
the summary of this asset entry

setSummary

public void setSummary(String summary)
Description copied from interface: AssetEntryModel
Sets the summary of this asset entry.

Specified by:
setSummary in interface AssetEntryModel
Parameters:
summary - the summary of this asset entry

getUrl

public String getUrl()
Description copied from interface: AssetEntryModel
Gets the url of this asset entry.

Specified by:
getUrl in interface AssetEntryModel
Returns:
the url of this asset entry

setUrl

public void setUrl(String url)
Description copied from interface: AssetEntryModel
Sets the url of this asset entry.

Specified by:
setUrl in interface AssetEntryModel
Parameters:
url - the url of this asset entry

getHeight

public int getHeight()
Description copied from interface: AssetEntryModel
Gets the height of this asset entry.

Specified by:
getHeight in interface AssetEntryModel
Returns:
the height of this asset entry

setHeight

public void setHeight(int height)
Description copied from interface: AssetEntryModel
Sets the height of this asset entry.

Specified by:
setHeight in interface AssetEntryModel
Parameters:
height - the height of this asset entry

getWidth

public int getWidth()
Description copied from interface: AssetEntryModel
Gets the width of this asset entry.

Specified by:
getWidth in interface AssetEntryModel
Returns:
the width of this asset entry

setWidth

public void setWidth(int width)
Description copied from interface: AssetEntryModel
Sets the width of this asset entry.

Specified by:
setWidth in interface AssetEntryModel
Parameters:
width - the width of this asset entry

getPriority

public double getPriority()
Description copied from interface: AssetEntryModel
Gets the priority of this asset entry.

Specified by:
getPriority in interface AssetEntryModel
Returns:
the priority of this asset entry

setPriority

public void setPriority(double priority)
Description copied from interface: AssetEntryModel
Sets the priority of this asset entry.

Specified by:
setPriority in interface AssetEntryModel
Parameters:
priority - the priority of this asset entry

getViewCount

public int getViewCount()
Description copied from interface: AssetEntryModel
Gets the view count of this asset entry.

Specified by:
getViewCount in interface AssetEntryModel
Returns:
the view count of this asset entry

setViewCount

public void setViewCount(int viewCount)
Description copied from interface: AssetEntryModel
Sets the view count of this asset entry.

Specified by:
setViewCount in interface AssetEntryModel
Parameters:
viewCount - the view count of this asset entry

toEscapedModel

public AssetEntry toEscapedModel()
Description copied from interface: AssetEntryModel
Gets a copy of this asset entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface AssetEntryModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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<AssetEntry>
Specified by:
isNew in interface AssetEntryModel
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<AssetEntry>
Specified by:
setNew in interface AssetEntryModel
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<AssetEntry>
Specified by:
isCachedModel in interface AssetEntryModel
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<AssetEntry>
Specified by:
setCachedModel in interface AssetEntryModel
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<AssetEntry>
Specified by:
isEscapedModel in interface AssetEntryModel
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<AssetEntry>
Specified by:
setEscapedModel in interface AssetEntryModel
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<AssetEntry>
Specified by:
getPrimaryKeyObj in interface AssetEntryModel
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<AssetEntry>
Specified by:
getExpandoBridge in interface AssetEntryModel
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<AssetEntry>
Specified by:
setExpandoBridgeAttributes in interface AssetEntryModel
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<AssetEntry>
Specified by:
clone in interface AssetEntryModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(AssetEntry assetEntry)
Specified by:
compareTo in interface AssetEntryModel
Specified by:
compareTo in interface Comparable<AssetEntry>

hashCode

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

toString

public String toString()
Specified by:
toString in interface AssetEntryModel
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<AssetEntry>
Specified by:
toXmlString in interface AssetEntryModel
Returns:
the XML representation of this model instance

getCategories

public List<AssetCategory> getCategories()
                                  throws SystemException
Specified by:
getCategories in interface AssetEntry
Throws:
SystemException

getCategoryIds

public long[] getCategoryIds()
                      throws SystemException
Specified by:
getCategoryIds in interface AssetEntry
Throws:
SystemException

getSocialInformationEquity

public double getSocialInformationEquity()
Specified by:
getSocialInformationEquity in interface AssetEntry

getTagNames

public String[] getTagNames()
                     throws SystemException
Specified by:
getTagNames in interface AssetEntry
Throws:
SystemException

getTags

public List<AssetTag> getTags()
                       throws SystemException
Specified by:
getTags in interface AssetEntry
Throws:
SystemException

updateSocialInformationEquity

public void updateSocialInformationEquity(double value)
Specified by:
updateSocialInformationEquity in interface AssetEntry

getWrappedAssetEntry

public AssetEntry getWrappedAssetEntry()

Liferay 6.0.5