@ProviderType public interface LayoutRevisionModel extends BaseModel<LayoutRevision>, GroupedModel, LocalizedModel, MVCCModel, ShardedModel, WorkflowedModel
This interface and its corresponding implementation LayoutRevisionModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutRevisionImpl.
LayoutRevision,
LayoutRevisionImpl,
LayoutRevisionModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(LayoutRevision layoutRevision) |
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getColorSchemeId()
Returns the color scheme ID of this layout revision.
|
long |
getCompanyId()
Returns the company ID of this layout revision.
|
java.util.Date |
getCreateDate()
Returns the create date of this layout revision.
|
java.lang.String |
getCss()
Returns the css of this layout revision.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this layout revision.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this layout revision in the language.
|
java.lang.String |
getDescription(java.util.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.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this layout revision in the language.
|
java.lang.String |
getDescription(java.lang.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.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this layout revision.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this layout revision.
|
boolean |
getHead()
Returns the head of this layout revision.
|
long |
getIconImageId()
Returns the icon image ID of this layout revision.
|
java.lang.String |
getKeywords()
Returns the keywords of this layout revision.
|
java.lang.String |
getKeywords(java.util.Locale locale)
Returns the localized keywords of this layout revision in the language.
|
java.lang.String |
getKeywords(java.util.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.
|
java.lang.String |
getKeywords(java.lang.String languageId)
Returns the localized keywords of this layout revision in the language.
|
java.lang.String |
getKeywords(java.lang.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.
|
java.lang.String |
getKeywordsCurrentLanguageId() |
java.lang.String |
getKeywordsCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getKeywordsMap()
Returns a map of the locales and localized keywordses of this layout revision.
|
long |
getLayoutBranchId()
Returns the layout branch ID of this layout revision.
|
long |
getLayoutRevisionId()
Returns the layout revision ID of this layout revision.
|
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this layout revision.
|
boolean |
getMajor()
Returns the major of this layout revision.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this layout revision.
|
long |
getMvccVersion()
Returns the mvcc version of this layout revision.
|
java.lang.String |
getName()
Returns the name of this layout revision.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this layout revision in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this layout revision in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getNameMap()
Returns a map of the locales and localized names of this layout revision.
|
long |
getParentLayoutRevisionId()
Returns the parent layout revision ID of this layout revision.
|
long |
getPlid()
Returns the plid of this layout revision.
|
long |
getPrimaryKey()
Returns the primary key of this layout revision.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
boolean |
getPrivateLayout()
Returns the private layout of this layout revision.
|
java.lang.String |
getRobots()
Returns the robots of this layout revision.
|
java.lang.String |
getRobots(java.util.Locale locale)
Returns the localized robots of this layout revision in the language.
|
java.lang.String |
getRobots(java.util.Locale locale,
boolean useDefault)
Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getRobots(java.lang.String languageId)
Returns the localized robots of this layout revision in the language.
|
java.lang.String |
getRobots(java.lang.String languageId,
boolean useDefault)
Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getRobotsCurrentLanguageId() |
java.lang.String |
getRobotsCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getRobotsMap()
Returns a map of the locales and localized robotses of this layout revision.
|
int |
getStatus()
Returns the status of this layout revision.
|
long |
getStatusByUserId()
Returns the status by user ID of this layout revision.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this layout revision.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this layout revision.
|
java.util.Date |
getStatusDate()
Returns the status date of this layout revision.
|
java.lang.String |
getThemeId()
Returns the theme ID of this layout revision.
|
java.lang.String |
getTitle()
Returns the title of this layout revision.
|
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized title of this layout revision in the language.
|
java.lang.String |
getTitle(java.util.Locale locale,
boolean useDefault)
Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this layout revision in the language.
|
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault)
Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getTitleCurrentLanguageId() |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
Returns a map of the locales and localized titles of this layout revision.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this layout revision.
|
long |
getUserId()
Returns the user ID of this layout revision.
|
java.lang.String |
getUserName()
Returns the user name of this layout revision.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this layout revision.
|
java.lang.String |
getWapColorSchemeId()
Returns the wap color scheme ID of this layout revision.
|
java.lang.String |
getWapThemeId()
Returns the wap theme ID of this layout revision.
|
int |
hashCode() |
boolean |
isApproved()
Returns
true if this layout revision is approved. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns
true if this layout revision is denied. |
boolean |
isDraft()
Returns
true if this layout revision is a draft. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isExpired()
Returns
true if this layout revision is expired. |
boolean |
isHead()
Returns
true if this layout revision is head. |
boolean |
isInactive()
Returns
true if this layout revision is inactive. |
boolean |
isIncomplete()
Returns
true if this layout revision is incomplete. |
boolean |
isMajor()
Returns
true if this layout revision is major. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns
true if this layout revision is pending. |
boolean |
isPrivateLayout()
Returns
true if this layout revision is private layout. |
boolean |
isScheduled()
Returns
true if this layout revision is scheduled. |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setColorSchemeId(java.lang.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(java.util.Date createDate)
Sets the create date of this layout revision.
|
void |
setCss(java.lang.String css)
Sets the css of this layout revision.
|
void |
setDescription(java.lang.String description)
Sets the description of this layout revision.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this layout revision in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this layout revision in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this layout revision from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
Sets the localized descriptions of this layout revision from the map of locales and localized descriptions, and sets the default locale.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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(java.lang.String keywords)
Sets the keywords of this layout revision.
|
void |
setKeywords(java.lang.String keywords,
java.util.Locale locale)
Sets the localized keywords of this layout revision in the language.
|
void |
setKeywords(java.lang.String keywords,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized keywords of this layout revision in the language, and sets the default locale.
|
void |
setKeywordsCurrentLanguageId(java.lang.String languageId) |
void |
setKeywordsMap(java.util.Map<java.util.Locale,java.lang.String> keywordsMap)
Sets the localized keywordses of this layout revision from the map of locales and localized keywordses.
|
void |
setKeywordsMap(java.util.Map<java.util.Locale,java.lang.String> keywordsMap,
java.util.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(java.util.Date modifiedDate)
Sets the modified date of this layout revision.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout revision.
|
void |
setName(java.lang.String name)
Sets the name of this layout revision.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this layout revision in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this layout revision in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this layout revision from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
Sets the localized names of this layout revision from the map of locales and localized names, and sets the default locale.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
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 |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout revision is private layout.
|
void |
setRobots(java.lang.String robots)
Sets the robots of this layout revision.
|
void |
setRobots(java.lang.String robots,
java.util.Locale locale)
Sets the localized robots of this layout revision in the language.
|
void |
setRobots(java.lang.String robots,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized robots of this layout revision in the language, and sets the default locale.
|
void |
setRobotsCurrentLanguageId(java.lang.String languageId) |
void |
setRobotsMap(java.util.Map<java.util.Locale,java.lang.String> robotsMap)
Sets the localized robotses of this layout revision from the map of locales and localized robotses.
|
void |
setRobotsMap(java.util.Map<java.util.Locale,java.lang.String> robotsMap,
java.util.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(java.lang.String statusByUserName)
Sets the status by user name of this layout revision.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this layout revision.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this layout revision.
|
void |
setThemeId(java.lang.String themeId)
Sets the theme ID of this layout revision.
|
void |
setTitle(java.lang.String title)
Sets the title of this layout revision.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale)
Sets the localized title of this layout revision in the language.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized title of this layout revision in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(java.lang.String languageId) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
Sets the localized titles of this layout revision from the map of locales and localized titles.
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.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(java.lang.String typeSettings)
Sets the type settings of this layout revision.
|
void |
setUserId(long userId)
Sets the user ID of this layout revision.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this layout revision.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this layout revision.
|
void |
setWapColorSchemeId(java.lang.String wapColorSchemeId)
Sets the wap color scheme ID of this layout revision.
|
void |
setWapThemeId(java.lang.String wapThemeId)
Sets the wap theme ID of this layout revision.
|
CacheModel<LayoutRevision> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
LayoutRevision |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
LayoutRevision |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this layout revisionlong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this layout revisionlong getLayoutRevisionId()
void setLayoutRevisionId(long layoutRevisionId)
layoutRevisionId - the layout revision ID of this layout revisionlong getGroupId()
getGroupId in interface GroupedModelvoid setGroupId(long groupId)
setGroupId in interface GroupedModelgroupId - the group ID of this layout revisionlong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this layout revisionlong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this layout revisionjava.lang.String getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this layout revision@AutoEscape java.lang.String getUserName()
getUserName in interface AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface AuditedModeluserName - the user name of this layout revisionjava.util.Date getCreateDate()
getCreateDate in interface AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelcreateDate - the create date of this layout revisionjava.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelmodifiedDate - the modified date of this layout revisionlong getLayoutSetBranchId()
void setLayoutSetBranchId(long layoutSetBranchId)
layoutSetBranchId - the layout set branch ID of this layout revisionlong getLayoutBranchId()
void setLayoutBranchId(long layoutBranchId)
layoutBranchId - the layout branch ID of this layout revisionlong getParentLayoutRevisionId()
void setParentLayoutRevisionId(long parentLayoutRevisionId)
parentLayoutRevisionId - the parent layout revision ID of this layout revisionboolean getHead()
boolean isHead()
true if this layout revision is head.true if this layout revision is head; false otherwisevoid setHead(boolean head)
head - the head of this layout revisionboolean getMajor()
boolean isMajor()
true if this layout revision is major.true if this layout revision is major; false otherwisevoid setMajor(boolean major)
major - the major of this layout revisionlong getPlid()
void setPlid(long plid)
plid - the plid of this layout revisionboolean getPrivateLayout()
boolean isPrivateLayout()
true if this layout revision is private layout.true if this layout revision is private layout; false otherwisevoid setPrivateLayout(boolean privateLayout)
privateLayout - the private layout of this layout revisionjava.lang.String getName()
@AutoEscape java.lang.String getName(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getName(java.util.Locale locale, boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getName(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getName(java.lang.String languageId, boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getNameCurrentLanguageId()
@AutoEscape java.lang.String getNameCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getNameMap()
void setName(java.lang.String name)
name - the name of this layout revisionvoid setName(java.lang.String name,
java.util.Locale locale)
name - the localized name of this layout revisionlocale - the locale of the languagevoid setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
name - the localized name of this layout revisionlocale - the locale of the languagedefaultLocale - the default localevoid setNameCurrentLanguageId(java.lang.String languageId)
void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
nameMap - the locales and localized names of this layout revisionvoid setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
nameMap - the locales and localized names of this layout revisiondefaultLocale - the default localejava.lang.String getTitle()
@AutoEscape java.lang.String getTitle(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getTitle(java.util.Locale locale, boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getTitle(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getTitle(java.lang.String languageId, boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getTitleCurrentLanguageId()
@AutoEscape java.lang.String getTitleCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
void setTitle(java.lang.String title)
title - the title of this layout revisionvoid setTitle(java.lang.String title,
java.util.Locale locale)
title - the localized title of this layout revisionlocale - the locale of the languagevoid setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
title - the localized title of this layout revisionlocale - the locale of the languagedefaultLocale - the default localevoid setTitleCurrentLanguageId(java.lang.String languageId)
void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
titleMap - the locales and localized titles of this layout revisionvoid setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
titleMap - the locales and localized titles of this layout revisiondefaultLocale - the default localejava.lang.String getDescription()
@AutoEscape java.lang.String getDescription(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getDescription(java.util.Locale locale, boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getDescription(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getDescription(java.lang.String languageId, boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getDescriptionCurrentLanguageId()
@AutoEscape java.lang.String getDescriptionCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
void setDescription(java.lang.String description)
description - the description of this layout revisionvoid setDescription(java.lang.String description,
java.util.Locale locale)
description - the localized description of this layout revisionlocale - the locale of the languagevoid setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
description - the localized description of this layout revisionlocale - the locale of the languagedefaultLocale - the default localevoid setDescriptionCurrentLanguageId(java.lang.String languageId)
void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
descriptionMap - the locales and localized descriptions of this layout revisionvoid setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
descriptionMap - the locales and localized descriptions of this layout revisiondefaultLocale - the default localejava.lang.String getKeywords()
@AutoEscape java.lang.String getKeywords(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getKeywords(java.util.Locale locale, boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getKeywords(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getKeywords(java.lang.String languageId, boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getKeywordsCurrentLanguageId()
@AutoEscape java.lang.String getKeywordsCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getKeywordsMap()
void setKeywords(java.lang.String keywords)
keywords - the keywords of this layout revisionvoid setKeywords(java.lang.String keywords,
java.util.Locale locale)
keywords - the localized keywords of this layout revisionlocale - the locale of the languagevoid setKeywords(java.lang.String keywords,
java.util.Locale locale,
java.util.Locale defaultLocale)
keywords - the localized keywords of this layout revisionlocale - the locale of the languagedefaultLocale - the default localevoid setKeywordsCurrentLanguageId(java.lang.String languageId)
void setKeywordsMap(java.util.Map<java.util.Locale,java.lang.String> keywordsMap)
keywordsMap - the locales and localized keywordses of this layout revisionvoid setKeywordsMap(java.util.Map<java.util.Locale,java.lang.String> keywordsMap,
java.util.Locale defaultLocale)
keywordsMap - the locales and localized keywordses of this layout revisiondefaultLocale - the default localejava.lang.String getRobots()
@AutoEscape java.lang.String getRobots(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getRobots(java.util.Locale locale, boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getRobots(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getRobots(java.lang.String languageId, boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getRobotsCurrentLanguageId()
@AutoEscape java.lang.String getRobotsCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getRobotsMap()
void setRobots(java.lang.String robots)
robots - the robots of this layout revisionvoid setRobots(java.lang.String robots,
java.util.Locale locale)
robots - the localized robots of this layout revisionlocale - the locale of the languagevoid setRobots(java.lang.String robots,
java.util.Locale locale,
java.util.Locale defaultLocale)
robots - the localized robots of this layout revisionlocale - the locale of the languagedefaultLocale - the default localevoid setRobotsCurrentLanguageId(java.lang.String languageId)
void setRobotsMap(java.util.Map<java.util.Locale,java.lang.String> robotsMap)
robotsMap - the locales and localized robotses of this layout revisionvoid setRobotsMap(java.util.Map<java.util.Locale,java.lang.String> robotsMap,
java.util.Locale defaultLocale)
robotsMap - the locales and localized robotses of this layout revisiondefaultLocale - the default locale@AutoEscape java.lang.String getTypeSettings()
void setTypeSettings(java.lang.String typeSettings)
typeSettings - the type settings of this layout revisionlong getIconImageId()
void setIconImageId(long iconImageId)
iconImageId - the icon image ID of this layout revision@AutoEscape java.lang.String getThemeId()
void setThemeId(java.lang.String themeId)
themeId - the theme ID of this layout revision@AutoEscape java.lang.String getColorSchemeId()
void setColorSchemeId(java.lang.String colorSchemeId)
colorSchemeId - the color scheme ID of this layout revision@AutoEscape java.lang.String getWapThemeId()
void setWapThemeId(java.lang.String wapThemeId)
wapThemeId - the wap theme ID of this layout revision@AutoEscape java.lang.String getWapColorSchemeId()
void setWapColorSchemeId(java.lang.String wapColorSchemeId)
wapColorSchemeId - the wap color scheme ID of this layout revision@AutoEscape java.lang.String getCss()
void setCss(java.lang.String css)
css - the css of this layout revisionint getStatus()
getStatus in interface WorkflowedModelvoid setStatus(int status)
setStatus in interface WorkflowedModelstatus - the status of this layout revisionlong getStatusByUserId()
getStatusByUserId in interface WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this layout revisionjava.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this layout revision@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelvoid setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this layout revisionjava.util.Date getStatusDate()
getStatusDate in interface WorkflowedModelvoid setStatusDate(java.util.Date statusDate)
setStatusDate in interface WorkflowedModelstatusDate - the status date of this layout revisionboolean isApproved()
true if this layout revision is approved.isApproved in interface WorkflowedModeltrue if this layout revision is approved; false otherwiseboolean isDenied()
true if this layout revision is denied.isDenied in interface WorkflowedModeltrue if this layout revision is denied; false otherwiseboolean isDraft()
true if this layout revision is a draft.isDraft in interface WorkflowedModeltrue if this layout revision is a draft; false otherwiseboolean isExpired()
true if this layout revision is expired.isExpired in interface WorkflowedModeltrue if this layout revision is expired; false otherwiseboolean isInactive()
true if this layout revision is inactive.isInactive in interface WorkflowedModeltrue if this layout revision is inactive; false otherwiseboolean isIncomplete()
true if this layout revision is incomplete.isIncomplete in interface WorkflowedModeltrue if this layout revision is incomplete; false otherwiseboolean isPending()
true if this layout revision is pending.isPending in interface WorkflowedModeltrue if this layout revision is pending; false otherwiseboolean isScheduled()
true if this layout revision is scheduled.isScheduled in interface WorkflowedModeltrue if this layout revision is scheduled; false otherwiseboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<LayoutRevision>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<LayoutRevision>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<LayoutRevision>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<LayoutRevision>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<LayoutRevision>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<LayoutRevision>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<LayoutRevision>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<LayoutRevision>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<LayoutRevision>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<LayoutRevision>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<LayoutRevision>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModeljava.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModelvoid prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionvoid prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionjava.lang.Object clone()
BaseModelclone in interface BaseModel<LayoutRevision>int compareTo(LayoutRevision layoutRevision)
compareTo in interface java.lang.Comparable<LayoutRevision>int hashCode()
hashCode in class java.lang.ObjectCacheModel<LayoutRevision> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<LayoutRevision>LayoutRevision toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<LayoutRevision>AutoEscapeBeanHandlerLayoutRevision toUnescapedModel()
toUnescapedModel in interface BaseModel<LayoutRevision>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<LayoutRevision>