|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.asset.model.AssetEntryWrapper
public class AssetEntryWrapper
This class is a wrapper for AssetEntry
.
AssetEntry
,
Serialized FormConstructor Summary | |
---|---|
AssetEntryWrapper(AssetEntry assetEntry)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetEntry assetEntry)
|
boolean |
equals(Object obj)
|
List<AssetCategory> |
getCategories()
|
long[] |
getCategoryIds()
|
String |
getClassName()
Returns the fully qualified class name of this asset entry. |
long |
getClassNameId()
Returns the class name ID of this asset entry. |
long |
getClassPK()
Returns the class p k of this asset entry. |
long |
getClassTypeId()
Returns the class type ID of this asset entry. |
String |
getClassUuid()
Returns the class uuid of this asset entry. |
long |
getCompanyId()
Returns the company ID of this asset entry. |
Date |
getCreateDate()
Returns the create date of this asset entry. |
String |
getDescription()
Returns the description of this asset entry. |
String |
getDescription(Locale locale)
Returns the localized description of this asset entry in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this asset entry in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescription(String languageId)
Returns the localized description of this asset entry in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this asset entry in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescriptionCurrentLanguageId()
|
String |
getDescriptionCurrentValue()
|
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this asset entry. |
Date |
getEndDate()
Returns the end date of this asset entry. |
long |
getEntryId()
Returns the entry ID of this asset entry. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Date |
getExpirationDate()
Returns the expiration date of this asset entry. |
long |
getGroupId()
Returns the group ID of this asset entry. |
int |
getHeight()
Returns the height of this asset entry. |
String |
getLayoutUuid()
Returns the layout uuid of this asset entry. |
String |
getMimeType()
Returns the mime type of this asset entry. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this asset entry. |
long |
getPrimaryKey()
Returns the primary key of this asset entry. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
double |
getPriority()
Returns the priority of this asset entry. |
Date |
getPublishDate()
Returns the publish date of this asset entry. |
Date |
getStartDate()
Returns the start date of this asset entry. |
String |
getSummary()
Returns the summary of this asset entry. |
String |
getSummary(Locale locale)
Returns the localized summary of this asset entry in the language. |
String |
getSummary(Locale locale,
boolean useDefault)
Returns the localized summary of this asset entry in the language, optionally using the default language if no localization exists for the requested language. |
String |
getSummary(String languageId)
Returns the localized summary of this asset entry in the language. |
String |
getSummary(String languageId,
boolean useDefault)
Returns the localized summary of this asset entry in the language, optionally using the default language if no localization exists for the requested language. |
String |
getSummaryCurrentLanguageId()
|
String |
getSummaryCurrentValue()
|
Map<Locale,String> |
getSummaryMap()
Returns a map of the locales and localized summaries of this asset entry. |
String[] |
getTagNames()
|
List<AssetTag> |
getTags()
|
String |
getTitle()
Returns the title of this asset entry. |
String |
getTitle(Locale locale)
Returns the localized title of this asset entry in the language. |
String |
getTitle(Locale locale,
boolean useDefault)
Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language. |
String |
getTitle(String languageId)
Returns the localized title of this asset entry in the language. |
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language. |
String |
getTitleCurrentLanguageId()
|
String |
getTitleCurrentValue()
|
Map<Locale,String> |
getTitleMap()
Returns a map of the locales and localized titles of this asset entry. |
String |
getUrl()
Returns the url of this asset entry. |
long |
getUserId()
Returns the user ID of this asset entry. |
String |
getUserName()
Returns the user name of this asset entry. |
String |
getUserUuid()
Returns the user uuid of this asset entry. |
int |
getViewCount()
Returns the view count of this asset entry. |
boolean |
getVisible()
Returns the visible of this asset entry. |
int |
getWidth()
Returns the width of this asset entry. |
AssetEntry |
getWrappedAssetEntry()
Deprecated. Renamed to getWrappedModel() |
AssetEntry |
getWrappedModel()
|
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()
Returns true if this asset entry is visible. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
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 |
setClassTypeId(long classTypeId)
Sets the class type ID 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 |
setDescription(String description,
Locale locale)
Sets the localized description of this asset entry in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this asset entry in the language, and sets the default locale. |
void |
setDescriptionCurrentLanguageId(String languageId)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this asset entry from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this asset entry from the map of locales and localized descriptions, and sets the default locale. |
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 |
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 |
setLayoutUuid(String layoutUuid)
Sets the layout uuid of this asset entry. |
void |
setMimeType(String mimeType)
Sets the mime type of this asset entry. |
void |
setModelAttributes(Map<String,Object> attributes)
|
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 |
setSummary(String summary,
Locale locale)
Sets the localized summary of this asset entry in the language. |
void |
setSummary(String summary,
Locale locale,
Locale defaultLocale)
Sets the localized summary of this asset entry in the language, and sets the default locale. |
void |
setSummaryCurrentLanguageId(String languageId)
|
void |
setSummaryMap(Map<Locale,String> summaryMap)
Sets the localized summaries of this asset entry from the map of locales and localized summaries. |
void |
setSummaryMap(Map<Locale,String> summaryMap,
Locale defaultLocale)
Sets the localized summaries of this asset entry from the map of locales and localized summaries, and sets the default locale. |
void |
setTitle(String title)
Sets the title of this asset entry. |
void |
setTitle(String title,
Locale locale)
Sets the localized title of this asset entry in the language. |
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this asset entry in the language, and sets the default locale. |
void |
setTitleCurrentLanguageId(String languageId)
|
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this asset entry from the map of locales and localized titles. |
void |
setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
Sets the localized titles of this asset entry from the map of locales and localized titles, and sets the default locale. |
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()
|
AssetEntry |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssetEntryWrapper(AssetEntry assetEntry)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<AssetEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AssetEntry>
public long getPrimaryKey()
getPrimaryKey
in interface AssetEntryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AssetEntryModel
primaryKey
- the primary key of this asset entrypublic long getEntryId()
getEntryId
in interface AssetEntryModel
public void setEntryId(long entryId)
setEntryId
in interface AssetEntryModel
entryId
- the entry ID of this asset entrypublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface AssetEntryModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface AssetEntryModel
groupId
- the group ID of this asset entrypublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface AssetEntryModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface AssetEntryModel
companyId
- the company ID of this asset entrypublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface AssetEntryModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface AssetEntryModel
userId
- the user ID of this asset entrypublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface AssetEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface AssetEntryModel
userUuid
- the user uuid of this asset entrypublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface AssetEntryModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface AssetEntryModel
userName
- the user name of this asset entrypublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface AssetEntryModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface AssetEntryModel
createDate
- the create date of this asset entrypublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface AssetEntryModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface AssetEntryModel
modifiedDate
- the modified date of this asset entrypublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface AssetEntryModel
public void setClassName(String className)
setClassName
in interface AssetEntryModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface AssetEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface AssetEntryModel
classNameId
- the class name ID of this asset entrypublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface AssetEntryModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface AssetEntryModel
classPK
- the class p k of this asset entrypublic String getClassUuid()
getClassUuid
in interface AssetEntryModel
public void setClassUuid(String classUuid)
setClassUuid
in interface AssetEntryModel
classUuid
- the class uuid of this asset entrypublic long getClassTypeId()
getClassTypeId
in interface AssetEntryModel
public void setClassTypeId(long classTypeId)
setClassTypeId
in interface AssetEntryModel
classTypeId
- the class type ID of this asset entrypublic boolean getVisible()
getVisible
in interface AssetEntryModel
public boolean isVisible()
true
if this asset entry is visible.
isVisible
in interface AssetEntryModel
true
if this asset entry is visible; false
otherwisepublic void setVisible(boolean visible)
setVisible
in interface AssetEntryModel
visible
- the visible of this asset entrypublic Date getStartDate()
getStartDate
in interface AssetEntryModel
public void setStartDate(Date startDate)
setStartDate
in interface AssetEntryModel
startDate
- the start date of this asset entrypublic Date getEndDate()
getEndDate
in interface AssetEntryModel
public void setEndDate(Date endDate)
setEndDate
in interface AssetEntryModel
endDate
- the end date of this asset entrypublic Date getPublishDate()
getPublishDate
in interface AssetEntryModel
public void setPublishDate(Date publishDate)
setPublishDate
in interface AssetEntryModel
publishDate
- the publish date of this asset entrypublic Date getExpirationDate()
getExpirationDate
in interface AssetEntryModel
public void setExpirationDate(Date expirationDate)
setExpirationDate
in interface AssetEntryModel
expirationDate
- the expiration date of this asset entrypublic String getMimeType()
getMimeType
in interface AssetEntryModel
public void setMimeType(String mimeType)
setMimeType
in interface AssetEntryModel
mimeType
- the mime type of this asset entrypublic String getTitle()
getTitle
in interface AssetEntryModel
public String getTitle(Locale locale)
getTitle
in interface AssetEntryModel
locale
- the locale of the language
public String getTitle(Locale locale, boolean useDefault)
getTitle
in interface AssetEntryModel
locale
- the local of the languageuseDefault
- 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.public String getTitle(String languageId)
getTitle
in interface AssetEntryModel
languageId
- the ID of the language
public String getTitle(String languageId, boolean useDefault)
getTitle
in interface AssetEntryModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface AssetEntryModel
public String getTitleCurrentValue()
getTitleCurrentValue
in interface AssetEntryModel
public Map<Locale,String> getTitleMap()
getTitleMap
in interface AssetEntryModel
public void setTitle(String title)
setTitle
in interface AssetEntryModel
title
- the title of this asset entrypublic void setTitle(String title, Locale locale)
setTitle
in interface AssetEntryModel
title
- the localized title of this asset entrylocale
- the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
setTitle
in interface AssetEntryModel
title
- the localized title of this asset entrylocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId
in interface AssetEntryModel
public void setTitleMap(Map<Locale,String> titleMap)
setTitleMap
in interface AssetEntryModel
titleMap
- the locales and localized titles of this asset entrypublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
setTitleMap
in interface AssetEntryModel
titleMap
- the locales and localized titles of this asset entrydefaultLocale
- the default localepublic String getDescription()
getDescription
in interface AssetEntryModel
public String getDescription(Locale locale)
getDescription
in interface AssetEntryModel
locale
- the locale of the language
public String getDescription(Locale locale, boolean useDefault)
getDescription
in interface AssetEntryModel
locale
- the local of the languageuseDefault
- 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.public String getDescription(String languageId)
getDescription
in interface AssetEntryModel
languageId
- the ID of the language
public String getDescription(String languageId, boolean useDefault)
getDescription
in interface AssetEntryModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface AssetEntryModel
public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface AssetEntryModel
public Map<Locale,String> getDescriptionMap()
getDescriptionMap
in interface AssetEntryModel
public void setDescription(String description)
setDescription
in interface AssetEntryModel
description
- the description of this asset entrypublic void setDescription(String description, Locale locale)
setDescription
in interface AssetEntryModel
description
- the localized description of this asset entrylocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
setDescription
in interface AssetEntryModel
description
- the localized description of this asset entrylocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface AssetEntryModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap
in interface AssetEntryModel
descriptionMap
- the locales and localized descriptions of this asset entrypublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
setDescriptionMap
in interface AssetEntryModel
descriptionMap
- the locales and localized descriptions of this asset entrydefaultLocale
- the default localepublic String getSummary()
getSummary
in interface AssetEntryModel
public String getSummary(Locale locale)
getSummary
in interface AssetEntryModel
locale
- the locale of the language
public String getSummary(Locale locale, boolean useDefault)
getSummary
in interface AssetEntryModel
locale
- the local of the languageuseDefault
- 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.public String getSummary(String languageId)
getSummary
in interface AssetEntryModel
languageId
- the ID of the language
public String getSummary(String languageId, boolean useDefault)
getSummary
in interface AssetEntryModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getSummaryCurrentLanguageId()
getSummaryCurrentLanguageId
in interface AssetEntryModel
public String getSummaryCurrentValue()
getSummaryCurrentValue
in interface AssetEntryModel
public Map<Locale,String> getSummaryMap()
getSummaryMap
in interface AssetEntryModel
public void setSummary(String summary)
setSummary
in interface AssetEntryModel
summary
- the summary of this asset entrypublic void setSummary(String summary, Locale locale)
setSummary
in interface AssetEntryModel
summary
- the localized summary of this asset entrylocale
- the locale of the languagepublic void setSummary(String summary, Locale locale, Locale defaultLocale)
setSummary
in interface AssetEntryModel
summary
- the localized summary of this asset entrylocale
- the locale of the languagedefaultLocale
- the default localepublic void setSummaryCurrentLanguageId(String languageId)
setSummaryCurrentLanguageId
in interface AssetEntryModel
public void setSummaryMap(Map<Locale,String> summaryMap)
setSummaryMap
in interface AssetEntryModel
summaryMap
- the locales and localized summaries of this asset entrypublic void setSummaryMap(Map<Locale,String> summaryMap, Locale defaultLocale)
setSummaryMap
in interface AssetEntryModel
summaryMap
- the locales and localized summaries of this asset entrydefaultLocale
- the default localepublic String getUrl()
getUrl
in interface AssetEntryModel
public void setUrl(String url)
setUrl
in interface AssetEntryModel
url
- the url of this asset entrypublic String getLayoutUuid()
getLayoutUuid
in interface AssetEntryModel
public void setLayoutUuid(String layoutUuid)
setLayoutUuid
in interface AssetEntryModel
layoutUuid
- the layout uuid of this asset entrypublic int getHeight()
getHeight
in interface AssetEntryModel
public void setHeight(int height)
setHeight
in interface AssetEntryModel
height
- the height of this asset entrypublic int getWidth()
getWidth
in interface AssetEntryModel
public void setWidth(int width)
setWidth
in interface AssetEntryModel
width
- the width of this asset entrypublic double getPriority()
getPriority
in interface AssetEntryModel
public void setPriority(double priority)
setPriority
in interface AssetEntryModel
priority
- the priority of this asset entrypublic int getViewCount()
getViewCount
in interface AssetEntryModel
public void setViewCount(int viewCount)
setViewCount
in interface AssetEntryModel
viewCount
- the view count of this asset entrypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<AssetEntry>
isNew
in interface AssetEntryModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<AssetEntry>
setNew
in interface AssetEntryModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<AssetEntry>
isCachedModel
in interface AssetEntryModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<AssetEntry>
setCachedModel
in interface AssetEntryModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<AssetEntry>
isEscapedModel
in interface AssetEntryModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AssetEntryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AssetEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AssetEntryModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AssetEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetEntry>
setExpandoBridgeAttributes
in interface AssetEntryModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface AssetEntryModel
LocaleException
public Object clone()
BaseModel
clone
in interface BaseModel<AssetEntry>
clone
in interface AssetEntryModel
clone
in class Object
public int compareTo(AssetEntry assetEntry)
compareTo
in interface AssetEntryModel
compareTo
in interface Comparable<AssetEntry>
public int hashCode()
hashCode
in interface AssetEntryModel
hashCode
in class Object
public CacheModel<AssetEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AssetEntry>
toCacheModel
in interface AssetEntryModel
public AssetEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetEntry>
toEscapedModel
in interface AssetEntryModel
AutoEscapeBeanHandler
public AssetEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetEntry>
toUnescapedModel
in interface AssetEntryModel
public String toString()
toString
in interface AssetEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetEntry>
toXmlString
in interface AssetEntryModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic List<AssetCategory> getCategories() throws SystemException
getCategories
in interface AssetEntry
SystemException
public long[] getCategoryIds() throws SystemException
getCategoryIds
in interface AssetEntry
SystemException
public String[] getTagNames() throws SystemException
getTagNames
in interface AssetEntry
SystemException
public List<AssetTag> getTags() throws SystemException
getTags
in interface AssetEntry
SystemException
public boolean equals(Object obj)
equals
in class Object
public AssetEntry getWrappedAssetEntry()
getWrappedModel()
public AssetEntry getWrappedModel()
getWrappedModel
in interface ModelWrapper<AssetEntry>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AssetEntry>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |