|
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.portal.model.impl.BaseModelImpl<AssetEntry> com.liferay.portlet.asset.model.impl.AssetEntryModelImpl
@JSON(strict=true) public class AssetEntryModelImpl
The base model implementation for the AssetEntry service. Represents a row in the "AssetEntry" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AssetEntryModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AssetEntryImpl
.
AssetEntryImpl
,
AssetEntry
,
AssetEntryModel
,
Serialized FormConstructor Summary | |
---|---|
AssetEntryModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetEntry assetEntry)
|
boolean |
equals(Object obj)
|
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 |
getColumnBitmask()
|
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 |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
String |
getOriginalClassUuid()
|
long |
getOriginalCompanyId()
|
Date |
getOriginalExpirationDate()
|
long |
getOriginalGroupId()
|
String |
getOriginalLayoutUuid()
|
Date |
getOriginalPublishDate()
|
boolean |
getOriginalVisible()
|
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 |
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. |
int |
hashCode()
|
boolean |
isVisible()
Returns true if this asset entry is visible. |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 . |
static AssetEntry |
toModel(AssetEntrySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<AssetEntry> |
toModels(AssetEntrySoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
AssetEntry |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.asset.model.AssetEntryModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long CLASSUUID_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long EXPIRATIONDATE_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long LAYOUTUUID_COLUMN_BITMASK
public static long PUBLISHDATE_COLUMN_BITMASK
public static long VISIBLE_COLUMN_BITMASK
public static final String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_NAME
public static final Object[][] MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_COLUMNS
public static final String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETCATEGORIES
public static final String MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_NAME
public static final Object[][] MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_COLUMNS
public static final String MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETTAGS
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public AssetEntryModelImpl()
Method Detail |
---|
public static AssetEntry toModel(AssetEntrySoap soapModel)
soapModel
- the soap model instance to convert
public static List<AssetEntry> toModels(AssetEntrySoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
AssetEntryModel
getPrimaryKey
in interface AssetEntryModel
public void setPrimaryKey(long primaryKey)
AssetEntryModel
setPrimaryKey
in interface AssetEntryModel
primaryKey
- the primary key of this asset entrypublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<AssetEntry>
getModelAttributes
in class BaseModelImpl<AssetEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AssetEntry>
setModelAttributes
in class BaseModelImpl<AssetEntry>
@JSON public long getEntryId()
AssetEntryModel
getEntryId
in interface AssetEntryModel
public void setEntryId(long entryId)
AssetEntryModel
setEntryId
in interface AssetEntryModel
entryId
- the entry ID of this asset entry@JSON public long getGroupId()
AssetEntryModel
getGroupId
in interface GroupedModel
getGroupId
in interface AssetEntryModel
public void setGroupId(long groupId)
AssetEntryModel
setGroupId
in interface GroupedModel
setGroupId
in interface AssetEntryModel
groupId
- the group ID of this asset entrypublic long getOriginalGroupId()
@JSON public long getCompanyId()
AssetEntryModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface AssetEntryModel
public void setCompanyId(long companyId)
AssetEntryModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface AssetEntryModel
companyId
- the company ID of this asset entrypublic long getOriginalCompanyId()
@JSON public long getUserId()
AssetEntryModel
getUserId
in interface AuditedModel
getUserId
in interface AssetEntryModel
public void setUserId(long userId)
AssetEntryModel
setUserId
in interface AuditedModel
setUserId
in interface AssetEntryModel
userId
- the user ID of this asset entrypublic String getUserUuid() throws SystemException
AssetEntryModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface AssetEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AssetEntryModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface AssetEntryModel
userUuid
- the user uuid of this asset entry@JSON public String getUserName()
AssetEntryModel
getUserName
in interface AuditedModel
getUserName
in interface AssetEntryModel
public void setUserName(String userName)
AssetEntryModel
setUserName
in interface AuditedModel
setUserName
in interface AssetEntryModel
userName
- the user name of this asset entry@JSON public Date getCreateDate()
AssetEntryModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface AssetEntryModel
public void setCreateDate(Date createDate)
AssetEntryModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface AssetEntryModel
createDate
- the create date of this asset entry@JSON public Date getModifiedDate()
AssetEntryModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface AssetEntryModel
public void setModifiedDate(Date modifiedDate)
AssetEntryModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface AssetEntryModel
modifiedDate
- the modified date of this asset entrypublic String getClassName()
AssetEntryModel
getClassName
in interface AttachedModel
getClassName
in interface AssetEntryModel
public void setClassName(String className)
setClassName
in interface AssetEntryModel
@JSON public long getClassNameId()
AssetEntryModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface AssetEntryModel
public void setClassNameId(long classNameId)
AssetEntryModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface AssetEntryModel
classNameId
- the class name ID of this asset entrypublic long getOriginalClassNameId()
@JSON public long getClassPK()
AssetEntryModel
getClassPK
in interface AttachedModel
getClassPK
in interface AssetEntryModel
public void setClassPK(long classPK)
AssetEntryModel
setClassPK
in interface AttachedModel
setClassPK
in interface AssetEntryModel
classPK
- the class p k of this asset entrypublic long getOriginalClassPK()
@JSON public String getClassUuid()
AssetEntryModel
getClassUuid
in interface AssetEntryModel
public void setClassUuid(String classUuid)
AssetEntryModel
setClassUuid
in interface AssetEntryModel
classUuid
- the class uuid of this asset entrypublic String getOriginalClassUuid()
@JSON public long getClassTypeId()
AssetEntryModel
getClassTypeId
in interface AssetEntryModel
public void setClassTypeId(long classTypeId)
AssetEntryModel
setClassTypeId
in interface AssetEntryModel
classTypeId
- the class type ID of this asset entry@JSON public boolean getVisible()
AssetEntryModel
getVisible
in interface AssetEntryModel
public boolean isVisible()
AssetEntryModel
true
if this asset entry is visible.
isVisible
in interface AssetEntryModel
true
if this asset entry is visible; false
otherwisepublic void setVisible(boolean visible)
AssetEntryModel
setVisible
in interface AssetEntryModel
visible
- the visible of this asset entrypublic boolean getOriginalVisible()
@JSON public Date getStartDate()
AssetEntryModel
getStartDate
in interface AssetEntryModel
public void setStartDate(Date startDate)
AssetEntryModel
setStartDate
in interface AssetEntryModel
startDate
- the start date of this asset entry@JSON public Date getEndDate()
AssetEntryModel
getEndDate
in interface AssetEntryModel
public void setEndDate(Date endDate)
AssetEntryModel
setEndDate
in interface AssetEntryModel
endDate
- the end date of this asset entry@JSON public Date getPublishDate()
AssetEntryModel
getPublishDate
in interface AssetEntryModel
public void setPublishDate(Date publishDate)
AssetEntryModel
setPublishDate
in interface AssetEntryModel
publishDate
- the publish date of this asset entrypublic Date getOriginalPublishDate()
@JSON public Date getExpirationDate()
AssetEntryModel
getExpirationDate
in interface AssetEntryModel
public void setExpirationDate(Date expirationDate)
AssetEntryModel
setExpirationDate
in interface AssetEntryModel
expirationDate
- the expiration date of this asset entrypublic Date getOriginalExpirationDate()
@JSON public String getMimeType()
AssetEntryModel
getMimeType
in interface AssetEntryModel
public void setMimeType(String mimeType)
AssetEntryModel
setMimeType
in interface AssetEntryModel
mimeType
- the mime type of this asset entry@JSON public String getTitle()
AssetEntryModel
getTitle
in interface AssetEntryModel
public String getTitle(Locale locale)
AssetEntryModel
getTitle
in interface AssetEntryModel
locale
- the locale of the language
public String getTitle(Locale locale, boolean useDefault)
AssetEntryModel
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)
AssetEntryModel
getTitle
in interface AssetEntryModel
languageId
- the ID of the language
public String getTitle(String languageId, boolean useDefault)
AssetEntryModel
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
@JSON public String getTitleCurrentValue()
getTitleCurrentValue
in interface AssetEntryModel
public Map<Locale,String> getTitleMap()
AssetEntryModel
getTitleMap
in interface AssetEntryModel
public void setTitle(String title)
AssetEntryModel
setTitle
in interface AssetEntryModel
title
- the title of this asset entrypublic void setTitle(String title, Locale locale)
AssetEntryModel
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)
AssetEntryModel
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)
AssetEntryModel
setTitleMap
in interface AssetEntryModel
titleMap
- the locales and localized titles of this asset entrypublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
AssetEntryModel
setTitleMap
in interface AssetEntryModel
titleMap
- the locales and localized titles of this asset entrydefaultLocale
- the default locale@JSON public String getDescription()
AssetEntryModel
getDescription
in interface AssetEntryModel
public String getDescription(Locale locale)
AssetEntryModel
getDescription
in interface AssetEntryModel
locale
- the locale of the language
public String getDescription(Locale locale, boolean useDefault)
AssetEntryModel
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)
AssetEntryModel
getDescription
in interface AssetEntryModel
languageId
- the ID of the language
public String getDescription(String languageId, boolean useDefault)
AssetEntryModel
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
@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface AssetEntryModel
public Map<Locale,String> getDescriptionMap()
AssetEntryModel
getDescriptionMap
in interface AssetEntryModel
public void setDescription(String description)
AssetEntryModel
setDescription
in interface AssetEntryModel
description
- the description of this asset entrypublic void setDescription(String description, Locale locale)
AssetEntryModel
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)
AssetEntryModel
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)
AssetEntryModel
setDescriptionMap
in interface AssetEntryModel
descriptionMap
- the locales and localized descriptions of this asset entrypublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
AssetEntryModel
setDescriptionMap
in interface AssetEntryModel
descriptionMap
- the locales and localized descriptions of this asset entrydefaultLocale
- the default locale@JSON public String getSummary()
AssetEntryModel
getSummary
in interface AssetEntryModel
public String getSummary(Locale locale)
AssetEntryModel
getSummary
in interface AssetEntryModel
locale
- the locale of the language
public String getSummary(Locale locale, boolean useDefault)
AssetEntryModel
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)
AssetEntryModel
getSummary
in interface AssetEntryModel
languageId
- the ID of the language
public String getSummary(String languageId, boolean useDefault)
AssetEntryModel
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
@JSON public String getSummaryCurrentValue()
getSummaryCurrentValue
in interface AssetEntryModel
public Map<Locale,String> getSummaryMap()
AssetEntryModel
getSummaryMap
in interface AssetEntryModel
public void setSummary(String summary)
AssetEntryModel
setSummary
in interface AssetEntryModel
summary
- the summary of this asset entrypublic void setSummary(String summary, Locale locale)
AssetEntryModel
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)
AssetEntryModel
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)
AssetEntryModel
setSummaryMap
in interface AssetEntryModel
summaryMap
- the locales and localized summaries of this asset entrypublic void setSummaryMap(Map<Locale,String> summaryMap, Locale defaultLocale)
AssetEntryModel
setSummaryMap
in interface AssetEntryModel
summaryMap
- the locales and localized summaries of this asset entrydefaultLocale
- the default locale@JSON public String getUrl()
AssetEntryModel
getUrl
in interface AssetEntryModel
public void setUrl(String url)
AssetEntryModel
setUrl
in interface AssetEntryModel
url
- the url of this asset entry@JSON public String getLayoutUuid()
AssetEntryModel
getLayoutUuid
in interface AssetEntryModel
public void setLayoutUuid(String layoutUuid)
AssetEntryModel
setLayoutUuid
in interface AssetEntryModel
layoutUuid
- the layout uuid of this asset entrypublic String getOriginalLayoutUuid()
@JSON public int getHeight()
AssetEntryModel
getHeight
in interface AssetEntryModel
public void setHeight(int height)
AssetEntryModel
setHeight
in interface AssetEntryModel
height
- the height of this asset entry@JSON public int getWidth()
AssetEntryModel
getWidth
in interface AssetEntryModel
public void setWidth(int width)
AssetEntryModel
setWidth
in interface AssetEntryModel
width
- the width of this asset entry@JSON public double getPriority()
AssetEntryModel
getPriority
in interface AssetEntryModel
public void setPriority(double priority)
AssetEntryModel
setPriority
in interface AssetEntryModel
priority
- the priority of this asset entry@JSON public int getViewCount()
AssetEntryModel
getViewCount
in interface AssetEntryModel
public void setViewCount(int viewCount)
AssetEntryModel
setViewCount
in interface AssetEntryModel
viewCount
- the view count of this asset entrypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AssetEntryModel
getExpandoBridge
in class BaseModelImpl<AssetEntry>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetEntry>
setExpandoBridgeAttributes
in interface AssetEntryModel
setExpandoBridgeAttributes
in class BaseModelImpl<AssetEntry>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface AssetEntryModel
LocaleException
public AssetEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetEntry>
toEscapedModel
in interface AssetEntryModel
toEscapedModel
in class BaseModelImpl<AssetEntry>
AutoEscapeBeanHandler
public AssetEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetEntry>
toUnescapedModel
in interface AssetEntryModel
toUnescapedModel
in class BaseModelImpl<AssetEntry>
public Object clone()
BaseModel
clone
in interface BaseModel<AssetEntry>
clone
in interface AssetEntryModel
clone
in class BaseModelImpl<AssetEntry>
public int compareTo(AssetEntry assetEntry)
compareTo
in interface AssetEntryModel
compareTo
in interface Comparable<AssetEntry>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface AssetEntryModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AssetEntry>
resetOriginalValues
in class BaseModelImpl<AssetEntry>
public CacheModel<AssetEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AssetEntry>
toCacheModel
in interface AssetEntryModel
toCacheModel
in class BaseModelImpl<AssetEntry>
public String toString()
toString
in interface AssetEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetEntry>
toXmlString
in interface AssetEntryModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |