|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AssetEntryModel
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.
AssetEntry,
AssetEntryImpl,
AssetEntryModelImpl| 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()
Returns 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()
Returns 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 |
getTitle(Locale locale)
Gets the localized title of this asset entry. |
String |
getTitle(Locale locale,
boolean useDefault)
Gets the localized title of this asset entry, optionally using the default language if no localization exists for the requested language. |
String |
getTitle(String languageId)
Gets the localized title of this asset entry. |
String |
getTitle(String languageId,
boolean useDefault)
Gets the localized title of this asset entry, optionally using the default language if no localization exists for the requested language. |
Map<Locale,String> |
getTitleMap()
Gets a map of the locales and localized 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()
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. |
boolean |
isVisible()
Determines if 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 primaryKey)
Sets the primary key of this asset entry |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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(Locale locale,
String title)
Sets the localized title of this asset entry. |
void |
setTitle(String title)
Sets the title of this asset entry. |
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this asset entry from the map of locales and localized titles. |
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 asset entry is visible. |
void |
setWidth(int width)
Sets the width of this asset entry. |
CacheModel<AssetEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AssetEntry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
resetOriginalValues |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this asset entrylong getEntryId()
void setEntryId(long entryId)
entryId - the entry ID of this asset entrylong getGroupId()
getGroupId in interface GroupedModelvoid setGroupId(long groupId)
setGroupId in interface GroupedModelgroupId - the group ID of this asset entrylong getCompanyId()
getCompanyId in interface AuditedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelcompanyId - the company ID of this asset entrylong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this asset entry
String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelSystemException - if a system exception occurredvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this asset entry@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this asset entryDate getCreateDate()
getCreateDate in interface AuditedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelcreateDate - the create date of this asset entryDate getModifiedDate()
getModifiedDate in interface AuditedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelmodifiedDate - the modified date of this asset entryString getClassName()
getClassName in interface AttachedModellong getClassNameId()
getClassNameId in interface AttachedModelvoid setClassNameId(long classNameId)
classNameId - the class name ID of this asset entrylong getClassPK()
getClassPK in interface AttachedModelvoid setClassPK(long classPK)
classPK - the class p k of this asset entry@AutoEscape String getClassUuid()
void setClassUuid(String classUuid)
classUuid - the class uuid of this asset entryboolean getVisible()
boolean isVisible()
true if this asset entry is visible; false otherwisevoid setVisible(boolean visible)
visible - the visible of this asset entryDate getStartDate()
void setStartDate(Date startDate)
startDate - the start date of this asset entryDate getEndDate()
void setEndDate(Date endDate)
endDate - the end date of this asset entryDate getPublishDate()
void setPublishDate(Date publishDate)
publishDate - the publish date of this asset entryDate getExpirationDate()
void setExpirationDate(Date expirationDate)
expirationDate - the expiration date of this asset entry@AutoEscape String getMimeType()
void setMimeType(String mimeType)
mimeType - the mime type of this asset entryString getTitle()
String getTitle(Locale locale)
locale - the locale to get the localized title for
String getTitle(Locale locale,
boolean useDefault)
locale - the local to get the localized title foruseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.String getTitle(String languageId)
languageId - the id of the language to get the localized title for
String getTitle(String languageId,
boolean useDefault)
languageId - the id of the language to get the localized title foruseDefault - whether to use the default language if no localization exists for the requested language
Map<Locale,String> getTitleMap()
void setTitle(String title)
title - the title of this asset entry
void setTitle(Locale locale,
String title)
locale - the locale to set the localized title fortitle - the localized title of this asset entryvoid setTitleMap(Map<Locale,String> titleMap)
titleMap - the locales and localized titles of this asset entry@AutoEscape String getDescription()
void setDescription(String description)
description - the description of this asset entry@AutoEscape String getSummary()
void setSummary(String summary)
summary - the summary of this asset entry@AutoEscape String getUrl()
void setUrl(String url)
url - the url of this asset entryint getHeight()
void setHeight(int height)
height - the height of this asset entryint getWidth()
void setWidth(int width)
width - the width of this asset entrydouble getPriority()
void setPriority(double priority)
priority - the priority of this asset entryint getViewCount()
void setViewCount(int viewCount)
viewCount - the view count of this asset entryboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<AssetEntry>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<AssetEntry>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<AssetEntry>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<AssetEntry>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<AssetEntry>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<AssetEntry>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetEntry>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<AssetEntry>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetEntry>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetEntry>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<AssetEntry>int compareTo(AssetEntry assetEntry)
compareTo in interface Comparable<AssetEntry>int hashCode()
hashCode in class ObjectCacheModel<AssetEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<AssetEntry>AssetEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<AssetEntry>AutoEscapeBeanHandlerString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<AssetEntry>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||