Package com.liferay.portal.kernel.model
Class LayoutRevisionWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutRevision>
com.liferay.portal.kernel.model.LayoutRevisionWrapper
- All Implemented Interfaces:
AuditedModel,BaseModel<LayoutRevision>,ClassedModel,GroupedModel,LayoutRevision,LayoutRevisionModel,LocalizedModel,ModelWrapper<LayoutRevision>,MVCCModel,PersistedModel,ShardedModel,WorkflowedModel,Serializable,Cloneable,Comparable<LayoutRevision>
public class LayoutRevisionWrapper
extends BaseModelWrapper<LayoutRevision>
implements LayoutRevision, ModelWrapper<LayoutRevision>
This class is a wrapper for LayoutRevision.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.LayoutRevision
LAYOUT_REVISION_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getBreadcrumb(Locale locale) 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.getGroup()longReturns the group ID of this layout revision.booleangetHead()Returns the head of this layout revision.getHTMLTitle(String localeLanguageId) getHTMLTitle(Locale locale) booleanlongReturns 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.getRegularURL(javax.servlet.http.HttpServletRequest httpServletRequest) 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.getTheme()Returns the theme ID of this layout revision.getThemeSetting(String key, String device) 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.getTypeSettingsProperty(String key, String defaultValue) longReturns the user ID of this layout revision.Returns the user name of this layout revision.Returns the user uuid of this layout revision.booleanbooleanReturnstrueif this layout revision is approved.booleanbooleanbooleanisDenied()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.booleanbooleanReturnstrueif this layout revision is inactive.booleanReturnstrueif this layout revision is incomplete.booleanbooleanisMajor()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.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.voidsetTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties) 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.protected LayoutRevisionWrapperwrap(LayoutRevision layoutRevision) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
LayoutRevisionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<LayoutRevision>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<LayoutRevision>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<LayoutRevision>- Specified by:
cloneWithOriginalValuesin interfaceLayoutRevisionModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceLayoutRevisionModel- Specified by:
getAvailableLanguageIdsin interfaceLocalizedModel
-
getBreadcrumb
- Specified by:
getBreadcrumbin interfaceLayoutRevision- Throws:
PortalException
-
getChildren
- Specified by:
getChildrenin interfaceLayoutRevision
-
getColorScheme
- Specified by:
getColorSchemein interfaceLayoutRevision- Throws:
PortalException
-
getColorSchemeId
Returns the color scheme ID of this layout revision.- Specified by:
getColorSchemeIdin interfaceLayoutRevisionModel- Returns:
- the color scheme ID of this layout revision
-
getCompanyId
public long getCompanyId()Returns the company ID of this layout revision.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceLayoutRevisionModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this layout revision
-
getCreateDate
Returns the create date of this layout revision.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceLayoutRevisionModel- Returns:
- the create date of this layout revision
-
getCss
Returns the css of this layout revision.- Specified by:
getCssin interfaceLayoutRevisionModel- Returns:
- the css of this layout revision
-
getCssText
- Specified by:
getCssTextin interfaceLayoutRevision- Throws:
PortalException
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceLayoutRevisionModel- Specified by:
getDefaultLanguageIdin interfaceLocalizedModel
-
getDescription
Returns the description of this layout revision.- Specified by:
getDescriptionin interfaceLayoutRevisionModel- 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.- Specified by:
getDescriptionin interfaceLayoutRevisionModel- 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.- Specified by:
getDescriptionin interfaceLayoutRevisionModel- 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.- Specified by:
getDescriptionin interfaceLayoutRevisionModel- 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.- Specified by:
getDescriptionin interfaceLayoutRevisionModel- 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
- Specified by:
getDescriptionCurrentLanguageIdin interfaceLayoutRevisionModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValuein interfaceLayoutRevisionModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this layout revision.- Specified by:
getDescriptionMapin interfaceLayoutRevisionModel- Returns:
- the locales and localized descriptions of this layout revision
-
getGroup
- Specified by:
getGroupin interfaceLayoutRevision
-
getGroupId
public long getGroupId()Returns the group ID of this layout revision.- Specified by:
getGroupIdin interfaceGroupedModel- Specified by:
getGroupIdin interfaceLayoutRevisionModel- Returns:
- the group ID of this layout revision
-
getHead
public boolean getHead()Returns the head of this layout revision.- Specified by:
getHeadin interfaceLayoutRevisionModel- Returns:
- the head of this layout revision
-
getHTMLTitle
- Specified by:
getHTMLTitlein interfaceLayoutRevision
-
getHTMLTitle
- Specified by:
getHTMLTitlein interfaceLayoutRevision
-
getIconImage
public boolean getIconImage()- Specified by:
getIconImagein interfaceLayoutRevision
-
getIconImageId
public long getIconImageId()Returns the icon image ID of this layout revision.- Specified by:
getIconImageIdin interfaceLayoutRevisionModel- Returns:
- the icon image ID of this layout revision
-
getKeywords
Returns the keywords of this layout revision.- Specified by:
getKeywordsin interfaceLayoutRevisionModel- 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.- Specified by:
getKeywordsin interfaceLayoutRevisionModel- 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.- Specified by:
getKeywordsin interfaceLayoutRevisionModel- 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.- Specified by:
getKeywordsin interfaceLayoutRevisionModel- 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.- Specified by:
getKeywordsin interfaceLayoutRevisionModel- 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
- Specified by:
getKeywordsCurrentLanguageIdin interfaceLayoutRevisionModel
-
getKeywordsCurrentValue
- Specified by:
getKeywordsCurrentValuein interfaceLayoutRevisionModel
-
getKeywordsMap
Returns a map of the locales and localized keywordses of this layout revision.- Specified by:
getKeywordsMapin interfaceLayoutRevisionModel- Returns:
- the locales and localized keywordses of this layout revision
-
getLayoutBranch
- Specified by:
getLayoutBranchin interfaceLayoutRevision- Throws:
PortalException
-
getLayoutBranchId
public long getLayoutBranchId()Returns the layout branch ID of this layout revision.- Specified by:
getLayoutBranchIdin interfaceLayoutRevisionModel- Returns:
- the layout branch ID of this layout revision
-
getLayoutRevisionId
public long getLayoutRevisionId()Returns the layout revision ID of this layout revision.- Specified by:
getLayoutRevisionIdin interfaceLayoutRevisionModel- Returns:
- the layout revision ID of this layout revision
-
getLayoutSet
- Specified by:
getLayoutSetin interfaceLayoutRevision- Throws:
PortalException
-
getLayoutSetBranchId
public long getLayoutSetBranchId()Returns the layout set branch ID of this layout revision.- Specified by:
getLayoutSetBranchIdin interfaceLayoutRevisionModel- Returns:
- the layout set branch ID of this layout revision
-
getMajor
public boolean getMajor()Returns the major of this layout revision.- Specified by:
getMajorin interfaceLayoutRevisionModel- Returns:
- the major of this layout revision
-
getModifiedDate
Returns the modified date of this layout revision.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceLayoutRevisionModel- Returns:
- the modified date of this layout revision
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this layout revision.- Specified by:
getMvccVersionin interfaceLayoutRevisionModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this layout revision
-
getName
Returns the name of this layout revision.- Specified by:
getNamein interfaceLayoutRevisionModel- 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.- Specified by:
getNamein interfaceLayoutRevisionModel- 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.- Specified by:
getNamein interfaceLayoutRevisionModel- 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.- Specified by:
getNamein interfaceLayoutRevisionModel- 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.- Specified by:
getNamein interfaceLayoutRevisionModel- 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
- Specified by:
getNameCurrentLanguageIdin interfaceLayoutRevisionModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceLayoutRevisionModel
-
getNameMap
Returns a map of the locales and localized names of this layout revision.- Specified by:
getNameMapin interfaceLayoutRevisionModel- Returns:
- the locales and localized names of this layout revision
-
getParentLayoutRevisionId
public long getParentLayoutRevisionId()Returns the parent layout revision ID of this layout revision.- Specified by:
getParentLayoutRevisionIdin interfaceLayoutRevisionModel- Returns:
- the parent layout revision ID of this layout revision
-
getPlid
public long getPlid()Returns the plid of this layout revision.- Specified by:
getPlidin interfaceLayoutRevisionModel- Returns:
- the plid of this layout revision
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this layout revision.- Specified by:
getPrimaryKeyin interfaceLayoutRevisionModel- Returns:
- the primary key of this layout revision
-
getPrivateLayout
public boolean getPrivateLayout()Returns the private layout of this layout revision.- Specified by:
getPrivateLayoutin interfaceLayoutRevisionModel- Returns:
- the private layout of this layout revision
-
getRegularURL
public String getRegularURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException - Specified by:
getRegularURLin interfaceLayoutRevision- Throws:
PortalException
-
getRobots
Returns the robots of this layout revision.- Specified by:
getRobotsin interfaceLayoutRevisionModel- 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.- Specified by:
getRobotsin interfaceLayoutRevisionModel- 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.- Specified by:
getRobotsin interfaceLayoutRevisionModel- 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.- Specified by:
getRobotsin interfaceLayoutRevisionModel- 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.- Specified by:
getRobotsin interfaceLayoutRevisionModel- 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
- Specified by:
getRobotsCurrentLanguageIdin interfaceLayoutRevisionModel
-
getRobotsCurrentValue
- Specified by:
getRobotsCurrentValuein interfaceLayoutRevisionModel
-
getRobotsMap
Returns a map of the locales and localized robotses of this layout revision.- Specified by:
getRobotsMapin interfaceLayoutRevisionModel- Returns:
- the locales and localized robotses of this layout revision
-
getStatus
public int getStatus()Returns the status of this layout revision.- Specified by:
getStatusin interfaceLayoutRevisionModel- Specified by:
getStatusin interfaceWorkflowedModel- Returns:
- the status of this layout revision
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this layout revision.- Specified by:
getStatusByUserIdin interfaceLayoutRevisionModel- Specified by:
getStatusByUserIdin interfaceWorkflowedModel- Returns:
- the status by user ID of this layout revision
-
getStatusByUserName
Returns the status by user name of this layout revision.- Specified by:
getStatusByUserNamein interfaceLayoutRevisionModel- Specified by:
getStatusByUserNamein interfaceWorkflowedModel- Returns:
- the status by user name of this layout revision
-
getStatusByUserUuid
Returns the status by user uuid of this layout revision.- Specified by:
getStatusByUserUuidin interfaceLayoutRevisionModel- Specified by:
getStatusByUserUuidin interfaceWorkflowedModel- Returns:
- the status by user uuid of this layout revision
-
getStatusDate
Returns the status date of this layout revision.- Specified by:
getStatusDatein interfaceLayoutRevisionModel- Specified by:
getStatusDatein interfaceWorkflowedModel- Returns:
- the status date of this layout revision
-
getTarget
- Specified by:
getTargetin interfaceLayoutRevision
-
getTheme
- Specified by:
getThemein interfaceLayoutRevision- Throws:
PortalException
-
getThemeId
Returns the theme ID of this layout revision.- Specified by:
getThemeIdin interfaceLayoutRevisionModel- Returns:
- the theme ID of this layout revision
-
getThemeSetting
- Specified by:
getThemeSettingin interfaceLayoutRevision
-
getTitle
Returns the title of this layout revision.- Specified by:
getTitlein interfaceLayoutRevisionModel- 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.- Specified by:
getTitlein interfaceLayoutRevisionModel- 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.- Specified by:
getTitlein interfaceLayoutRevisionModel- 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.- Specified by:
getTitlein interfaceLayoutRevisionModel- 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.- Specified by:
getTitlein interfaceLayoutRevisionModel- 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
- Specified by:
getTitleCurrentLanguageIdin interfaceLayoutRevisionModel
-
getTitleCurrentValue
- Specified by:
getTitleCurrentValuein interfaceLayoutRevisionModel
-
getTitleMap
Returns a map of the locales and localized titles of this layout revision.- Specified by:
getTitleMapin interfaceLayoutRevisionModel- Returns:
- the locales and localized titles of this layout revision
-
getTypeSettings
Returns the type settings of this layout revision.- Specified by:
getTypeSettingsin interfaceLayoutRevisionModel- Returns:
- the type settings of this layout revision
-
getTypeSettingsProperties
- Specified by:
getTypeSettingsPropertiesin interfaceLayoutRevision
-
getTypeSettingsProperty
- Specified by:
getTypeSettingsPropertyin interfaceLayoutRevision
-
getTypeSettingsProperty
- Specified by:
getTypeSettingsPropertyin interfaceLayoutRevision
-
getUserId
public long getUserId()Returns the user ID of this layout revision.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceLayoutRevisionModel- Returns:
- the user ID of this layout revision
-
getUserName
Returns the user name of this layout revision.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceLayoutRevisionModel- Returns:
- the user name of this layout revision
-
getUserUuid
Returns the user uuid of this layout revision.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceLayoutRevisionModel- Returns:
- the user uuid of this layout revision
-
hasChildren
public boolean hasChildren()- Specified by:
hasChildrenin interfaceLayoutRevision
-
isApproved
public boolean isApproved()Returnstrueif this layout revision is approved.- Specified by:
isApprovedin interfaceLayoutRevisionModel- Specified by:
isApprovedin interfaceWorkflowedModel- Returns:
trueif this layout revision is approved;falseotherwise
-
isContentDisplayPage
public boolean isContentDisplayPage()- Specified by:
isContentDisplayPagein interfaceLayoutRevision
-
isCustomizable
- Specified by:
isCustomizablein interfaceLayoutRevision- Throws:
PortalException
-
isDenied
public boolean isDenied()Returnstrueif this layout revision is denied.- Specified by:
isDeniedin interfaceLayoutRevisionModel- Specified by:
isDeniedin interfaceWorkflowedModel- Returns:
trueif this layout revision is denied;falseotherwise
-
isDraft
public boolean isDraft()Returnstrueif this layout revision is a draft.- Specified by:
isDraftin interfaceLayoutRevisionModel- Specified by:
isDraftin interfaceWorkflowedModel- Returns:
trueif this layout revision is a draft;falseotherwise
-
isExpired
public boolean isExpired()Returnstrueif this layout revision is expired.- Specified by:
isExpiredin interfaceLayoutRevisionModel- Specified by:
isExpiredin interfaceWorkflowedModel- Returns:
trueif this layout revision is expired;falseotherwise
-
isHead
public boolean isHead()Returnstrueif this layout revision is head.- Specified by:
isHeadin interfaceLayoutRevisionModel- Returns:
trueif this layout revision is head;falseotherwise
-
isIconImage
public boolean isIconImage()- Specified by:
isIconImagein interfaceLayoutRevision
-
isInactive
public boolean isInactive()Returnstrueif this layout revision is inactive.- Specified by:
isInactivein interfaceLayoutRevisionModel- Specified by:
isInactivein interfaceWorkflowedModel- Returns:
trueif this layout revision is inactive;falseotherwise
-
isIncomplete
public boolean isIncomplete()Returnstrueif this layout revision is incomplete.- Specified by:
isIncompletein interfaceLayoutRevisionModel- Specified by:
isIncompletein interfaceWorkflowedModel- Returns:
trueif this layout revision is incomplete;falseotherwise
-
isInheritLookAndFeel
public boolean isInheritLookAndFeel()- Specified by:
isInheritLookAndFeelin interfaceLayoutRevision
-
isMajor
public boolean isMajor()Returnstrueif this layout revision is major.- Specified by:
isMajorin interfaceLayoutRevisionModel- Returns:
trueif this layout revision is major;falseotherwise
-
isPending
public boolean isPending()Returnstrueif this layout revision is pending.- Specified by:
isPendingin interfaceLayoutRevisionModel- Specified by:
isPendingin interfaceWorkflowedModel- Returns:
trueif this layout revision is pending;falseotherwise
-
isPrivateLayout
public boolean isPrivateLayout()Returnstrueif this layout revision is private layout.- Specified by:
isPrivateLayoutin interfaceLayoutRevisionModel- Returns:
trueif this layout revision is private layout;falseotherwise
-
isScheduled
public boolean isScheduled()Returnstrueif this layout revision is scheduled.- Specified by:
isScheduledin interfaceLayoutRevisionModel- Specified by:
isScheduledin interfaceWorkflowedModel- Returns:
trueif this layout revision is scheduled;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImportin interfaceLayoutRevisionModel- Specified by:
prepareLocalizedFieldsForImportin interfaceLocalizedModel- Throws:
LocaleException
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImportin interfaceLayoutRevisionModel- Specified by:
prepareLocalizedFieldsForImportin interfaceLocalizedModel- Throws:
LocaleException
-
setColorSchemeId
Sets the color scheme ID of this layout revision.- Specified by:
setColorSchemeIdin interfaceLayoutRevisionModel- Parameters:
colorSchemeId- the color scheme ID of this layout revision
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this layout revision.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceLayoutRevisionModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this layout revision
-
setCreateDate
Sets the create date of this layout revision.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceLayoutRevisionModel- Parameters:
createDate- the create date of this layout revision
-
setCss
Sets the css of this layout revision.- Specified by:
setCssin interfaceLayoutRevisionModel- Parameters:
css- the css of this layout revision
-
setDescription
Sets the description of this layout revision.- Specified by:
setDescriptionin interfaceLayoutRevisionModel- Parameters:
description- the description of this layout revision
-
setDescription
Sets the localized description of this layout revision in the language.- Specified by:
setDescriptionin interfaceLayoutRevisionModel- 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.- Specified by:
setDescriptionin interfaceLayoutRevisionModel- Parameters:
description- the localized description of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageIdin interfaceLayoutRevisionModel
-
setDescriptionMap
Sets the localized descriptions of this layout revision from the map of locales and localized descriptions.- Specified by:
setDescriptionMapin interfaceLayoutRevisionModel- 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.- Specified by:
setDescriptionMapin interfaceLayoutRevisionModel- Parameters:
descriptionMap- the locales and localized descriptions of this layout revisiondefaultLocale- the default locale
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this layout revision.- Specified by:
setGroupIdin interfaceGroupedModel- Specified by:
setGroupIdin interfaceLayoutRevisionModel- Parameters:
groupId- the group ID of this layout revision
-
setHead
public void setHead(boolean head) Sets whether this layout revision is head.- Specified by:
setHeadin interfaceLayoutRevisionModel- Parameters:
head- the head of this layout revision
-
setIconImageId
public void setIconImageId(long iconImageId) Sets the icon image ID of this layout revision.- Specified by:
setIconImageIdin interfaceLayoutRevisionModel- Parameters:
iconImageId- the icon image ID of this layout revision
-
setKeywords
Sets the keywords of this layout revision.- Specified by:
setKeywordsin interfaceLayoutRevisionModel- Parameters:
keywords- the keywords of this layout revision
-
setKeywords
Sets the localized keywords of this layout revision in the language.- Specified by:
setKeywordsin interfaceLayoutRevisionModel- 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.- Specified by:
setKeywordsin interfaceLayoutRevisionModel- Parameters:
keywords- the localized keywords of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setKeywordsCurrentLanguageId
- Specified by:
setKeywordsCurrentLanguageIdin interfaceLayoutRevisionModel
-
setKeywordsMap
Sets the localized keywordses of this layout revision from the map of locales and localized keywordses.- Specified by:
setKeywordsMapin interfaceLayoutRevisionModel- 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.- Specified by:
setKeywordsMapin interfaceLayoutRevisionModel- Parameters:
keywordsMap- the locales and localized keywordses of this layout revisiondefaultLocale- the default locale
-
setLayoutBranchId
public void setLayoutBranchId(long layoutBranchId) Sets the layout branch ID of this layout revision.- Specified by:
setLayoutBranchIdin interfaceLayoutRevisionModel- Parameters:
layoutBranchId- the layout branch ID of this layout revision
-
setLayoutRevisionId
public void setLayoutRevisionId(long layoutRevisionId) Sets the layout revision ID of this layout revision.- Specified by:
setLayoutRevisionIdin interfaceLayoutRevisionModel- Parameters:
layoutRevisionId- the layout revision ID of this layout revision
-
setLayoutSetBranchId
public void setLayoutSetBranchId(long layoutSetBranchId) Sets the layout set branch ID of this layout revision.- Specified by:
setLayoutSetBranchIdin interfaceLayoutRevisionModel- Parameters:
layoutSetBranchId- the layout set branch ID of this layout revision
-
setMajor
public void setMajor(boolean major) Sets whether this layout revision is major.- Specified by:
setMajorin interfaceLayoutRevisionModel- Parameters:
major- the major of this layout revision
-
setModifiedDate
Sets the modified date of this layout revision.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceLayoutRevisionModel- Parameters:
modifiedDate- the modified date of this layout revision
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this layout revision.- Specified by:
setMvccVersionin interfaceLayoutRevisionModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this layout revision
-
setName
Sets the name of this layout revision.- Specified by:
setNamein interfaceLayoutRevisionModel- Parameters:
name- the name of this layout revision
-
setName
Sets the localized name of this layout revision in the language.- Specified by:
setNamein interfaceLayoutRevisionModel- 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.- Specified by:
setNamein interfaceLayoutRevisionModel- Parameters:
name- the localized name of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceLayoutRevisionModel
-
setNameMap
Sets the localized names of this layout revision from the map of locales and localized names.- Specified by:
setNameMapin interfaceLayoutRevisionModel- 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.- Specified by:
setNameMapin interfaceLayoutRevisionModel- Parameters:
nameMap- the locales and localized names of this layout revisiondefaultLocale- the default locale
-
setParentLayoutRevisionId
public void setParentLayoutRevisionId(long parentLayoutRevisionId) Sets the parent layout revision ID of this layout revision.- Specified by:
setParentLayoutRevisionIdin interfaceLayoutRevisionModel- Parameters:
parentLayoutRevisionId- the parent layout revision ID of this layout revision
-
setPlid
public void setPlid(long plid) Sets the plid of this layout revision.- Specified by:
setPlidin interfaceLayoutRevisionModel- Parameters:
plid- the plid of this layout revision
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this layout revision.- Specified by:
setPrimaryKeyin interfaceLayoutRevisionModel- Parameters:
primaryKey- the primary key of this layout revision
-
setPrivateLayout
public void setPrivateLayout(boolean privateLayout) Sets whether this layout revision is private layout.- Specified by:
setPrivateLayoutin interfaceLayoutRevisionModel- Parameters:
privateLayout- the private layout of this layout revision
-
setRobots
Sets the robots of this layout revision.- Specified by:
setRobotsin interfaceLayoutRevisionModel- Parameters:
robots- the robots of this layout revision
-
setRobots
Sets the localized robots of this layout revision in the language.- Specified by:
setRobotsin interfaceLayoutRevisionModel- 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.- Specified by:
setRobotsin interfaceLayoutRevisionModel- Parameters:
robots- the localized robots of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setRobotsCurrentLanguageId
- Specified by:
setRobotsCurrentLanguageIdin interfaceLayoutRevisionModel
-
setRobotsMap
Sets the localized robotses of this layout revision from the map of locales and localized robotses.- Specified by:
setRobotsMapin interfaceLayoutRevisionModel- 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.- Specified by:
setRobotsMapin interfaceLayoutRevisionModel- Parameters:
robotsMap- the locales and localized robotses of this layout revisiondefaultLocale- the default locale
-
setStatus
public void setStatus(int status) Sets the status of this layout revision.- Specified by:
setStatusin interfaceLayoutRevisionModel- Specified by:
setStatusin interfaceWorkflowedModel- Parameters:
status- the status of this layout revision
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this layout revision.- Specified by:
setStatusByUserIdin interfaceLayoutRevisionModel- Specified by:
setStatusByUserIdin interfaceWorkflowedModel- Parameters:
statusByUserId- the status by user ID of this layout revision
-
setStatusByUserName
Sets the status by user name of this layout revision.- Specified by:
setStatusByUserNamein interfaceLayoutRevisionModel- Specified by:
setStatusByUserNamein interfaceWorkflowedModel- Parameters:
statusByUserName- the status by user name of this layout revision
-
setStatusByUserUuid
Sets the status by user uuid of this layout revision.- Specified by:
setStatusByUserUuidin interfaceLayoutRevisionModel- Specified by:
setStatusByUserUuidin interfaceWorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this layout revision
-
setStatusDate
Sets the status date of this layout revision.- Specified by:
setStatusDatein interfaceLayoutRevisionModel- Specified by:
setStatusDatein interfaceWorkflowedModel- Parameters:
statusDate- the status date of this layout revision
-
setThemeId
Sets the theme ID of this layout revision.- Specified by:
setThemeIdin interfaceLayoutRevisionModel- Parameters:
themeId- the theme ID of this layout revision
-
setTitle
Sets the title of this layout revision.- Specified by:
setTitlein interfaceLayoutRevisionModel- Parameters:
title- the title of this layout revision
-
setTitle
Sets the localized title of this layout revision in the language.- Specified by:
setTitlein interfaceLayoutRevisionModel- 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.- Specified by:
setTitlein interfaceLayoutRevisionModel- Parameters:
title- the localized title of this layout revisionlocale- the locale of the languagedefaultLocale- the default locale
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageIdin interfaceLayoutRevisionModel
-
setTitleMap
Sets the localized titles of this layout revision from the map of locales and localized titles.- Specified by:
setTitleMapin interfaceLayoutRevisionModel- 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.- Specified by:
setTitleMapin interfaceLayoutRevisionModel- Parameters:
titleMap- the locales and localized titles of this layout revisiondefaultLocale- the default locale
-
setTypeSettings
Sets the type settings of this layout revision.- Specified by:
setTypeSettingsin interfaceLayoutRevisionModel- Parameters:
typeSettings- the type settings of this layout revision
-
setTypeSettingsProperties
- Specified by:
setTypeSettingsPropertiesin interfaceLayoutRevision
-
setUserId
public void setUserId(long userId) Sets the user ID of this layout revision.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceLayoutRevisionModel- Parameters:
userId- the user ID of this layout revision
-
setUserName
Sets the user name of this layout revision.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceLayoutRevisionModel- Parameters:
userName- the user name of this layout revision
-
setUserUuid
Sets the user uuid of this layout revision.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceLayoutRevisionModel- Parameters:
userUuid- the user uuid of this layout revision
-
toXmlString
- Specified by:
toXmlStringin interfaceLayoutRevisionModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<LayoutRevision>
-