|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<AssetEntry>
com.liferay.portlet.asset.model.impl.AssetEntryModelImpl
@JSON(strict=true) @ProviderType 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 Form| Constructor Summary | |
|---|---|
AssetEntryModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetEntry assetEntry)
|
boolean |
equals(Object obj)
|
String[] |
getAvailableLanguageIds()
|
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 |
getDefaultLanguageId()
|
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. |
boolean |
getListable()
Returns the listable 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 |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isListable()
Returns true if this asset entry is listable. |
boolean |
isVisible()
Returns true if this asset entry is visible. |
void |
prepareLocalizedFieldsForImport()
|
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 |
setListable(boolean listable)
Sets whether this asset entry is listable. |
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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long CLASSUUID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long EXPIRATIONDATE_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long LAYOUTUUID_COLUMN_BITMASK
public static final long PUBLISHDATE_COLUMN_BITMASK
public static final long VISIBLE_COLUMN_BITMASK
public static final long ENTRYID_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 AssetEntryModelpublic void setPrimaryKey(long primaryKey)
AssetEntryModel
setPrimaryKey in interface AssetEntryModelprimaryKey - the primary key of this asset entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AssetEntryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<AssetEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AssetEntryModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 AssetEntryModelpublic void setEntryId(long entryId)
AssetEntryModel
setEntryId in interface AssetEntryModelentryId - the entry ID of this asset entry@JSON public long getGroupId()
AssetEntryModel
getGroupId in interface GroupedModelgetGroupId in interface AssetEntryModelpublic void setGroupId(long groupId)
AssetEntryModel
setGroupId in interface GroupedModelsetGroupId in interface AssetEntryModelgroupId - the group ID of this asset entrypublic long getOriginalGroupId()
@JSON public long getCompanyId()
AssetEntryModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface AssetEntryModelpublic void setCompanyId(long companyId)
AssetEntryModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface AssetEntryModelcompanyId - the company ID of this asset entrypublic long getOriginalCompanyId()
@JSON public long getUserId()
AssetEntryModel
getUserId in interface AuditedModelgetUserId in interface AssetEntryModelpublic void setUserId(long userId)
AssetEntryModel
setUserId in interface AuditedModelsetUserId in interface AssetEntryModeluserId - the user ID of this asset entrypublic String getUserUuid()
AssetEntryModel
getUserUuid in interface AuditedModelgetUserUuid in interface AssetEntryModelpublic void setUserUuid(String userUuid)
AssetEntryModel
setUserUuid in interface AuditedModelsetUserUuid in interface AssetEntryModeluserUuid - the user uuid of this asset entry@JSON public String getUserName()
AssetEntryModel
getUserName in interface AuditedModelgetUserName in interface AssetEntryModelpublic void setUserName(String userName)
AssetEntryModel
setUserName in interface AuditedModelsetUserName in interface AssetEntryModeluserName - the user name of this asset entry@JSON public Date getCreateDate()
AssetEntryModel
getCreateDate in interface AuditedModelgetCreateDate in interface AssetEntryModelpublic void setCreateDate(Date createDate)
AssetEntryModel
setCreateDate in interface AuditedModelsetCreateDate in interface AssetEntryModelcreateDate - the create date of this asset entry@JSON public Date getModifiedDate()
AssetEntryModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface AssetEntryModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
AssetEntryModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface AssetEntryModelmodifiedDate - the modified date of this asset entrypublic String getClassName()
AssetEntryModel
getClassName in interface TypedModelgetClassName in interface AssetEntryModelpublic void setClassName(String className)
setClassName in interface AssetEntryModel@JSON public long getClassNameId()
AssetEntryModel
getClassNameId in interface TypedModelgetClassNameId in interface AssetEntryModelpublic void setClassNameId(long classNameId)
AssetEntryModel
setClassNameId in interface TypedModelsetClassNameId in interface AssetEntryModelclassNameId - the class name ID of this asset entrypublic long getOriginalClassNameId()
@JSON public long getClassPK()
AssetEntryModel
getClassPK in interface AttachedModelgetClassPK in interface AssetEntryModelpublic void setClassPK(long classPK)
AssetEntryModel
setClassPK in interface AttachedModelsetClassPK in interface AssetEntryModelclassPK - the class p k of this asset entrypublic long getOriginalClassPK()
@JSON public String getClassUuid()
AssetEntryModel
getClassUuid in interface AssetEntryModelpublic void setClassUuid(String classUuid)
AssetEntryModel
setClassUuid in interface AssetEntryModelclassUuid - the class uuid of this asset entrypublic String getOriginalClassUuid()
@JSON public long getClassTypeId()
AssetEntryModel
getClassTypeId in interface AssetEntryModelpublic void setClassTypeId(long classTypeId)
AssetEntryModel
setClassTypeId in interface AssetEntryModelclassTypeId - the class type ID of this asset entry@JSON public boolean getListable()
AssetEntryModel
getListable in interface AssetEntryModelpublic boolean isListable()
AssetEntryModeltrue if this asset entry is listable.
isListable in interface AssetEntryModeltrue if this asset entry is listable; false otherwisepublic void setListable(boolean listable)
AssetEntryModel
setListable in interface AssetEntryModellistable - the listable of this asset entry@JSON public boolean getVisible()
AssetEntryModel
getVisible in interface AssetEntryModelpublic boolean isVisible()
AssetEntryModeltrue if this asset entry is visible.
isVisible in interface AssetEntryModeltrue if this asset entry is visible; false otherwisepublic void setVisible(boolean visible)
AssetEntryModel
setVisible in interface AssetEntryModelvisible - the visible of this asset entrypublic boolean getOriginalVisible()
@JSON public Date getStartDate()
AssetEntryModel
getStartDate in interface AssetEntryModelpublic void setStartDate(Date startDate)
AssetEntryModel
setStartDate in interface AssetEntryModelstartDate - the start date of this asset entry@JSON public Date getEndDate()
AssetEntryModel
getEndDate in interface AssetEntryModelpublic void setEndDate(Date endDate)
AssetEntryModel
setEndDate in interface AssetEntryModelendDate - the end date of this asset entry@JSON public Date getPublishDate()
AssetEntryModel
getPublishDate in interface AssetEntryModelpublic void setPublishDate(Date publishDate)
AssetEntryModel
setPublishDate in interface AssetEntryModelpublishDate - the publish date of this asset entrypublic Date getOriginalPublishDate()
@JSON public Date getExpirationDate()
AssetEntryModel
getExpirationDate in interface AssetEntryModelpublic void setExpirationDate(Date expirationDate)
AssetEntryModel
setExpirationDate in interface AssetEntryModelexpirationDate - the expiration date of this asset entrypublic Date getOriginalExpirationDate()
@JSON public String getMimeType()
AssetEntryModel
getMimeType in interface AssetEntryModelpublic void setMimeType(String mimeType)
AssetEntryModel
setMimeType in interface AssetEntryModelmimeType - the mime type of this asset entry@JSON public String getTitle()
AssetEntryModel
getTitle in interface AssetEntryModelpublic String getTitle(Locale locale)
AssetEntryModel
getTitle in interface AssetEntryModellocale - the locale of the language
public String getTitle(Locale locale,
boolean useDefault)
AssetEntryModel
getTitle in interface AssetEntryModellocale - 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 AssetEntryModellanguageId - the ID of the language
public String getTitle(String languageId,
boolean useDefault)
AssetEntryModel
getTitle in interface AssetEntryModellanguageId - 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 AssetEntryModelpublic Map<Locale,String> getTitleMap()
AssetEntryModel
getTitleMap in interface AssetEntryModelpublic void setTitle(String title)
AssetEntryModel
setTitle in interface AssetEntryModeltitle - the title of this asset entry
public void setTitle(String title,
Locale locale)
AssetEntryModel
setTitle in interface AssetEntryModeltitle - the localized title of this asset entrylocale - the locale of the language
public void setTitle(String title,
Locale locale,
Locale defaultLocale)
AssetEntryModel
setTitle in interface AssetEntryModeltitle - the localized title of this asset entrylocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId in interface AssetEntryModelpublic void setTitleMap(Map<Locale,String> titleMap)
AssetEntryModel
setTitleMap in interface AssetEntryModeltitleMap - the locales and localized titles of this asset entry
public void setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
AssetEntryModel
setTitleMap in interface AssetEntryModeltitleMap - the locales and localized titles of this asset entrydefaultLocale - the default locale@JSON public String getDescription()
AssetEntryModel
getDescription in interface AssetEntryModelpublic String getDescription(Locale locale)
AssetEntryModel
getDescription in interface AssetEntryModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
AssetEntryModel
getDescription in interface AssetEntryModellocale - 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 AssetEntryModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
AssetEntryModel
getDescription in interface AssetEntryModellanguageId - 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 AssetEntryModelpublic Map<Locale,String> getDescriptionMap()
AssetEntryModel
getDescriptionMap in interface AssetEntryModelpublic void setDescription(String description)
AssetEntryModel
setDescription in interface AssetEntryModeldescription - the description of this asset entry
public void setDescription(String description,
Locale locale)
AssetEntryModel
setDescription in interface AssetEntryModeldescription - the localized description of this asset entrylocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
AssetEntryModel
setDescription in interface AssetEntryModeldescription - the localized description of this asset entrylocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface AssetEntryModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
AssetEntryModel
setDescriptionMap in interface AssetEntryModeldescriptionMap - the locales and localized descriptions of this asset entry
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
AssetEntryModel
setDescriptionMap in interface AssetEntryModeldescriptionMap - the locales and localized descriptions of this asset entrydefaultLocale - the default locale@JSON public String getSummary()
AssetEntryModel
getSummary in interface AssetEntryModelpublic String getSummary(Locale locale)
AssetEntryModel
getSummary in interface AssetEntryModellocale - the locale of the language
public String getSummary(Locale locale,
boolean useDefault)
AssetEntryModel
getSummary in interface AssetEntryModellocale - 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 AssetEntryModellanguageId - the ID of the language
public String getSummary(String languageId,
boolean useDefault)
AssetEntryModel
getSummary in interface AssetEntryModellanguageId - 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 AssetEntryModelpublic Map<Locale,String> getSummaryMap()
AssetEntryModel
getSummaryMap in interface AssetEntryModelpublic void setSummary(String summary)
AssetEntryModel
setSummary in interface AssetEntryModelsummary - the summary of this asset entry
public void setSummary(String summary,
Locale locale)
AssetEntryModel
setSummary in interface AssetEntryModelsummary - the localized summary of this asset entrylocale - the locale of the language
public void setSummary(String summary,
Locale locale,
Locale defaultLocale)
AssetEntryModel
setSummary in interface AssetEntryModelsummary - the localized summary of this asset entrylocale - the locale of the languagedefaultLocale - the default localepublic void setSummaryCurrentLanguageId(String languageId)
setSummaryCurrentLanguageId in interface AssetEntryModelpublic void setSummaryMap(Map<Locale,String> summaryMap)
AssetEntryModel
setSummaryMap in interface AssetEntryModelsummaryMap - the locales and localized summaries of this asset entry
public void setSummaryMap(Map<Locale,String> summaryMap,
Locale defaultLocale)
AssetEntryModel
setSummaryMap in interface AssetEntryModelsummaryMap - the locales and localized summaries of this asset entrydefaultLocale - the default locale@JSON public String getUrl()
AssetEntryModel
getUrl in interface AssetEntryModelpublic void setUrl(String url)
AssetEntryModel
setUrl in interface AssetEntryModelurl - the url of this asset entry@JSON public String getLayoutUuid()
AssetEntryModel
getLayoutUuid in interface AssetEntryModelpublic void setLayoutUuid(String layoutUuid)
AssetEntryModel
setLayoutUuid in interface AssetEntryModellayoutUuid - the layout uuid of this asset entrypublic String getOriginalLayoutUuid()
@JSON public int getHeight()
AssetEntryModel
getHeight in interface AssetEntryModelpublic void setHeight(int height)
AssetEntryModel
setHeight in interface AssetEntryModelheight - the height of this asset entry@JSON public int getWidth()
AssetEntryModel
getWidth in interface AssetEntryModelpublic void setWidth(int width)
AssetEntryModel
setWidth in interface AssetEntryModelwidth - the width of this asset entry@JSON public double getPriority()
AssetEntryModel
getPriority in interface AssetEntryModelpublic void setPriority(double priority)
AssetEntryModel
setPriority in interface AssetEntryModelpriority - the priority of this asset entry@JSON public int getViewCount()
AssetEntryModel
getViewCount in interface AssetEntryModelpublic void setViewCount(int viewCount)
AssetEntryModel
setViewCount in interface AssetEntryModelviewCount - the view count of this asset entrypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AssetEntryModelgetExpandoBridge in class BaseModelImpl<AssetEntry>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetEntry>setExpandoBridgeAttributes in interface AssetEntryModelsetExpandoBridgeAttributes in class BaseModelImpl<AssetEntry>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModelgetAvailableLanguageIds in interface AssetEntryModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModelgetDefaultLanguageId in interface AssetEntryModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface AssetEntryModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface AssetEntryModelLocaleExceptionpublic AssetEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<AssetEntry>toEscapedModel in interface AssetEntryModeltoEscapedModel in class BaseModelImpl<AssetEntry>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<AssetEntry>clone in interface AssetEntryModelclone in class BaseModelImpl<AssetEntry>public int compareTo(AssetEntry assetEntry)
compareTo in interface AssetEntryModelcompareTo in interface Comparable<AssetEntry>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface AssetEntryModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<AssetEntry>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<AssetEntry>true if this model's finder cache is enabled;
false otherwisepublic 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 AssetEntryModeltoCacheModel in class BaseModelImpl<AssetEntry>public String toString()
toString in interface AssetEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AssetEntry>toXmlString in interface AssetEntryModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||