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.long
Returns 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.long
Returns the group ID of this layout revision.boolean
getHead()
Returns the head of this layout revision.long
Returns 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.long
Returns the layout branch ID of this layout revision.long
Returns the layout revision ID of this layout revision.long
Returns the layout set branch ID of this layout revision.boolean
getMajor()
Returns the major of this layout revision.Returns the modified date of this layout revision.long
Returns 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.long
Returns the parent layout revision ID of this layout revision.long
getPlid()
Returns the plid of this layout revision.long
Returns the primary key of this layout revision.boolean
Returns 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.int
Returns the status of this layout revision.long
Returns 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.long
Returns the user ID of this layout revision.Returns the user name of this layout revision.Returns the user uuid of this layout revision.boolean
Returnstrue
if this layout revision is approved.boolean
isDenied()
Returnstrue
if this layout revision is denied.boolean
isDraft()
Returnstrue
if this layout revision is a draft.boolean
Returnstrue
if this layout revision is expired.boolean
isHead()
Returnstrue
if this layout revision is head.boolean
Returnstrue
if this layout revision is inactive.boolean
Returnstrue
if this layout revision is incomplete.boolean
isMajor()
Returnstrue
if this layout revision is major.boolean
Returnstrue
if this layout revision is pending.boolean
Returnstrue
if this layout revision is private layout.boolean
Returnstrue
if this layout revision is scheduled.void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setColorSchemeId
(String colorSchemeId) Sets the color scheme ID of this layout revision.void
setCompanyId
(long companyId) Sets the company ID of this layout revision.void
setCreateDate
(Date createDate) Sets the create date of this layout revision.void
Sets the css of this layout revision.void
setDescription
(String description) Sets the description of this layout revision.void
setDescription
(String description, Locale locale) Sets the localized description of this layout revision in the language.void
setDescription
(String description, Locale locale, Locale defaultLocale) Sets the localized description of this layout revision in the language, and sets the default locale.void
setDescriptionCurrentLanguageId
(String languageId) void
setDescriptionMap
(Map<Locale, String> descriptionMap) Sets the localized descriptions of this layout revision from the map of locales and localized descriptions.void
setDescriptionMap
(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.void
setGroupId
(long groupId) Sets the group ID of this layout revision.void
setHead
(boolean head) Sets whether this layout revision is head.void
setIconImageId
(long iconImageId) Sets the icon image ID of this layout revision.void
setKeywords
(String keywords) Sets the keywords of this layout revision.void
setKeywords
(String keywords, Locale locale) Sets the localized keywords of this layout revision in the language.void
setKeywords
(String keywords, Locale locale, Locale defaultLocale) Sets the localized keywords of this layout revision in the language, and sets the default locale.void
setKeywordsCurrentLanguageId
(String languageId) void
setKeywordsMap
(Map<Locale, String> keywordsMap) Sets the localized keywordses of this layout revision from the map of locales and localized keywordses.void
setKeywordsMap
(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.void
setLayoutBranchId
(long layoutBranchId) Sets the layout branch ID of this layout revision.void
setLayoutRevisionId
(long layoutRevisionId) Sets the layout revision ID of this layout revision.void
setLayoutSetBranchId
(long layoutSetBranchId) Sets the layout set branch ID of this layout revision.void
setMajor
(boolean major) Sets whether this layout revision is major.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this layout revision.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this layout revision.void
Sets the name of this layout revision.void
Sets the localized name of this layout revision in the language.void
Sets the localized name of this layout revision in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this layout revision from the map of locales and localized names.void
setNameMap
(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.void
setParentLayoutRevisionId
(long parentLayoutRevisionId) Sets the parent layout revision ID of this layout revision.void
setPlid
(long plid) Sets the plid of this layout revision.void
setPrimaryKey
(long primaryKey) Sets the primary key of this layout revision.void
setPrivateLayout
(boolean privateLayout) Sets whether this layout revision is private layout.void
Sets the robots of this layout revision.void
Sets the localized robots of this layout revision in the language.void
Sets the localized robots of this layout revision in the language, and sets the default locale.void
setRobotsCurrentLanguageId
(String languageId) void
setRobotsMap
(Map<Locale, String> robotsMap) Sets the localized robotses of this layout revision from the map of locales and localized robotses.void
setRobotsMap
(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.void
setStatus
(int status) Sets the status of this layout revision.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this layout revision.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this layout revision.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this layout revision.void
setStatusDate
(Date statusDate) Sets the status date of this layout revision.void
setThemeId
(String themeId) Sets the theme ID of this layout revision.void
Sets the title of this layout revision.void
Sets the localized title of this layout revision in the language.void
Sets the localized title of this layout revision in the language, and sets the default locale.void
setTitleCurrentLanguageId
(String languageId) void
setTitleMap
(Map<Locale, String> titleMap) Sets the localized titles of this layout revision from the map of locales and localized titles.void
setTitleMap
(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.void
setTypeSettings
(String typeSettings) Sets the type settings of this layout revision.void
setUserId
(long userId) Sets the user ID of this layout revision.void
setUserName
(String userName) Sets the user name of this layout revision.void
setUserUuid
(String userUuid) Sets the user uuid of this layout revision.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods 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:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this layout revision
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this layout revision.- Specified by:
setMvccVersion
in 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:
getGroupId
in interfaceGroupedModel
- Returns:
- the group ID of this layout revision
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this layout revision.- Specified by:
setGroupId
in interfaceGroupedModel
- Parameters:
groupId
- the group ID of this layout revision
-
getCompanyId
long getCompanyId()Returns the company ID of this layout revision.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this layout revision
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this layout revision.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this layout revision
-
getUserId
long getUserId()Returns the user ID of this layout revision.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this layout revision
-
setUserId
void setUserId(long userId) Sets the user ID of this layout revision.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this layout revision
-
getUserUuid
String getUserUuid()Returns the user uuid of this layout revision.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this layout revision
-
setUserUuid
Sets the user uuid of this layout revision.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this layout revision
-
getUserName
Returns the user name of this layout revision.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this layout revision
-
setUserName
Sets the user name of this layout revision.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this layout revision
-
getCreateDate
Date getCreateDate()Returns the create date of this layout revision.- Specified by:
getCreateDate
in interfaceAuditedModel
- Returns:
- the create date of this layout revision
-
setCreateDate
Sets the create date of this layout revision.- Specified by:
setCreateDate
in interfaceAuditedModel
- Parameters:
createDate
- the create date of this layout revision
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this layout revision.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Returns:
- the modified date of this layout revision
-
setModifiedDate
Sets the modified date of this layout revision.- Specified by:
setModifiedDate
in 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()Returnstrue
if this layout revision is head.- Returns:
true
if this layout revision is head;false
otherwise
-
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()Returnstrue
if this layout revision is major.- Returns:
true
if this layout revision is major;false
otherwise
-
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()Returnstrue
if this layout revision is private layout.- Returns:
true
if this layout revision is private layout;false
otherwise
-
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
useDefault
isfalse
and 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
useDefault
isfalse
and 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
useDefault
isfalse
and 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
useDefault
isfalse
and 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
useDefault
isfalse
and 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:
getStatus
in interfaceWorkflowedModel
- Returns:
- the status of this layout revision
-
setStatus
void setStatus(int status) Sets the status of this layout revision.- Specified by:
setStatus
in interfaceWorkflowedModel
- Parameters:
status
- the status of this layout revision
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this layout revision.- Specified by:
getStatusByUserId
in 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:
setStatusByUserId
in 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:
getStatusByUserUuid
in interfaceWorkflowedModel
- Returns:
- the status by user uuid of this layout revision
-
setStatusByUserUuid
Sets the status by user uuid of this layout revision.- Specified by:
setStatusByUserUuid
in 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:
getStatusByUserName
in interfaceWorkflowedModel
- Returns:
- the status by user name of this layout revision
-
setStatusByUserName
Sets the status by user name of this layout revision.- Specified by:
setStatusByUserName
in 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:
getStatusDate
in interfaceWorkflowedModel
- Returns:
- the status date of this layout revision
-
setStatusDate
Sets the status date of this layout revision.- Specified by:
setStatusDate
in interfaceWorkflowedModel
- Parameters:
statusDate
- the status date of this layout revision
-
isApproved
boolean isApproved()Returnstrue
if this layout revision is approved.- Specified by:
isApproved
in interfaceWorkflowedModel
- Returns:
true
if this layout revision is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this layout revision is denied.- Specified by:
isDenied
in interfaceWorkflowedModel
- Returns:
true
if this layout revision is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this layout revision is a draft.- Specified by:
isDraft
in interfaceWorkflowedModel
- Returns:
true
if this layout revision is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this layout revision is expired.- Specified by:
isExpired
in interfaceWorkflowedModel
- Returns:
true
if this layout revision is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this layout revision is inactive.- Specified by:
isInactive
in interfaceWorkflowedModel
- Returns:
true
if this layout revision is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this layout revision is incomplete.- Specified by:
isIncomplete
in interfaceWorkflowedModel
- Returns:
true
if this layout revision is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this layout revision is pending.- Specified by:
isPending
in interfaceWorkflowedModel
- Returns:
true
if this layout revision is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this layout revision is scheduled.- Specified by:
isScheduled
in interfaceWorkflowedModel
- Returns:
true
if this layout revision is scheduled;false
otherwise
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIds
in interfaceLocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageId
in interfaceLocalizedModel
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImport
in interfaceLocalizedModel
- Throws:
LocaleException
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImport
in interfaceLocalizedModel
- Throws:
LocaleException
-
cloneWithOriginalValues
LayoutRevision cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<LayoutRevision>
-
toXmlString
-