|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<LayoutRevision>
com.liferay.portal.model.impl.LayoutRevisionModelImpl
@JSON(strict=true) public class LayoutRevisionModelImpl
The base model implementation for the LayoutRevision service. Represents a row in the "LayoutRevision" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface LayoutRevisionModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutRevisionImpl
.
LayoutRevisionImpl
,
LayoutRevision
,
LayoutRevisionModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
HEAD_COLUMN_BITMASK
|
static long |
LAYOUTBRANCHID_COLUMN_BITMASK
|
static long |
LAYOUTSETBRANCHID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PARENTLAYOUTREVISIONID_COLUMN_BITMASK
|
static long |
PLID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static long |
STATUS_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
Constructor Summary | |
---|---|
LayoutRevisionModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(LayoutRevision layoutRevision)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. isApproved() |
String |
getColorSchemeId()
Returns the color scheme ID of this layout revision. |
long |
getColumnBitmask()
|
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 |
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. |
boolean |
getIconImage()
Returns the icon image of this layout revision. |
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. |
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date 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. |
boolean |
getOriginalHead()
|
long |
getOriginalLayoutBranchId()
|
long |
getOriginalLayoutSetBranchId()
|
long |
getOriginalParentLayoutRevisionId()
|
long |
getOriginalPlid()
|
int |
getOriginalStatus()
|
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 |
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. |
String |
getThemeId()
Returns the theme ID of this layout revision. |
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. |
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. |
String |
getWapColorSchemeId()
Returns the wap color scheme ID of this layout revision. |
String |
getWapThemeId()
Returns the wap theme ID of this layout revision. |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this layout revision is approved. |
boolean |
isDenied()
Returns true if this layout revision is denied. |
boolean |
isDraft()
Returns true if this layout revision is a draft. |
boolean |
isExpired()
Returns true if this layout revision is expired. |
boolean |
isHead()
Returns true if this layout revision is head. |
boolean |
isIconImage()
Returns true if this layout revision is icon image. |
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 |
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(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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(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 |
setIconImage(boolean iconImage)
Sets whether this layout revision is icon image. |
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 |
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 |
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 |
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 . |
static LayoutRevision |
toModel(LayoutRevisionSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<LayoutRevision> |
toModels(LayoutRevisionSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
LayoutRevision |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.LayoutRevisionModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long HEAD_COLUMN_BITMASK
public static long LAYOUTBRANCHID_COLUMN_BITMASK
public static long LAYOUTSETBRANCHID_COLUMN_BITMASK
public static long PARENTLAYOUTREVISIONID_COLUMN_BITMASK
public static long PLID_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public LayoutRevisionModelImpl()
Method Detail |
---|
public static LayoutRevision toModel(LayoutRevisionSoap soapModel)
soapModel
- the soap model instance to convert
public static List<LayoutRevision> toModels(LayoutRevisionSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
LayoutRevisionModel
getPrimaryKey
in interface LayoutRevisionModel
public void setPrimaryKey(long primaryKey)
LayoutRevisionModel
setPrimaryKey
in interface LayoutRevisionModel
primaryKey
- the primary key of this layout revisionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<LayoutRevision>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface LayoutRevisionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<LayoutRevision>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface LayoutRevisionModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<LayoutRevision>
getModelAttributes
in class BaseModelImpl<LayoutRevision>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<LayoutRevision>
setModelAttributes
in class BaseModelImpl<LayoutRevision>
@JSON public long getLayoutRevisionId()
LayoutRevisionModel
getLayoutRevisionId
in interface LayoutRevisionModel
public void setLayoutRevisionId(long layoutRevisionId)
LayoutRevisionModel
setLayoutRevisionId
in interface LayoutRevisionModel
layoutRevisionId
- the layout revision ID of this layout revision@JSON public long getGroupId()
LayoutRevisionModel
getGroupId
in interface GroupedModel
getGroupId
in interface LayoutRevisionModel
public void setGroupId(long groupId)
LayoutRevisionModel
setGroupId
in interface GroupedModel
setGroupId
in interface LayoutRevisionModel
groupId
- the group ID of this layout revision@JSON public long getCompanyId()
LayoutRevisionModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface LayoutRevisionModel
public void setCompanyId(long companyId)
LayoutRevisionModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface LayoutRevisionModel
companyId
- the company ID of this layout revision@JSON public long getUserId()
LayoutRevisionModel
getUserId
in interface AuditedModel
getUserId
in interface LayoutRevisionModel
public void setUserId(long userId)
LayoutRevisionModel
setUserId
in interface AuditedModel
setUserId
in interface LayoutRevisionModel
userId
- the user ID of this layout revisionpublic String getUserUuid() throws SystemException
LayoutRevisionModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface LayoutRevisionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
LayoutRevisionModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface LayoutRevisionModel
userUuid
- the user uuid of this layout revision@JSON public String getUserName()
LayoutRevisionModel
getUserName
in interface AuditedModel
getUserName
in interface LayoutRevisionModel
public void setUserName(String userName)
LayoutRevisionModel
setUserName
in interface AuditedModel
setUserName
in interface LayoutRevisionModel
userName
- the user name of this layout revision@JSON public Date getCreateDate()
LayoutRevisionModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface LayoutRevisionModel
public void setCreateDate(Date createDate)
LayoutRevisionModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface LayoutRevisionModel
createDate
- the create date of this layout revision@JSON public Date getModifiedDate()
LayoutRevisionModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface LayoutRevisionModel
public void setModifiedDate(Date modifiedDate)
LayoutRevisionModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface LayoutRevisionModel
modifiedDate
- the modified date of this layout revision@JSON public long getLayoutSetBranchId()
LayoutRevisionModel
getLayoutSetBranchId
in interface LayoutRevisionModel
public void setLayoutSetBranchId(long layoutSetBranchId)
LayoutRevisionModel
setLayoutSetBranchId
in interface LayoutRevisionModel
layoutSetBranchId
- the layout set branch ID of this layout revisionpublic long getOriginalLayoutSetBranchId()
@JSON public long getLayoutBranchId()
LayoutRevisionModel
getLayoutBranchId
in interface LayoutRevisionModel
public void setLayoutBranchId(long layoutBranchId)
LayoutRevisionModel
setLayoutBranchId
in interface LayoutRevisionModel
layoutBranchId
- the layout branch ID of this layout revisionpublic long getOriginalLayoutBranchId()
@JSON public long getParentLayoutRevisionId()
LayoutRevisionModel
getParentLayoutRevisionId
in interface LayoutRevisionModel
public void setParentLayoutRevisionId(long parentLayoutRevisionId)
LayoutRevisionModel
setParentLayoutRevisionId
in interface LayoutRevisionModel
parentLayoutRevisionId
- the parent layout revision ID of this layout revisionpublic long getOriginalParentLayoutRevisionId()
@JSON public boolean getHead()
LayoutRevisionModel
getHead
in interface LayoutRevisionModel
public boolean isHead()
LayoutRevisionModel
true
if this layout revision is head.
isHead
in interface LayoutRevisionModel
true
if this layout revision is head; false
otherwisepublic void setHead(boolean head)
LayoutRevisionModel
setHead
in interface LayoutRevisionModel
head
- the head of this layout revisionpublic boolean getOriginalHead()
@JSON public boolean getMajor()
LayoutRevisionModel
getMajor
in interface LayoutRevisionModel
public boolean isMajor()
LayoutRevisionModel
true
if this layout revision is major.
isMajor
in interface LayoutRevisionModel
true
if this layout revision is major; false
otherwisepublic void setMajor(boolean major)
LayoutRevisionModel
setMajor
in interface LayoutRevisionModel
major
- the major of this layout revision@JSON public long getPlid()
LayoutRevisionModel
getPlid
in interface LayoutRevisionModel
public void setPlid(long plid)
LayoutRevisionModel
setPlid
in interface LayoutRevisionModel
plid
- the plid of this layout revisionpublic long getOriginalPlid()
@JSON public boolean getPrivateLayout()
LayoutRevisionModel
getPrivateLayout
in interface LayoutRevisionModel
public boolean isPrivateLayout()
LayoutRevisionModel
true
if this layout revision is private layout.
isPrivateLayout
in interface LayoutRevisionModel
true
if this layout revision is private layout; false
otherwisepublic void setPrivateLayout(boolean privateLayout)
LayoutRevisionModel
setPrivateLayout
in interface LayoutRevisionModel
privateLayout
- the private layout of this layout revision@JSON public String getName()
LayoutRevisionModel
getName
in interface LayoutRevisionModel
public String getName(Locale locale)
LayoutRevisionModel
getName
in interface LayoutRevisionModel
locale
- the locale of the language
public String getName(Locale locale, boolean useDefault)
LayoutRevisionModel
getName
in interface LayoutRevisionModel
locale
- 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 getName(String languageId)
LayoutRevisionModel
getName
in interface LayoutRevisionModel
languageId
- the ID of the language
public String getName(String languageId, boolean useDefault)
LayoutRevisionModel
getName
in interface LayoutRevisionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface LayoutRevisionModel
@JSON public String getNameCurrentValue()
getNameCurrentValue
in interface LayoutRevisionModel
public Map<Locale,String> getNameMap()
LayoutRevisionModel
getNameMap
in interface LayoutRevisionModel
public void setName(String name)
LayoutRevisionModel
setName
in interface LayoutRevisionModel
name
- the name of this layout revisionpublic void setName(String name, Locale locale)
LayoutRevisionModel
setName
in interface LayoutRevisionModel
name
- the localized name of this layout revisionlocale
- the locale of the languagepublic void setName(String name, Locale locale, Locale defaultLocale)
LayoutRevisionModel
setName
in interface LayoutRevisionModel
name
- the localized name of this layout revisionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId
in interface LayoutRevisionModel
public void setNameMap(Map<Locale,String> nameMap)
LayoutRevisionModel
setNameMap
in interface LayoutRevisionModel
nameMap
- the locales and localized names of this layout revisionpublic void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
LayoutRevisionModel
setNameMap
in interface LayoutRevisionModel
nameMap
- the locales and localized names of this layout revisiondefaultLocale
- the default locale@JSON public String getTitle()
LayoutRevisionModel
getTitle
in interface LayoutRevisionModel
public String getTitle(Locale locale)
LayoutRevisionModel
getTitle
in interface LayoutRevisionModel
locale
- the locale of the language
public String getTitle(Locale locale, boolean useDefault)
LayoutRevisionModel
getTitle
in interface LayoutRevisionModel
locale
- 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 getTitle(String languageId)
LayoutRevisionModel
getTitle
in interface LayoutRevisionModel
languageId
- the ID of the language
public String getTitle(String languageId, boolean useDefault)
LayoutRevisionModel
getTitle
in interface LayoutRevisionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface LayoutRevisionModel
@JSON public String getTitleCurrentValue()
getTitleCurrentValue
in interface LayoutRevisionModel
public Map<Locale,String> getTitleMap()
LayoutRevisionModel
getTitleMap
in interface LayoutRevisionModel
public void setTitle(String title)
LayoutRevisionModel
setTitle
in interface LayoutRevisionModel
title
- the title of this layout revisionpublic void setTitle(String title, Locale locale)
LayoutRevisionModel
setTitle
in interface LayoutRevisionModel
title
- the localized title of this layout revisionlocale
- the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
LayoutRevisionModel
setTitle
in interface LayoutRevisionModel
title
- the localized title of this layout revisionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId
in interface LayoutRevisionModel
public void setTitleMap(Map<Locale,String> titleMap)
LayoutRevisionModel
setTitleMap
in interface LayoutRevisionModel
titleMap
- the locales and localized titles of this layout revisionpublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
LayoutRevisionModel
setTitleMap
in interface LayoutRevisionModel
titleMap
- the locales and localized titles of this layout revisiondefaultLocale
- the default locale@JSON public String getDescription()
LayoutRevisionModel
getDescription
in interface LayoutRevisionModel
public String getDescription(Locale locale)
LayoutRevisionModel
getDescription
in interface LayoutRevisionModel
locale
- the locale of the language
public String getDescription(Locale locale, boolean useDefault)
LayoutRevisionModel
getDescription
in interface LayoutRevisionModel
locale
- 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 getDescription(String languageId)
LayoutRevisionModel
getDescription
in interface LayoutRevisionModel
languageId
- the ID of the language
public String getDescription(String languageId, boolean useDefault)
LayoutRevisionModel
getDescription
in interface LayoutRevisionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface LayoutRevisionModel
@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface LayoutRevisionModel
public Map<Locale,String> getDescriptionMap()
LayoutRevisionModel
getDescriptionMap
in interface LayoutRevisionModel
public void setDescription(String description)
LayoutRevisionModel
setDescription
in interface LayoutRevisionModel
description
- the description of this layout revisionpublic void setDescription(String description, Locale locale)
LayoutRevisionModel
setDescription
in interface LayoutRevisionModel
description
- the localized description of this layout revisionlocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
LayoutRevisionModel
setDescription
in interface LayoutRevisionModel
description
- the localized description of this layout revisionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface LayoutRevisionModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
LayoutRevisionModel
setDescriptionMap
in interface LayoutRevisionModel
descriptionMap
- the locales and localized descriptions of this layout revisionpublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
LayoutRevisionModel
setDescriptionMap
in interface LayoutRevisionModel
descriptionMap
- the locales and localized descriptions of this layout revisiondefaultLocale
- the default locale@JSON public String getKeywords()
LayoutRevisionModel
getKeywords
in interface LayoutRevisionModel
public String getKeywords(Locale locale)
LayoutRevisionModel
getKeywords
in interface LayoutRevisionModel
locale
- the locale of the language
public String getKeywords(Locale locale, boolean useDefault)
LayoutRevisionModel
getKeywords
in interface LayoutRevisionModel
locale
- 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 getKeywords(String languageId)
LayoutRevisionModel
getKeywords
in interface LayoutRevisionModel
languageId
- the ID of the language
public String getKeywords(String languageId, boolean useDefault)
LayoutRevisionModel
getKeywords
in interface LayoutRevisionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getKeywordsCurrentLanguageId()
getKeywordsCurrentLanguageId
in interface LayoutRevisionModel
@JSON public String getKeywordsCurrentValue()
getKeywordsCurrentValue
in interface LayoutRevisionModel
public Map<Locale,String> getKeywordsMap()
LayoutRevisionModel
getKeywordsMap
in interface LayoutRevisionModel
public void setKeywords(String keywords)
LayoutRevisionModel
setKeywords
in interface LayoutRevisionModel
keywords
- the keywords of this layout revisionpublic void setKeywords(String keywords, Locale locale)
LayoutRevisionModel
setKeywords
in interface LayoutRevisionModel
keywords
- the localized keywords of this layout revisionlocale
- the locale of the languagepublic void setKeywords(String keywords, Locale locale, Locale defaultLocale)
LayoutRevisionModel
setKeywords
in interface LayoutRevisionModel
keywords
- the localized keywords of this layout revisionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setKeywordsCurrentLanguageId(String languageId)
setKeywordsCurrentLanguageId
in interface LayoutRevisionModel
public void setKeywordsMap(Map<Locale,String> keywordsMap)
LayoutRevisionModel
setKeywordsMap
in interface LayoutRevisionModel
keywordsMap
- the locales and localized keywordses of this layout revisionpublic void setKeywordsMap(Map<Locale,String> keywordsMap, Locale defaultLocale)
LayoutRevisionModel
setKeywordsMap
in interface LayoutRevisionModel
keywordsMap
- the locales and localized keywordses of this layout revisiondefaultLocale
- the default locale@JSON public String getRobots()
LayoutRevisionModel
getRobots
in interface LayoutRevisionModel
public String getRobots(Locale locale)
LayoutRevisionModel
getRobots
in interface LayoutRevisionModel
locale
- the locale of the language
public String getRobots(Locale locale, boolean useDefault)
LayoutRevisionModel
getRobots
in interface LayoutRevisionModel
locale
- 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 getRobots(String languageId)
LayoutRevisionModel
getRobots
in interface LayoutRevisionModel
languageId
- the ID of the language
public String getRobots(String languageId, boolean useDefault)
LayoutRevisionModel
getRobots
in interface LayoutRevisionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getRobotsCurrentLanguageId()
getRobotsCurrentLanguageId
in interface LayoutRevisionModel
@JSON public String getRobotsCurrentValue()
getRobotsCurrentValue
in interface LayoutRevisionModel
public Map<Locale,String> getRobotsMap()
LayoutRevisionModel
getRobotsMap
in interface LayoutRevisionModel
public void setRobots(String robots)
LayoutRevisionModel
setRobots
in interface LayoutRevisionModel
robots
- the robots of this layout revisionpublic void setRobots(String robots, Locale locale)
LayoutRevisionModel
setRobots
in interface LayoutRevisionModel
robots
- the localized robots of this layout revisionlocale
- the locale of the languagepublic void setRobots(String robots, Locale locale, Locale defaultLocale)
LayoutRevisionModel
setRobots
in interface LayoutRevisionModel
robots
- the localized robots of this layout revisionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setRobotsCurrentLanguageId(String languageId)
setRobotsCurrentLanguageId
in interface LayoutRevisionModel
public void setRobotsMap(Map<Locale,String> robotsMap)
LayoutRevisionModel
setRobotsMap
in interface LayoutRevisionModel
robotsMap
- the locales and localized robotses of this layout revisionpublic void setRobotsMap(Map<Locale,String> robotsMap, Locale defaultLocale)
LayoutRevisionModel
setRobotsMap
in interface LayoutRevisionModel
robotsMap
- the locales and localized robotses of this layout revisiondefaultLocale
- the default locale@JSON public String getTypeSettings()
LayoutRevisionModel
getTypeSettings
in interface LayoutRevisionModel
public void setTypeSettings(String typeSettings)
LayoutRevisionModel
setTypeSettings
in interface LayoutRevisionModel
typeSettings
- the type settings of this layout revision@JSON public boolean getIconImage()
LayoutRevisionModel
getIconImage
in interface LayoutRevisionModel
public boolean isIconImage()
LayoutRevisionModel
true
if this layout revision is icon image.
isIconImage
in interface LayoutRevisionModel
true
if this layout revision is icon image; false
otherwisepublic void setIconImage(boolean iconImage)
LayoutRevisionModel
setIconImage
in interface LayoutRevisionModel
iconImage
- the icon image of this layout revision@JSON public long getIconImageId()
LayoutRevisionModel
getIconImageId
in interface LayoutRevisionModel
public void setIconImageId(long iconImageId)
LayoutRevisionModel
setIconImageId
in interface LayoutRevisionModel
iconImageId
- the icon image ID of this layout revision@JSON public String getThemeId()
LayoutRevisionModel
getThemeId
in interface LayoutRevisionModel
public void setThemeId(String themeId)
LayoutRevisionModel
setThemeId
in interface LayoutRevisionModel
themeId
- the theme ID of this layout revision@JSON public String getColorSchemeId()
LayoutRevisionModel
getColorSchemeId
in interface LayoutRevisionModel
public void setColorSchemeId(String colorSchemeId)
LayoutRevisionModel
setColorSchemeId
in interface LayoutRevisionModel
colorSchemeId
- the color scheme ID of this layout revision@JSON public String getWapThemeId()
LayoutRevisionModel
getWapThemeId
in interface LayoutRevisionModel
public void setWapThemeId(String wapThemeId)
LayoutRevisionModel
setWapThemeId
in interface LayoutRevisionModel
wapThemeId
- the wap theme ID of this layout revision@JSON public String getWapColorSchemeId()
LayoutRevisionModel
getWapColorSchemeId
in interface LayoutRevisionModel
public void setWapColorSchemeId(String wapColorSchemeId)
LayoutRevisionModel
setWapColorSchemeId
in interface LayoutRevisionModel
wapColorSchemeId
- the wap color scheme ID of this layout revision@JSON public String getCss()
LayoutRevisionModel
getCss
in interface LayoutRevisionModel
public void setCss(String css)
LayoutRevisionModel
setCss
in interface LayoutRevisionModel
css
- the css of this layout revision@JSON public int getStatus()
LayoutRevisionModel
getStatus
in interface LayoutRevisionModel
getStatus
in interface WorkflowedModel
public void setStatus(int status)
LayoutRevisionModel
setStatus
in interface LayoutRevisionModel
setStatus
in interface WorkflowedModel
status
- the status of this layout revisionpublic int getOriginalStatus()
@JSON public long getStatusByUserId()
LayoutRevisionModel
getStatusByUserId
in interface LayoutRevisionModel
getStatusByUserId
in interface WorkflowedModel
public void setStatusByUserId(long statusByUserId)
LayoutRevisionModel
setStatusByUserId
in interface LayoutRevisionModel
setStatusByUserId
in interface WorkflowedModel
statusByUserId
- the status by user ID of this layout revisionpublic String getStatusByUserUuid() throws SystemException
LayoutRevisionModel
getStatusByUserUuid
in interface LayoutRevisionModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
LayoutRevisionModel
setStatusByUserUuid
in interface LayoutRevisionModel
statusByUserUuid
- the status by user uuid of this layout revision@JSON public String getStatusByUserName()
LayoutRevisionModel
getStatusByUserName
in interface LayoutRevisionModel
getStatusByUserName
in interface WorkflowedModel
public void setStatusByUserName(String statusByUserName)
LayoutRevisionModel
setStatusByUserName
in interface LayoutRevisionModel
setStatusByUserName
in interface WorkflowedModel
statusByUserName
- the status by user name of this layout revision@JSON public Date getStatusDate()
LayoutRevisionModel
getStatusDate
in interface LayoutRevisionModel
getStatusDate
in interface WorkflowedModel
public void setStatusDate(Date statusDate)
LayoutRevisionModel
setStatusDate
in interface LayoutRevisionModel
setStatusDate
in interface WorkflowedModel
statusDate
- the status date of this layout revisionpublic boolean getApproved()
isApproved()
getApproved
in interface LayoutRevisionModel
public boolean isApproved()
LayoutRevisionModel
true
if this layout revision is approved.
isApproved
in interface LayoutRevisionModel
isApproved
in interface WorkflowedModel
true
if this layout revision is approved; false
otherwisepublic boolean isDenied()
LayoutRevisionModel
true
if this layout revision is denied.
isDenied
in interface LayoutRevisionModel
true
if this layout revision is denied; false
otherwisepublic boolean isDraft()
LayoutRevisionModel
true
if this layout revision is a draft.
isDraft
in interface LayoutRevisionModel
isDraft
in interface WorkflowedModel
true
if this layout revision is a draft; false
otherwisepublic boolean isExpired()
LayoutRevisionModel
true
if this layout revision is expired.
isExpired
in interface LayoutRevisionModel
isExpired
in interface WorkflowedModel
true
if this layout revision is expired; false
otherwisepublic boolean isInactive()
LayoutRevisionModel
true
if this layout revision is inactive.
isInactive
in interface LayoutRevisionModel
true
if this layout revision is inactive; false
otherwisepublic boolean isIncomplete()
LayoutRevisionModel
true
if this layout revision is incomplete.
isIncomplete
in interface LayoutRevisionModel
true
if this layout revision is incomplete; false
otherwisepublic boolean isPending()
LayoutRevisionModel
true
if this layout revision is pending.
isPending
in interface LayoutRevisionModel
isPending
in interface WorkflowedModel
true
if this layout revision is pending; false
otherwisepublic boolean isScheduled()
LayoutRevisionModel
true
if this layout revision is scheduled.
isScheduled
in interface LayoutRevisionModel
true
if this layout revision is scheduled; false
otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<LayoutRevision>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface LayoutRevisionModel
getExpandoBridge
in class BaseModelImpl<LayoutRevision>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<LayoutRevision>
setExpandoBridgeAttributes
in interface LayoutRevisionModel
setExpandoBridgeAttributes
in class BaseModelImpl<LayoutRevision>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface LayoutRevisionModel
LocaleException
public LayoutRevision toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<LayoutRevision>
toEscapedModel
in interface LayoutRevisionModel
toEscapedModel
in class BaseModelImpl<LayoutRevision>
AutoEscapeBeanHandler
public LayoutRevision toUnescapedModel()
toUnescapedModel
in interface BaseModel<LayoutRevision>
toUnescapedModel
in interface LayoutRevisionModel
toUnescapedModel
in class BaseModelImpl<LayoutRevision>
public Object clone()
BaseModel
clone
in interface BaseModel<LayoutRevision>
clone
in interface LayoutRevisionModel
clone
in class BaseModelImpl<LayoutRevision>
public int compareTo(LayoutRevision layoutRevision)
compareTo
in interface LayoutRevisionModel
compareTo
in interface Comparable<LayoutRevision>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface LayoutRevisionModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<LayoutRevision>
resetOriginalValues
in class BaseModelImpl<LayoutRevision>
public CacheModel<LayoutRevision> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<LayoutRevision>
toCacheModel
in interface LayoutRevisionModel
toCacheModel
in class BaseModelImpl<LayoutRevision>
public String toString()
toString
in interface LayoutRevisionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<LayoutRevision>
toXmlString
in interface LayoutRevisionModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |