|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.LayoutRevisionWrapper
@ProviderType public class LayoutRevisionWrapper
This class is a wrapper for LayoutRevision.
LayoutRevision,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.LayoutRevision |
|---|
LAYOUT_REVISION_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
LayoutRevisionWrapper(LayoutRevision layoutRevision)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(LayoutRevision layoutRevision)
|
boolean |
equals(Object obj)
|
String[] |
getAvailableLanguageIds()
|
List<LayoutRevision> |
getChildren()
|
ColorScheme |
getColorScheme()
|
String |
getColorSchemeId()
Returns the color scheme ID of this layout revision. |
long |
getCompanyId()
Returns the company ID of this layout revision. |
Date |
getCreateDate()
Returns the create date of this layout revision. |
String |
getCss()
Returns the css of this layout revision. |
String |
getCssText()
|
String |
getDefaultLanguageId()
|
String |
getDescription()
Returns the description of this layout revision. |
String |
getDescription(Locale locale)
Returns the localized description of this layout revision in the language. |
String |
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. |
String |
getDescription(String languageId)
Returns the localized description of this layout revision in the language. |
String |
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. |
String |
getDescriptionCurrentLanguageId()
|
String |
getDescriptionCurrentValue()
|
Map<Locale,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. |
String |
getHTMLTitle(Locale locale)
|
String |
getHTMLTitle(String localeLanguageId)
|
boolean |
getIconImage()
|
long |
getIconImageId()
Returns the icon image ID of this layout revision. |
String |
getKeywords()
Returns the keywords of this layout revision. |
String |
getKeywords(Locale locale)
Returns the localized keywords of this layout revision in the language. |
String |
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. |
String |
getKeywords(String languageId)
Returns the localized keywords of this layout revision in the language. |
String |
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. |
String |
getKeywordsCurrentLanguageId()
|
String |
getKeywordsCurrentValue()
|
Map<Locale,String> |
getKeywordsMap()
Returns a map of the locales and localized keywordses of this layout revision. |
LayoutBranch |
getLayoutBranch()
|
long |
getLayoutBranchId()
Returns the layout branch ID of this layout revision. |
long |
getLayoutRevisionId()
Returns the layout revision ID of this layout revision. |
LayoutSet |
getLayoutSet()
|
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this layout revision. |
boolean |
getMajor()
Returns the major of this layout revision. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this layout revision. |
long |
getMvccVersion()
Returns the mvcc version of this layout revision. |
String |
getName()
Returns the name of this layout revision. |
String |
getName(Locale locale)
Returns the localized name of this layout revision in the language. |
String |
getName(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. |
String |
getName(String languageId)
Returns the localized name of this layout revision in the language. |
String |
getName(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. |
String |
getNameCurrentLanguageId()
|
String |
getNameCurrentValue()
|
Map<Locale,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. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getPrivateLayout()
Returns the private layout of this layout revision. |
String |
getRegularURL(javax.servlet.http.HttpServletRequest request)
|
String |
getRobots()
Returns the robots of this layout revision. |
String |
getRobots(Locale locale)
Returns the localized robots of this layout revision in the language. |
String |
getRobots(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. |
String |
getRobots(String languageId)
Returns the localized robots of this layout revision in the language. |
String |
getRobots(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. |
String |
getRobotsCurrentLanguageId()
|
String |
getRobotsCurrentValue()
|
Map<Locale,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. |
String |
getStatusByUserName()
Returns the status by user name of this layout revision. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this layout revision. |
Date |
getStatusDate()
Returns the status date of this layout revision. |
Theme |
getTheme()
|
String |
getThemeId()
Returns the theme ID of this layout revision. |
String |
getThemeSetting(String key,
String device)
|
String |
getTitle()
Returns the title of this layout revision. |
String |
getTitle(Locale locale)
Returns the localized title of this layout revision in the language. |
String |
getTitle(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. |
String |
getTitle(String languageId)
Returns the localized title of this layout revision in the language. |
String |
getTitle(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. |
String |
getTitleCurrentLanguageId()
|
String |
getTitleCurrentValue()
|
Map<Locale,String> |
getTitleMap()
Returns a map of the locales and localized titles of this layout revision. |
String |
getTypeSettings()
Returns the type settings of this layout revision. |
UnicodeProperties |
getTypeSettingsProperties()
|
String |
getTypeSettingsProperty(String key)
|
String |
getTypeSettingsProperty(String key,
String defaultValue)
|
long |
getUserId()
Returns the user ID of this layout revision. |
String |
getUserName()
Returns the user name of this layout revision. |
String |
getUserUuid()
Returns the user uuid of this layout revision. |
ColorScheme |
getWapColorScheme()
|
String |
getWapColorSchemeId()
Returns the wap color scheme ID of this layout revision. |
Theme |
getWapTheme()
|
String |
getWapThemeId()
Returns the wap theme ID of this layout revision. |
LayoutRevision |
getWrappedModel()
|
boolean |
hasChildren()
|
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 |
isContentDisplayPage()
|
boolean |
isDenied()
Returns true if this layout revision is denied. |
boolean |
isDraft()
Returns true if this layout revision is a draft. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Returns true if this layout revision is expired. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isHead()
Returns true if this layout revision is head. |
boolean |
isIconImage()
|
boolean |
isInactive()
Returns true if this layout revision is inactive. |
boolean |
isIncomplete()
Returns true if this layout revision is incomplete. |
boolean |
isInheritLookAndFeel()
|
boolean |
isInheritWapLookAndFeel()
|
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 |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
prepareLocalizedFieldsForImport()
|
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setCss(String css)
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 |
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(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 |
setModelAttributes(Map<String,Object> attributes)
|
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 |
setName(String name)
Sets the name of this layout revision. |
void |
setName(String name,
Locale locale)
Sets the localized name of this layout revision in the language. |
void |
setName(String name,
Locale locale,
Locale defaultLocale)
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 |
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(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout revision is private layout. |
void |
setRobots(String robots)
Sets the robots of this layout revision. |
void |
setRobots(String robots,
Locale locale)
Sets the localized robots of this layout revision in the language. |
void |
setRobots(String robots,
Locale locale,
Locale defaultLocale)
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 |
setTitle(String title)
Sets the title of this layout revision. |
void |
setTitle(String title,
Locale locale)
Sets the localized title of this layout revision in the language. |
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
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 |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
|
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. |
void |
setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme ID of this layout revision. |
void |
setWapThemeId(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. |
String |
toString()
|
LayoutRevision |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutRevisionWrapper(LayoutRevision layoutRevision)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<LayoutRevision>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<LayoutRevision>public Object clone()
BaseModel
clone in interface BaseModel<LayoutRevision>clone in interface LayoutRevisionModelclone in class Objectpublic int compareTo(LayoutRevision layoutRevision)
compareTo in interface LayoutRevisionModelcompareTo in interface Comparable<LayoutRevision>public String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LayoutRevisionModelgetAvailableLanguageIds in interface LocalizedModelpublic List<LayoutRevision> getChildren()
getChildren in interface LayoutRevision
public ColorScheme getColorScheme()
throws PortalException
getColorScheme in interface LayoutRevisionPortalExceptionpublic String getColorSchemeId()
getColorSchemeId in interface LayoutRevisionModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface LayoutRevisionModelgetCompanyId in interface ShardedModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface LayoutRevisionModelpublic String getCss()
getCss in interface LayoutRevisionModel
public String getCssText()
throws PortalException
getCssText in interface LayoutRevisionPortalExceptionpublic String getDefaultLanguageId()
getDefaultLanguageId in interface LayoutRevisionModelgetDefaultLanguageId in interface LocalizedModelpublic String getDescription()
getDescription in interface LayoutRevisionModelpublic String getDescription(String languageId)
getDescription in interface LayoutRevisionModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
getDescription in interface LayoutRevisionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getDescription(Locale locale)
getDescription in interface LayoutRevisionModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
getDescription in interface LayoutRevisionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface LayoutRevisionModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface LayoutRevisionModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface LayoutRevisionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<LayoutRevision>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LayoutRevisionModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface LayoutRevisionModelpublic String getHTMLTitle(Locale locale)
getHTMLTitle in interface LayoutRevisionpublic String getHTMLTitle(String localeLanguageId)
getHTMLTitle in interface LayoutRevisionpublic boolean getHead()
getHead in interface LayoutRevisionModelpublic boolean getIconImage()
getIconImage in interface LayoutRevisionpublic long getIconImageId()
getIconImageId in interface LayoutRevisionModelpublic String getKeywords()
getKeywords in interface LayoutRevisionModelpublic String getKeywords(String languageId)
getKeywords in interface LayoutRevisionModellanguageId - the ID of the language
public String getKeywords(String languageId,
boolean useDefault)
getKeywords in interface LayoutRevisionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getKeywords(Locale locale)
getKeywords in interface LayoutRevisionModellocale - the locale of the language
public String getKeywords(Locale locale,
boolean useDefault)
getKeywords in interface LayoutRevisionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getKeywordsCurrentLanguageId()
getKeywordsCurrentLanguageId in interface LayoutRevisionModelpublic String getKeywordsCurrentValue()
getKeywordsCurrentValue in interface LayoutRevisionModelpublic Map<Locale,String> getKeywordsMap()
getKeywordsMap in interface LayoutRevisionModel
public LayoutBranch getLayoutBranch()
throws PortalException
getLayoutBranch in interface LayoutRevisionPortalExceptionpublic long getLayoutBranchId()
getLayoutBranchId in interface LayoutRevisionModelpublic long getLayoutRevisionId()
getLayoutRevisionId in interface LayoutRevisionModel
public LayoutSet getLayoutSet()
throws PortalException
getLayoutSet in interface LayoutRevisionPortalExceptionpublic long getLayoutSetBranchId()
getLayoutSetBranchId in interface LayoutRevisionModelpublic boolean getMajor()
getMajor in interface LayoutRevisionModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface LayoutRevisionModelpublic long getMvccVersion()
getMvccVersion in interface LayoutRevisionModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface LayoutRevisionModelpublic String getName(String languageId)
getName in interface LayoutRevisionModellanguageId - the ID of the language
public String getName(String languageId,
boolean useDefault)
getName in interface LayoutRevisionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getName(Locale locale)
getName in interface LayoutRevisionModellocale - the locale of the language
public String getName(Locale locale,
boolean useDefault)
getName in interface LayoutRevisionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface LayoutRevisionModelpublic String getNameCurrentValue()
getNameCurrentValue in interface LayoutRevisionModelpublic Map<Locale,String> getNameMap()
getNameMap in interface LayoutRevisionModelpublic long getParentLayoutRevisionId()
getParentLayoutRevisionId in interface LayoutRevisionModelpublic long getPlid()
getPlid in interface LayoutRevisionModelpublic long getPrimaryKey()
getPrimaryKey in interface LayoutRevisionModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<LayoutRevision>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LayoutRevisionModelpublic boolean getPrivateLayout()
getPrivateLayout in interface LayoutRevisionModel
public String getRegularURL(javax.servlet.http.HttpServletRequest request)
throws PortalException
getRegularURL in interface LayoutRevisionPortalExceptionpublic String getRobots()
getRobots in interface LayoutRevisionModelpublic String getRobots(String languageId)
getRobots in interface LayoutRevisionModellanguageId - the ID of the language
public String getRobots(String languageId,
boolean useDefault)
getRobots in interface LayoutRevisionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getRobots(Locale locale)
getRobots in interface LayoutRevisionModellocale - the locale of the language
public String getRobots(Locale locale,
boolean useDefault)
getRobots in interface LayoutRevisionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getRobotsCurrentLanguageId()
getRobotsCurrentLanguageId in interface LayoutRevisionModelpublic String getRobotsCurrentValue()
getRobotsCurrentValue in interface LayoutRevisionModelpublic Map<Locale,String> getRobotsMap()
getRobotsMap in interface LayoutRevisionModelpublic int getStatus()
getStatus in interface LayoutRevisionModelgetStatus in interface WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface LayoutRevisionModelgetStatusByUserId in interface WorkflowedModelpublic String getStatusByUserName()
getStatusByUserName in interface LayoutRevisionModelgetStatusByUserName in interface WorkflowedModelpublic String getStatusByUserUuid()
getStatusByUserUuid in interface LayoutRevisionModelgetStatusByUserUuid in interface WorkflowedModelpublic Date getStatusDate()
getStatusDate in interface LayoutRevisionModelgetStatusDate in interface WorkflowedModel
public Theme getTheme()
throws PortalException
getTheme in interface LayoutRevisionPortalExceptionpublic String getThemeId()
getThemeId in interface LayoutRevisionModel
public String getThemeSetting(String key,
String device)
getThemeSetting in interface LayoutRevisionpublic String getTitle()
getTitle in interface LayoutRevisionModelpublic String getTitle(String languageId)
getTitle in interface LayoutRevisionModellanguageId - the ID of the language
public String getTitle(String languageId,
boolean useDefault)
getTitle in interface LayoutRevisionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getTitle(Locale locale)
getTitle in interface LayoutRevisionModellocale - the locale of the language
public String getTitle(Locale locale,
boolean useDefault)
getTitle in interface LayoutRevisionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface LayoutRevisionModelpublic String getTitleCurrentValue()
getTitleCurrentValue in interface LayoutRevisionModelpublic Map<Locale,String> getTitleMap()
getTitleMap in interface LayoutRevisionModelpublic String getTypeSettings()
getTypeSettings in interface LayoutRevisionModelpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface LayoutRevisionpublic String getTypeSettingsProperty(String key)
getTypeSettingsProperty in interface LayoutRevision
public String getTypeSettingsProperty(String key,
String defaultValue)
getTypeSettingsProperty in interface LayoutRevisionpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface LayoutRevisionModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface LayoutRevisionModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface LayoutRevisionModel
public ColorScheme getWapColorScheme()
throws PortalException
getWapColorScheme in interface LayoutRevisionPortalExceptionpublic String getWapColorSchemeId()
getWapColorSchemeId in interface LayoutRevisionModel
public Theme getWapTheme()
throws PortalException
getWapTheme in interface LayoutRevisionPortalExceptionpublic String getWapThemeId()
getWapThemeId in interface LayoutRevisionModelpublic boolean hasChildren()
hasChildren in interface LayoutRevisionpublic int hashCode()
hashCode in interface LayoutRevisionModelhashCode in class Objectpublic boolean isApproved()
true if this layout revision is approved.
isApproved in interface LayoutRevisionModelisApproved in interface WorkflowedModeltrue if this layout revision is approved; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<LayoutRevision>isCachedModel in interface LayoutRevisionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isContentDisplayPage()
isContentDisplayPage in interface LayoutRevisionpublic boolean isDenied()
true if this layout revision is denied.
isDenied in interface LayoutRevisionModelisDenied in interface WorkflowedModeltrue if this layout revision is denied; false otherwisepublic boolean isDraft()
true if this layout revision is a draft.
isDraft in interface LayoutRevisionModelisDraft in interface WorkflowedModeltrue if this layout revision is a draft; false otherwisepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<LayoutRevision>isEscapedModel in interface LayoutRevisionModeltrue if this model instance is escaped;
false otherwisepublic boolean isExpired()
true if this layout revision is expired.
isExpired in interface LayoutRevisionModelisExpired in interface WorkflowedModeltrue if this layout revision is expired; false otherwisepublic boolean isHead()
true if this layout revision is head.
isHead in interface LayoutRevisionModeltrue if this layout revision is head; false otherwisepublic boolean isIconImage()
isIconImage in interface LayoutRevisionpublic boolean isInactive()
true if this layout revision is inactive.
isInactive in interface LayoutRevisionModelisInactive in interface WorkflowedModeltrue if this layout revision is inactive; false otherwisepublic boolean isIncomplete()
true if this layout revision is incomplete.
isIncomplete in interface LayoutRevisionModelisIncomplete in interface WorkflowedModeltrue if this layout revision is incomplete; false otherwisepublic boolean isInheritLookAndFeel()
isInheritLookAndFeel in interface LayoutRevisionpublic boolean isInheritWapLookAndFeel()
isInheritWapLookAndFeel in interface LayoutRevisionpublic boolean isMajor()
true if this layout revision is major.
isMajor in interface LayoutRevisionModeltrue if this layout revision is major; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<LayoutRevision>isNew in interface LayoutRevisionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic boolean isPending()
true if this layout revision is pending.
isPending in interface LayoutRevisionModelisPending in interface WorkflowedModeltrue if this layout revision is pending; false otherwisepublic boolean isPrivateLayout()
true if this layout revision is private layout.
isPrivateLayout in interface LayoutRevisionModeltrue if this layout revision is private layout; false otherwisepublic boolean isScheduled()
true if this layout revision is scheduled.
isScheduled in interface LayoutRevisionModelisScheduled in interface WorkflowedModeltrue if this layout revision is scheduled; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LayoutRevisionModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LayoutRevisionModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<LayoutRevision>setCachedModel in interface LayoutRevisionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setColorSchemeId(String colorSchemeId)
setColorSchemeId in interface LayoutRevisionModelcolorSchemeId - the color scheme ID of this layout revisionpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface LayoutRevisionModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this layout revisionpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface LayoutRevisionModelcreateDate - the create date of this layout revisionpublic void setCss(String css)
setCss in interface LayoutRevisionModelcss - the css of this layout revisionpublic void setDescription(String description)
setDescription in interface LayoutRevisionModeldescription - the description of this layout revision
public void setDescription(String description,
Locale locale)
setDescription in interface LayoutRevisionModeldescription - the localized description of this layout revisionlocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
setDescription in interface LayoutRevisionModeldescription - the localized description of this layout revisionlocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface LayoutRevisionModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface LayoutRevisionModeldescriptionMap - the locales and localized descriptions of this layout revision
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
setDescriptionMap in interface LayoutRevisionModeldescriptionMap - the locales and localized descriptions of this layout revisiondefaultLocale - the default localepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<LayoutRevision>setExpandoBridgeAttributes in interface LayoutRevisionModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<LayoutRevision>setExpandoBridgeAttributes in interface LayoutRevisionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<LayoutRevision>setExpandoBridgeAttributes in interface LayoutRevisionModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface LayoutRevisionModelgroupId - the group ID of this layout revisionpublic void setHead(boolean head)
setHead in interface LayoutRevisionModelhead - the head of this layout revisionpublic void setIconImageId(long iconImageId)
setIconImageId in interface LayoutRevisionModeliconImageId - the icon image ID of this layout revisionpublic void setKeywords(String keywords)
setKeywords in interface LayoutRevisionModelkeywords - the keywords of this layout revision
public void setKeywords(String keywords,
Locale locale)
setKeywords in interface LayoutRevisionModelkeywords - the localized keywords of this layout revisionlocale - the locale of the language
public void setKeywords(String keywords,
Locale locale,
Locale defaultLocale)
setKeywords in interface LayoutRevisionModelkeywords - the localized keywords of this layout revisionlocale - the locale of the languagedefaultLocale - the default localepublic void setKeywordsCurrentLanguageId(String languageId)
setKeywordsCurrentLanguageId in interface LayoutRevisionModelpublic void setKeywordsMap(Map<Locale,String> keywordsMap)
setKeywordsMap in interface LayoutRevisionModelkeywordsMap - the locales and localized keywordses of this layout revision
public void setKeywordsMap(Map<Locale,String> keywordsMap,
Locale defaultLocale)
setKeywordsMap in interface LayoutRevisionModelkeywordsMap - the locales and localized keywordses of this layout revisiondefaultLocale - the default localepublic void setLayoutBranchId(long layoutBranchId)
setLayoutBranchId in interface LayoutRevisionModellayoutBranchId - the layout branch ID of this layout revisionpublic void setLayoutRevisionId(long layoutRevisionId)
setLayoutRevisionId in interface LayoutRevisionModellayoutRevisionId - the layout revision ID of this layout revisionpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId in interface LayoutRevisionModellayoutSetBranchId - the layout set branch ID of this layout revisionpublic void setMajor(boolean major)
setMajor in interface LayoutRevisionModelmajor - the major of this layout revisionpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface LayoutRevisionModelmodifiedDate - the modified date of this layout revisionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface LayoutRevisionModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this layout revisionpublic void setName(String name)
setName in interface LayoutRevisionModelname - the name of this layout revision
public void setName(String name,
Locale locale)
setName in interface LayoutRevisionModelname - the localized name of this layout revisionlocale - the locale of the language
public void setName(String name,
Locale locale,
Locale defaultLocale)
setName in interface LayoutRevisionModelname - the localized name of this layout revisionlocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface LayoutRevisionModelpublic void setNameMap(Map<Locale,String> nameMap)
setNameMap in interface LayoutRevisionModelnameMap - the locales and localized names of this layout revision
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
setNameMap in interface LayoutRevisionModelnameMap - the locales and localized names of this layout revisiondefaultLocale - the default localepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<LayoutRevision>setNew in interface LayoutRevisionModeln - whether this model instance does not yet exist in the databasepublic void setParentLayoutRevisionId(long parentLayoutRevisionId)
setParentLayoutRevisionId in interface LayoutRevisionModelparentLayoutRevisionId - the parent layout revision ID of this layout revisionpublic void setPlid(long plid)
setPlid in interface LayoutRevisionModelplid - the plid of this layout revisionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface LayoutRevisionModelprimaryKey - the primary key of this layout revisionpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<LayoutRevision>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LayoutRevisionModelprimaryKeyObj - the primary key of this model instancepublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout in interface LayoutRevisionModelprivateLayout - the private layout of this layout revisionpublic void setRobots(String robots)
setRobots in interface LayoutRevisionModelrobots - the robots of this layout revision
public void setRobots(String robots,
Locale locale)
setRobots in interface LayoutRevisionModelrobots - the localized robots of this layout revisionlocale - the locale of the language
public void setRobots(String robots,
Locale locale,
Locale defaultLocale)
setRobots in interface LayoutRevisionModelrobots - the localized robots of this layout revisionlocale - the locale of the languagedefaultLocale - the default localepublic void setRobotsCurrentLanguageId(String languageId)
setRobotsCurrentLanguageId in interface LayoutRevisionModelpublic void setRobotsMap(Map<Locale,String> robotsMap)
setRobotsMap in interface LayoutRevisionModelrobotsMap - the locales and localized robotses of this layout revision
public void setRobotsMap(Map<Locale,String> robotsMap,
Locale defaultLocale)
setRobotsMap in interface LayoutRevisionModelrobotsMap - the locales and localized robotses of this layout revisiondefaultLocale - the default localepublic void setStatus(int status)
setStatus in interface LayoutRevisionModelsetStatus in interface WorkflowedModelstatus - the status of this layout revisionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface LayoutRevisionModelsetStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this layout revisionpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface LayoutRevisionModelsetStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this layout revisionpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface LayoutRevisionModelsetStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this layout revisionpublic void setStatusDate(Date statusDate)
setStatusDate in interface LayoutRevisionModelsetStatusDate in interface WorkflowedModelstatusDate - the status date of this layout revisionpublic void setThemeId(String themeId)
setThemeId in interface LayoutRevisionModelthemeId - the theme ID of this layout revisionpublic void setTitle(String title)
setTitle in interface LayoutRevisionModeltitle - the title of this layout revision
public void setTitle(String title,
Locale locale)
setTitle in interface LayoutRevisionModeltitle - the localized title of this layout revisionlocale - the locale of the language
public void setTitle(String title,
Locale locale,
Locale defaultLocale)
setTitle in interface LayoutRevisionModeltitle - the localized title of this layout revisionlocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId in interface LayoutRevisionModelpublic void setTitleMap(Map<Locale,String> titleMap)
setTitleMap in interface LayoutRevisionModeltitleMap - the locales and localized titles of this layout revision
public void setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
setTitleMap in interface LayoutRevisionModeltitleMap - the locales and localized titles of this layout revisiondefaultLocale - the default localepublic void setTypeSettings(String typeSettings)
setTypeSettings in interface LayoutRevisionModeltypeSettings - the type settings of this layout revisionpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface LayoutRevisionpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface LayoutRevisionModeluserId - the user ID of this layout revisionpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface LayoutRevisionModeluserName - the user name of this layout revisionpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface LayoutRevisionModeluserUuid - the user uuid of this layout revisionpublic void setWapColorSchemeId(String wapColorSchemeId)
setWapColorSchemeId in interface LayoutRevisionModelwapColorSchemeId - the wap color scheme ID of this layout revisionpublic void setWapThemeId(String wapThemeId)
setWapThemeId in interface LayoutRevisionModelwapThemeId - the wap theme ID of this layout revisionpublic CacheModel<LayoutRevision> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<LayoutRevision>toCacheModel in interface LayoutRevisionModelpublic LayoutRevision toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<LayoutRevision>toEscapedModel in interface LayoutRevisionModelAutoEscapeBeanHandlerpublic String toString()
toString in interface LayoutRevisionModeltoString in class Objectpublic LayoutRevision toUnescapedModel()
toUnescapedModel in interface BaseModel<LayoutRevision>toUnescapedModel in interface LayoutRevisionModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<LayoutRevision>toXmlString in interface LayoutRevisionModelpublic boolean equals(Object obj)
equals in class Objectpublic LayoutRevision getWrappedModel()
getWrappedModel in interface ModelWrapper<LayoutRevision>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<LayoutRevision>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<LayoutRevision>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<LayoutRevision>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||