Liferay 6.0.3

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()
           
 long getClassNameId()
           
 long getClassPK()
           
 String getClassUuid()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getDescription()
           
 Date getEndDate()
           
 long getEntryId()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Date getExpirationDate()
           
 long getGroupId()
           
 int getHeight()
           
 String getMimeType()
           
 Date getModifiedDate()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 double getPriority()
           
 Date getPublishDate()
           
 double getSocialInformationEquity()
           
 Date getStartDate()
           
 String getSummary()
           
 String[] getTagNames()
           
 List<AssetTag> getTags()
           
 String getTitle()
           
 String getUrl()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 int getViewCount()
           
 boolean getVisible()
           
 int getWidth()
           
 AssetEntry getWrappedAssetEntry()
           
 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.
 boolean isVisible()
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setClassUuid(String classUuid)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setDescription(String description)
           
 void setEndDate(Date endDate)
           
 void setEntryId(long entryId)
           
 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 setExpirationDate(Date expirationDate)
           
 void setGroupId(long groupId)
           
 void setHeight(int height)
           
 void setMimeType(String mimeType)
           
 void setModifiedDate(Date modifiedDate)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setPriority(double priority)
           
 void setPublishDate(Date publishDate)
           
 void setStartDate(Date startDate)
           
 void setSummary(String summary)
           
 void setTitle(String title)
           
 void setUrl(String url)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setViewCount(int viewCount)
           
 void setVisible(boolean visible)
           
 void setWidth(int width)
           
 AssetEntry toEscapedModel()
           
 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()
Specified by:
getPrimaryKey in interface AssetEntryModel

setPrimaryKey

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

getEntryId

public long getEntryId()
Specified by:
getEntryId in interface AssetEntryModel

setEntryId

public void setEntryId(long entryId)
Specified by:
setEntryId in interface AssetEntryModel

getGroupId

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

setGroupId

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

getCompanyId

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

setCompanyId

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

getUserId

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

setUserId

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

getUserUuid

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

setUserUuid

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

getUserName

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

setUserName

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

getCreateDate

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

setCreateDate

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

getModifiedDate

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

setModifiedDate

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

getClassName

public String getClassName()
Specified by:
getClassName in interface AssetEntryModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface AssetEntryModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface AssetEntryModel

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface AssetEntryModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface AssetEntryModel

getClassUuid

public String getClassUuid()
Specified by:
getClassUuid in interface AssetEntryModel

setClassUuid

public void setClassUuid(String classUuid)
Specified by:
setClassUuid in interface AssetEntryModel

getVisible

public boolean getVisible()
Specified by:
getVisible in interface AssetEntryModel

isVisible

public boolean isVisible()
Specified by:
isVisible in interface AssetEntryModel

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface AssetEntryModel

getStartDate

public Date getStartDate()
Specified by:
getStartDate in interface AssetEntryModel

setStartDate

public void setStartDate(Date startDate)
Specified by:
setStartDate in interface AssetEntryModel

getEndDate

public Date getEndDate()
Specified by:
getEndDate in interface AssetEntryModel

setEndDate

public void setEndDate(Date endDate)
Specified by:
setEndDate in interface AssetEntryModel

getPublishDate

public Date getPublishDate()
Specified by:
getPublishDate in interface AssetEntryModel

setPublishDate

public void setPublishDate(Date publishDate)
Specified by:
setPublishDate in interface AssetEntryModel

getExpirationDate

public Date getExpirationDate()
Specified by:
getExpirationDate in interface AssetEntryModel

setExpirationDate

public void setExpirationDate(Date expirationDate)
Specified by:
setExpirationDate in interface AssetEntryModel

getMimeType

public String getMimeType()
Specified by:
getMimeType in interface AssetEntryModel

setMimeType

public void setMimeType(String mimeType)
Specified by:
setMimeType in interface AssetEntryModel

getTitle

public String getTitle()
Specified by:
getTitle in interface AssetEntryModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface AssetEntryModel

getDescription

public String getDescription()
Specified by:
getDescription in interface AssetEntryModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface AssetEntryModel

getSummary

public String getSummary()
Specified by:
getSummary in interface AssetEntryModel

setSummary

public void setSummary(String summary)
Specified by:
setSummary in interface AssetEntryModel

getUrl

public String getUrl()
Specified by:
getUrl in interface AssetEntryModel

setUrl

public void setUrl(String url)
Specified by:
setUrl in interface AssetEntryModel

getHeight

public int getHeight()
Specified by:
getHeight in interface AssetEntryModel

setHeight

public void setHeight(int height)
Specified by:
setHeight in interface AssetEntryModel

getWidth

public int getWidth()
Specified by:
getWidth in interface AssetEntryModel

setWidth

public void setWidth(int width)
Specified by:
setWidth in interface AssetEntryModel

getPriority

public double getPriority()
Specified by:
getPriority in interface AssetEntryModel

setPriority

public void setPriority(double priority)
Specified by:
setPriority in interface AssetEntryModel

getViewCount

public int getViewCount()
Specified by:
getViewCount in interface AssetEntryModel

setViewCount

public void setViewCount(int viewCount)
Specified by:
setViewCount in interface AssetEntryModel

toEscapedModel

public AssetEntry toEscapedModel()
Specified by:
toEscapedModel in interface AssetEntryModel

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

Specified by:
isEscapedModel in interface BaseModel<AssetEntry>
Specified by:
isEscapedModel in interface AssetEntryModel
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<AssetEntry>
Specified by:
setEscapedModel in interface AssetEntryModel
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<AssetEntry>
Specified by:
getPrimaryKeyObj in interface AssetEntryModel
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<AssetEntry>
Specified by:
getExpandoBridge in interface AssetEntryModel
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<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 clone

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