Liferay 6.0.5

com.liferay.portlet.asset.model
Interface AssetEntryModel

All Superinterfaces:
BaseModel<AssetEntry>, Cloneable, Comparable<AssetEntry>, Serializable
All Known Subinterfaces:
AssetEntry
All Known Implementing Classes:
AssetEntryImpl, AssetEntryModelImpl, AssetEntryWrapper

public interface AssetEntryModel
extends BaseModel<AssetEntry>

The base model interface for the AssetEntry service. Represents a row in the "AssetEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation AssetEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AssetEntryImpl.

Never modify or reference this interface directly. All methods that expect a asset entry model instance should use the AssetEntry interface instead.

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

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(AssetEntry assetEntry)
           
 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.
 Date getStartDate()
          Gets the start date of this asset entry.
 String getSummary()
          Gets the summary of this asset entry.
 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.
 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.
 

Method Detail

getPrimaryKey

long getPrimaryKey()
Gets the primary key of this asset entry.

Returns:
the primary key of this asset entry

setPrimaryKey

void setPrimaryKey(long pk)
Sets the primary key of this asset entry

Parameters:
pk - the primary key of this asset entry

getEntryId

long getEntryId()
Gets the entry id of this asset entry.

Returns:
the entry id of this asset entry

setEntryId

void setEntryId(long entryId)
Sets the entry id of this asset entry.

Parameters:
entryId - the entry id of this asset entry

getGroupId

long getGroupId()
Gets the group id of this asset entry.

Returns:
the group id of this asset entry

setGroupId

void setGroupId(long groupId)
Sets the group id of this asset entry.

Parameters:
groupId - the group id of this asset entry

getCompanyId

long getCompanyId()
Gets the company id of this asset entry.

Returns:
the company id of this asset entry

setCompanyId

void setCompanyId(long companyId)
Sets the company id of this asset entry.

Parameters:
companyId - the company id of this asset entry

getUserId

long getUserId()
Gets the user id of this asset entry.

Returns:
the user id of this asset entry

setUserId

void setUserId(long userId)
Sets the user id of this asset entry.

Parameters:
userId - the user id of this asset entry

getUserUuid

String getUserUuid()
                   throws SystemException
Gets the user uuid of this asset entry.

Returns:
the user uuid of this asset entry
Throws:
SystemException - if a system exception occurred

setUserUuid

void setUserUuid(String userUuid)
Sets the user uuid of this asset entry.

Parameters:
userUuid - the user uuid of this asset entry

getUserName

@AutoEscape
String getUserName()
Gets the user name of this asset entry.

Returns:
the user name of this asset entry

setUserName

void setUserName(String userName)
Sets the user name of this asset entry.

Parameters:
userName - the user name of this asset entry

getCreateDate

Date getCreateDate()
Gets the create date of this asset entry.

Returns:
the create date of this asset entry

setCreateDate

void setCreateDate(Date createDate)
Sets the create date of this asset entry.

Parameters:
createDate - the create date of this asset entry

getModifiedDate

Date getModifiedDate()
Gets the modified date of this asset entry.

Returns:
the modified date of this asset entry

setModifiedDate

void setModifiedDate(Date modifiedDate)
Sets the modified date of this asset entry.

Parameters:
modifiedDate - the modified date of this asset entry

getClassName

String getClassName()
Gets the class name of the model instance this asset entry is polymorphically associated with.

Returns:
the class name of the model instance this asset entry is polymorphically associated with

getClassNameId

long getClassNameId()
Gets the class name id of this asset entry.

Returns:
the class name id of this asset entry

setClassNameId

void setClassNameId(long classNameId)
Sets the class name id of this asset entry.

Parameters:
classNameId - the class name id of this asset entry

getClassPK

long getClassPK()
Gets the class p k of this asset entry.

Returns:
the class p k of this asset entry

setClassPK

void setClassPK(long classPK)
Sets the class p k of this asset entry.

Parameters:
classPK - the class p k of this asset entry

getClassUuid

@AutoEscape
String getClassUuid()
Gets the class uuid of this asset entry.

Returns:
the class uuid of this asset entry

setClassUuid

