Package com.liferay.portal.kernel.model
Interface LayoutRevisionModel
- All Superinterfaces:
AuditedModel,BaseModel<LayoutRevision>,ClassedModel,Cloneable,Comparable<LayoutRevision>,GroupedModel,LocalizedModel,MVCCModel,Serializable,ShardedModel,WorkflowedModel
- All Known Subinterfaces:
LayoutRevision
- All Known Implementing Classes:
LayoutRevisionWrapper
@ProviderType
public interface LayoutRevisionModel
extends BaseModel<LayoutRevision>, GroupedModel, LocalizedModel, MVCCModel, ShardedModel, WorkflowedModel
The base model interface for the LayoutRevision service. Represents a row in the "LayoutRevision" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.LayoutRevisionModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.LayoutRevisionImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the color scheme ID of this layout revision.longReturns the company ID of this layout revision.Returns the create date of this layout revision.getCss()Returns the css of this layout revision.Returns the description of this layout revision.getDescription(String languageId) Returns the localized description of this layout revision in the language.getDescription(String languageId, boolean useDefault) Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language.getDescription(Locale locale) Returns the localized description of this layout revision in the language.getDescription(Locale locale, boolean useDefault) Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized descriptions of this layout revision.longReturns the group ID of this layout revision.booleangetHead()Returns the head of this layout revision.longReturns the icon image ID of this layout revision.Returns the keywords of this layout revision.getKeywords(String languageId) Returns the localized keywords of this layout revision in the language.getKeywords(String languageId, boolean useDefault) Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language.getKeywords(Locale locale) Returns the localized keywords of this layout revision in the language.getKeywords(Locale locale, boolean useDefault) Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized keywordses of this layout revision.longReturns the layout branch ID of this layout revision.longReturns the layout revision ID of this layout revision.longReturns the layout set branch ID of this layout revision.booleangetMajor()Returns the major of this layout revision.Returns the modified date of this layout revision.longReturns the mvcc version of this layout revision.getName()Returns the name of this layout revision.Returns the localized name of this layout revision in the language.Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this layout revision in the language.Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this layout revision.longReturns the parent layout revision ID of this layout revision.longgetPlid()Returns the plid of this layout revision.longReturns the primary key of this layout revision.booleanReturns the private layout of this layout revision.Returns the robots of this layout revision.Returns the localized robots of this layout revision in the language.Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language.Returns the localized robots of this layout revision in the language.Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized robotses of this layout revision.intReturns the status of this layout revision.longReturns the status by user ID of this layout revision.Returns the status by user name of this layout revision.Returns the status by user uuid of this layout revision.Returns the status date of this layout revision.Returns the theme ID of this layout revision.getTitle()Returns the title of this layout revision.Returns the localized title of this layout revision in the language.Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language.Returns the localized title of this layout revision in the language.Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized titles of this layout revision.Returns the type settings of this layout revision.longReturns the user ID of this layout revision.Returns the user name of this layout revision.Returns the user uuid of this layout revision.booleanReturnstrueif this layout revision is approved.booleanisDenied()Returnstrueif this layout revision is denied.booleanisDraft()Returnstrueif this layout revision is a draft.booleanReturnstrueif this layout revision is expired.booleanisHead()Returnstrueif this layout revision is head.booleanReturnstrueif this layout revision is inactive.booleanReturnstrueif this layout revision is incomplete.booleanisMajor()Returnstrueif this layout revision is major.booleanReturnstrueif this layout revision is pending.booleanReturnstrueif this layout revision is private layout.booleanReturnstrueif this layout revision is scheduled.voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetColorSchemeId(String colorSchemeId) Sets the color scheme ID of this layout revision.voidsetCompanyId(long companyId) Sets the company ID of this layout revision.voidsetCreateDate(Date createDate) Sets the create date of this layout revision.voidSets the css of this layout revision.voidsetDescription(String description) Sets the description of this layout revision.voidsetDescription(String description, Locale locale) Sets the localized description of this layout revision in the language.voidsetDescription(String description, Locale locale, Locale defaultLocale) Sets the localized description of this layout revision in the language, and sets the default locale.voidsetDescriptionCurrentLanguageId(String languageId) voidsetDescriptionMap(Map<Locale, String> descriptionMap) Sets the localized descriptions of this layout revision from the map of locales and localized descriptions.voidsetDescriptionMap(Map<Locale, String> descriptionMap, Locale defaultLocale) Sets the localized descriptions of this layout revision from the map of locales and localized descriptions, and sets the default locale.voidsetGroupId(long groupId) Sets the group ID of this layout revision.voidsetHead(boolean head) Sets whether this layout revision is head.voidsetIconImageId(long iconImageId) Sets the icon image ID of this layout revision.voidsetKeywords(String keywords) Sets the keywords of this layout revision.voidsetKeywords(String keywords, Locale locale) Sets the localized keywords of this layout revision in the language.voidsetKeywords(String keywords, Locale locale, Locale defaultLocale) Sets the localized keywords of this layout revision in the language, and sets the default locale.voidsetKeywordsCurrentLanguageId(String languageId) voidsetKeywordsMap(Map<Locale, String> keywordsMap) Sets the localized keywordses of this layout revision from the map of locales and localized keywordses.voidsetKeywordsMap(Map<Locale, String> keywordsMap, Locale defaultLocale) Sets the localized keywordses of this layout revision from the map of locales and localized keywordses, and sets the default locale.voidsetLayoutBranchId(long layoutBranchId) Sets the layout branch ID of this layout revision.voidsetLayoutRevisionId(long layoutRevisionId) Sets the layout revision ID of this layout revision.voidsetLayoutSetBranchId(long layoutSetBranchId) Sets the layout set branch ID of this layout revision.voidsetMajor(boolean major) Sets whether this layout revision is major.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this layout revision.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this layout revision.voidSets the name of this layout revision.voidSets the localized name of this layout revision in the language.voidSets the localized name of this layout revision in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this layout revision from the map of locales and localized names.voidsetNameMap(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this layout revision from the map of locales and localized names, and sets the default locale.voidsetParentLayoutRevisionId(long parentLayoutRevisionId) Sets the parent layout revision ID of this layout revision.voidsetPlid(long plid) Sets the plid of this layout revision.voidsetPrimaryKey(long primaryKey) Sets the primary key of this layout revision.voidsetPrivateLayout(boolean privateLayout) Sets whether this layout revision is private layout.voidSets the robots of this layout revision.voidSets the localized robots of this layout revision in the language.voidSets the localized robots of this layout revision in the language, and sets the default locale.voidsetRobotsCurrentLanguageId(String languageId) voidsetRobotsMap(Map<Locale, String> robotsMap) Sets the localized robotses of this layout revision from the map of locales and localized robotses.voidsetRobotsMap(Map<Locale, String> robotsMap, Locale defaultLocale) Sets the localized robotses of this layout revision from the map of locales and localized robotses, and sets the default locale.voidsetStatus(int status) Sets the status of this layout revision.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this layout revision.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this layout revision.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this layout revision.voidsetStatusDate(Date statusDate) Sets the status date of this layout revision.voidsetThemeId(String themeId) Sets the theme ID of this layout revision.voidSets the title of this layout revision.voidSets the localized title of this layout revision in the language.voidSets the localized title of this layout revision in the language, and sets the default locale.voidsetTitleCurrentLanguageId(String languageId) voidsetTitleMap(Map<Locale, String> titleMap) Sets the localized titles of this layout revision from the map of locales and localized titles.voidsetTitleMap(Map<Locale, String> titleMap, Locale defaultLocale) Sets the localized titles of this layout revision from the map of locales and localized titles, and sets the default locale.voidsetTypeSettings(String typeSettings) Sets the type settings of this layout revision.voidsetUserId(long userId) Sets the user ID of this layout revision.voidsetUserName(String userName) Sets the user name of this layout revision.voidsetUserUuid(String userUuid) Sets the user uuid of this layout revision.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this layout revision.- Returns:
- the primary key of this layout revision
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this layout revision.- Parameters:
primaryKey- the primary key of this layout revision
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this layout revision.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this layout revision
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this layout revision.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this layout revision
-
getLayoutRevisionId
long getLayoutRevisionId()Returns the layout revision ID of this layout revision.- Returns:
- the layout revision ID of this layout revision
-
setLayoutRevisionId
void setLayoutRevisionId(long layoutRevisionId) Sets the layout revision ID of this layout revision.- Parameters:
layoutRevisionId- the layout revision ID of this layout revision
-
getGroupId
long getGroupId()Returns the group ID of this layout revision.- Specified by:
getGroupIdin interfaceGroupedModel- Returns:
- the group ID of this layout revision
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this layout revision.- Specified by:
setGroupIdin interfaceGroupedModel- Parameters:
groupId- the group ID of this layout revision
-
getCompanyId
long getCompanyId()Returns the company ID of this layout revision.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this layout revision
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this layout revision.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this layout revision
-
getUserId
long getUserId()Returns the user ID of this layout revision.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this layout revision
-
setUserId
void setUserId(long userId) Sets the user ID of this layout revision.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this layout revision
-
getUserUuid
String getUserUuid()Returns the user uuid of this layout revision.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this layout revision
-
setUserUuid
Sets the user uuid of this layout revision.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this layout revision
-
getUserName
Returns the user name of this layout revision.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this layout revision
-
setUserName
Sets the user name of this layout revision.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this layout revision
-
getCreateDate
Date getCreateDate()Returns the create date of this layout revision.- Specified by:
getCreateDatein interfaceAuditedModel- Returns:
- the create date of this layout revision
-
setCreateDate
Sets the create date of this layout revision.- Specified by:
setCreateDatein interfaceAuditedModel- Parameters:
createDate- the create date of this layout revision
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this layout revision.- Specified by:
getModifiedDatein interfaceAuditedModel- Returns:
- the modified date of this layout revision
-
setModifiedDate
Sets the modified date of this layout revision.- Specified by:
setModifiedDatein interfaceAuditedModel- Parameters:
modifiedDate- the modified date of this layout revision
-
getLayoutSetBranchId
long getLayoutSetBranchId()Returns the layout set branch ID of this layout revision.- Returns:
- the layout set branch ID of this layout revision
-
setLayoutSetBranchId
void setLayoutSetBranchId(long layoutSetBranchId) Sets the layout set branch ID of this layout revision.- Parameters:
layoutSetBranchId- the layout set branch ID of this layout revision
-
getLayoutBranchId
long getLayoutBranchId()Returns the layout branch ID of this layout revision.- Returns:
- the layout branch ID of this layout revision
-
setLayoutBranchId
void setLayoutBranchId(long layoutBranchId) Sets the layout branch ID of this layout revision.- Parameters:
layoutBranchId- the layout branch ID of this layout revision
-
getParentLayoutRevisionId
long getParentLayoutRevisionId()Returns the parent layout revision ID of this layout revision.- Returns:
- the parent layout revision ID of this layout revision
-
setParentLayoutRevisionId
void setParentLayoutRevisionId(long parentLayoutRevisionId) Sets the parent layout revision ID of this layout revision.- Parameters:
parentLayoutRevisionId- the parent layout revision ID of this layout revision
-
getHead
boolean getHead()Returns the head of this layout revision.- Returns:
- the head of this layout revision
-
isHead
boolean isHead()Returnstrueif this layout revision is head.- Returns:
trueif this layout revision is head;falseotherwise
-
setHead
void setHead(boolean head) Sets whether this layout revision is head.- Parameters:
head- the head of this layout revision
-
getMajor
boolean getMajor()Returns the major of this layout revision.- Returns:
- the major of this layout revision
-
isMajor
boolean isMajor()Returnstrueif this layout revision is major.- Returns:
trueif this layout revision is major;falseotherwise
-
setMajor
void setMajor(boolean major) Sets whether this layout revision is major.- Parameters:
major- the major of this layout revision
-
getPlid
long getPlid()Returns the plid of this layout revision.- Returns:
- the plid of this layout revision
-
setPlid
void setPlid(long plid) Sets the plid of this layout revision.- Parameters:
plid- the plid of this layout revision
-
getPrivateLayout
boolean getPrivateLayout()Returns the private layout of this layout revision.- Returns:
- the private layout of this layout revision
-
isPrivateLayout
boolean isPrivateLayout()Returnstrueif this layout revision is private layout.- Returns:
trueif this layout revision is private layout;falseotherwise
-
setPrivateLayout
void setPrivateLayout(boolean privateLayout) Sets whether this layout revision is private layout.- Parameters:
privateLayout- the private layout of this layout revision
-
getName
String getName()Returns the name of this layout revision.- Returns:
- the name of this layout revision
-
getName
Returns the localized name of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale- the locale of the language- Returns:
- the localized name of this layout revision
-
getName
Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this layout revision. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the language- Returns:
- the localized name of this layout revision
-
getName
Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this layout revision
-
getNameCurrentLanguageId
-
getNameCurrentValue
-
getNameMap
Returns a map of the locales and localized names of this layout revision.- Returns:
- the locales and localized names of this layout revision
-
setName
Sets the name of this layout revision.- Parameters:
name- the name of this layout revision
-
setName
Sets the localized name of this layout revision in the language.- Parameters:
name- the localized name of this layout revisionlocale- the locale of the language
-
setName
Sets the localized name of this layout revision in the language, and sets the default locale.- Parameters:
name- the localized name of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
-
setNameMap
Sets the localized names of this layout revision from the map of locales and localized names.- Parameters:
nameMap- the locales and localized names of this layout revision
-
setNameMap
Sets the localized names of this layout revision from the map of locales and localized names, and sets the default locale.- Parameters:
nameMap- the locales and localized names of this layout revisiondefaultLocale- the default locale
-
getTitle
String getTitle()Returns the title of this layout revision.- Returns:
- the title of this layout revision
-
getTitle
Returns the localized title of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale- the locale of the language- Returns:
- the localized title of this layout revision
-
getTitle
Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized title of this layout revision. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getTitle
Returns the localized title of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the language- Returns:
- the localized title of this layout revision
-
getTitle
Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized title of this layout revision
-
getTitleCurrentLanguageId
-
getTitleCurrentValue
-
getTitleMap
Returns a map of the locales and localized titles of this layout revision.- Returns:
- the locales and localized titles of this layout revision
-
setTitle
Sets the title of this layout revision.- Parameters:
title- the title of this layout revision
-
setTitle
Sets the localized title of this layout revision in the language.- Parameters:
title- the localized title of this layout revisionlocale- the locale of the language
-
setTitle
Sets the localized title of this layout revision in the language, and sets the default locale.- Parameters:
title- the localized title of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setTitleCurrentLanguageId
-
setTitleMap
Sets the localized titles of this layout revision from the map of locales and localized titles.- Parameters:
titleMap- the locales and localized titles of this layout revision
-
setTitleMap
Sets the localized titles of this layout revision from the map of locales and localized titles, and sets the default locale.- Parameters:
titleMap- the locales and localized titles of this layout revisiondefaultLocale- the default locale
-
getDescription
String getDescription()Returns the description of this layout revision.- Returns:
- the description of this layout revision
-
getDescription
Returns the localized description of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale- the locale of the language- Returns:
- the localized description of this layout revision
-
getDescription
Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this layout revision. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getDescription
Returns the localized description of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the language- Returns:
- the localized description of this layout revision
-
getDescription
Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this layout revision
-
getDescriptionCurrentLanguageId
-
getDescriptionCurrentValue
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this layout revision.- Returns:
- the locales and localized descriptions of this layout revision
-
setDescription
Sets the description of this layout revision.- Parameters:
description- the description of this layout revision
-
setDescription
Sets the localized description of this layout revision in the language.- Parameters:
description- the localized description of this layout revisionlocale- the locale of the language
-
setDescription
Sets the localized description of this layout revision in the language, and sets the default locale.- Parameters:
description- the localized description of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setDescriptionCurrentLanguageId
-
setDescriptionMap
Sets the localized descriptions of this layout revision from the map of locales and localized descriptions.- Parameters:
descriptionMap- the locales and localized descriptions of this layout revision
-
setDescriptionMap
Sets the localized descriptions of this layout revision from the map of locales and localized descriptions, and sets the default locale.- Parameters:
descriptionMap- the locales and localized descriptions of this layout revisiondefaultLocale- the default locale
-
getKeywords
String getKeywords()Returns the keywords of this layout revision.- Returns:
- the keywords of this layout revision
-
getKeywords
Returns the localized keywords of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale- the locale of the language- Returns:
- the localized keywords of this layout revision
-
getKeywords
Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized keywords of this layout revision. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getKeywords
Returns the localized keywords of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the language- Returns:
- the localized keywords of this layout revision
-
getKeywords
Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized keywords of this layout revision
-
getKeywordsCurrentLanguageId
-
getKeywordsCurrentValue
-
getKeywordsMap
Returns a map of the locales and localized keywordses of this layout revision.- Returns:
- the locales and localized keywordses of this layout revision
-
setKeywords
Sets the keywords of this layout revision.- Parameters:
keywords- the keywords of this layout revision
-
setKeywords
Sets the localized keywords of this layout revision in the language.- Parameters:
keywords- the localized keywords of this layout revisionlocale- the locale of the language
-
setKeywords
Sets the localized keywords of this layout revision in the language, and sets the default locale.- Parameters:
keywords- the localized keywords of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setKeywordsCurrentLanguageId
-
setKeywordsMap
Sets the localized keywordses of this layout revision from the map of locales and localized keywordses.- Parameters:
keywordsMap- the locales and localized keywordses of this layout revision
-
setKeywordsMap
Sets the localized keywordses of this layout revision from the map of locales and localized keywordses, and sets the default locale.- Parameters:
keywordsMap- the locales and localized keywordses of this layout revisiondefaultLocale- the default locale
-
getRobots
String getRobots()Returns the robots of this layout revision.- Returns:
- the robots of this layout revision
-
getRobots
Returns the localized robots of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale- the locale of the language- Returns:
- the localized robots of this layout revision
-
getRobots
Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized robots of this layout revision. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getRobots
Returns the localized robots of this layout revision in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the language- Returns:
- the localized robots of this layout revision
-
getRobots
Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized robots of this layout revision
-
getRobotsCurrentLanguageId
-
getRobotsCurrentValue
-
getRobotsMap
Returns a map of the locales and localized robotses of this layout revision.- Returns:
- the locales and localized robotses of this layout revision
-
setRobots
Sets the robots of this layout revision.- Parameters:
robots- the robots of this layout revision
-
setRobots
Sets the localized robots of this layout revision in the language.- Parameters:
robots- the localized robots of this layout revisionlocale- the locale of the language
-
setRobots
Sets the localized robots of this layout revision in the language, and sets the default locale.- Parameters:
robots- the localized robots of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setRobotsCurrentLanguageId
-
setRobotsMap
Sets the localized robotses of this layout revision from the map of locales and localized robotses.- Parameters:
robotsMap- the locales and localized robotses of this layout revision
-
setRobotsMap
Sets the localized robotses of this layout revision from the map of locales and localized robotses, and sets the default locale.- Parameters:
robotsMap- the locales and localized robotses of this layout revisiondefaultLocale- the default locale
-
getTypeSettings
Returns the type settings of this layout revision.- Returns:
- the type settings of this layout revision
-
setTypeSettings
Sets the type settings of this layout revision.- Parameters:
typeSettings- the type settings of this layout revision
-
getIconImageId
long getIconImageId()Returns the icon image ID of this layout revision.- Returns:
- the icon image ID of this layout revision
-
setIconImageId
void setIconImageId(long iconImageId) Sets the icon image ID of this layout revision.- Parameters:
iconImageId- the icon image ID of this layout revision
-
getThemeId
Returns the theme ID of this layout revision.- Returns:
- the theme ID of this layout revision
-
setThemeId
Sets the theme ID of this layout revision.- Parameters:
themeId- the theme ID of this layout revision
-
getColorSchemeId
Returns the color scheme ID of this layout revision.- Returns:
- the color scheme ID of this layout revision
-
setColorSchemeId
Sets the color scheme ID of this layout revision.- Parameters:
colorSchemeId- the color scheme ID of this layout revision
-
getCss
Returns the css of this layout revision.- Returns:
- the css of this layout revision
-
setCss
Sets the css of this layout revision.- Parameters:
css- the css of this layout revision
-
getStatus
int getStatus()Returns the status of this layout revision.- Specified by:
getStatusin interfaceWorkflowedModel- Returns:
- the status of this layout revision
-
setStatus
void setStatus(int status) Sets the status of this layout revision.- Specified by:
setStatusin interfaceWorkflowedModel- Parameters:
status- the status of this layout revision
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this layout revision.- Specified by:
getStatusByUserIdin interfaceWorkflowedModel- Returns:
- the status by user ID of this layout revision
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this layout revision.- Specified by:
setStatusByUserIdin interfaceWorkflowedModel- Parameters:
statusByUserId- the status by user ID of this layout revision
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this layout revision.- Specified by:
getStatusByUserUuidin interfaceWorkflowedModel- Returns:
- the status by user uuid of this layout revision
-
setStatusByUserUuid
Sets the status by user uuid of this layout revision.- Specified by:
setStatusByUserUuidin interfaceWorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this layout revision
-
getStatusByUserName
Returns the status by user name of this layout revision.- Specified by:
getStatusByUserNamein interfaceWorkflowedModel- Returns:
- the status by user name of this layout revision
-
setStatusByUserName
Sets the status by user name of this layout revision.- Specified by:
setStatusByUserNamein interfaceWorkflowedModel- Parameters:
statusByUserName- the status by user name of this layout revision
-
getStatusDate
Date getStatusDate()Returns the status date of this layout revision.- Specified by:
getStatusDatein interfaceWorkflowedModel- Returns:
- the status date of this layout revision
-
setStatusDate
Sets the status date of this layout revision.- Specified by:
setStatusDatein interfaceWorkflowedModel- Parameters:
statusDate- the status date of this layout revision
-
isApproved
boolean isApproved()Returnstrueif this layout revision is approved.- Specified by:
isApprovedin interfaceWorkflowedModel- Returns:
trueif this layout revision is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this layout revision is denied.- Specified by:
isDeniedin interfaceWorkflowedModel- Returns:
trueif this layout revision is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this layout revision is a draft.- Specified by:
isDraftin interfaceWorkflowedModel- Returns:
trueif this layout revision is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this layout revision is expired.- Specified by:
isExpiredin interfaceWorkflowedModel- Returns:
trueif this layout revision is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this layout revision is inactive.- Specified by:
isInactivein interfaceWorkflowedModel- Returns:
trueif this layout revision is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this layout revision is incomplete.- Specified by:
isIncompletein interfaceWorkflowedModel- Returns:
trueif this layout revision is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this layout revision is pending.- Specified by:
isPendingin interfaceWorkflowedModel- Returns:
trueif this layout revision is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this layout revision is scheduled.- Specified by:
isScheduledin interfaceWorkflowedModel- Returns:
trueif this layout revision is scheduled;falseotherwise
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIdsin interfaceLocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageIdin interfaceLocalizedModel
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImportin interfaceLocalizedModel- Throws:
LocaleException
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImportin interfaceLocalizedModel- Throws:
LocaleException
-
cloneWithOriginalValues
LayoutRevision cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<LayoutRevision>
-
toXmlString
-