void setClassUuid(String classUuid)
Sets the class uuid of this asset entry.

Parameters:
classUuid - the class uuid of this asset entry

getVisible

boolean getVisible()
Gets the visible of this asset entry.

Returns:
the visible of this asset entry

isVisible

boolean isVisible()
Determines whether this asset entry is visible.

Returns:
whether this asset entry is visible

setVisible

void setVisible(boolean visible)
Sets whether this {$entity.humanName} is visible.

Parameters:
visible - the visible of this asset entry

getStartDate

Date getStartDate()
Gets the start date of this asset entry.

Returns:
the start date of this asset entry

setStartDate

void setStartDate(Date startDate)
Sets the start date of this asset entry.

Parameters:
startDate - the start date of this asset entry

getEndDate

Date getEndDate()
Gets the end date of this asset entry.

Returns:
the end date of this asset entry

setEndDate

void setEndDate(Date endDate)
Sets the end date of this asset entry.

Parameters:
endDate - the end date of this asset entry

getPublishDate

Date getPublishDate()
Gets the publish date of this asset entry.

Returns:
the publish date of this asset entry

setPublishDate

void setPublishDate(Date publishDate)
Sets the publish date of this asset entry.

Parameters:
publishDate - the publish date of this asset entry

getExpirationDate

Date getExpirationDate()
Gets the expiration date of this asset entry.

Returns:
the expiration date of this asset entry

setExpirationDate

void setExpirationDate(Date expirationDate)
Sets the expiration date of this asset entry.

Parameters:
expirationDate - the expiration date of this asset entry

getMimeType

@AutoEscape
String getMimeType()
Gets the mime type of this asset entry.

Returns:
the mime type of this asset entry

setMimeType

void setMimeType(String mimeType)
Sets the mime type of this asset entry.

Parameters:
mimeType - the mime type of this asset entry

getTitle

@AutoEscape
String getTitle()
Gets the title of this asset entry.

Returns:
the title of this asset entry

setTitle

void setTitle(String title)
Sets the title of this asset entry.

Parameters:
title - the title of this asset entry

getDescription

@AutoEscape
String getDescription()
Gets the description of this asset entry.

Returns:
the description of this asset entry

setDescription

void setDescription(String description)
Sets the description of this asset entry.

Parameters:
description - the description of this asset entry

getSummary

@AutoEscape
String getSummary()
Gets the summary of this asset entry.

Returns:
the summary of this asset entry

setSummary

void setSummary(String summary)
Sets the summary of this asset entry.

Parameters:
summary - the summary of this asset entry

getUrl

@AutoEscape
String getUrl()
Gets the url of this asset entry.

Returns:
the url of this asset entry

setUrl

void setUrl(String url)
Sets the url of this asset entry.

Parameters:
url - the url of this asset entry

getHeight

int getHeight()
Gets the height of this asset entry.

Returns:
the height of this asset entry

setHeight

void setHeight(int height)
Sets the height of this asset entry.

Parameters:
height - the height of this asset entry

getWidth

int getWidth()
Gets the width of this asset entry.

Returns:
the width of this asset entry

setWidth

void setWidth(int width)
Sets the width of this asset entry.

Parameters:
width - the width of this asset entry

getPriority

double getPriority()
Gets the priority of this asset entry.

Returns:
the priority of this asset entry

setPriority

void setPriority(double priority)
Sets the priority of this asset entry.

Parameters:
priority - the priority of this asset entry

getViewCount

int getViewCount()
Gets the view count of this asset entry.

Returns:
the view count of this asset entry

setViewCount

void setViewCount(int viewCount)
Sets the view count of this asset entry.

Parameters:
viewCount - the view count of this asset entry

toEscapedModel

AssetEntry toEscapedModel()
Gets a copy of this asset entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

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>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

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>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

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>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

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>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

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

setEscapedModel

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>
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

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

setExpandoBridgeAttributes

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>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

Specified by:
clone in interface BaseModel<AssetEntry>
Returns:
the shallow clone of this model instance

compareTo

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

hashCode

int hashCode()
Overrides:
hashCode in class Object

toString

String toString()
Overrides:
toString in class Object

toXmlString

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

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

Liferay 6.0.5