|
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.impl.BaseModelImpl<Layout>
com.liferay.portal.model.impl.LayoutModelImpl
@JSON(strict=true) @ProviderType public class LayoutModelImpl
The base model implementation for the Layout service. Represents a row in the "Layout" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface LayoutModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutImpl.
LayoutImpl,
Layout,
LayoutModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
FRIENDLYURL_COLUMN_BITMASK
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
ICONIMAGEID_COLUMN_BITMASK
|
static long |
LAYOUTID_COLUMN_BITMASK
|
static long |
LAYOUTPROTOTYPEUUID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PARENTLAYOUTID_COLUMN_BITMASK
|
static long |
PRIORITY_COLUMN_BITMASK
|
static long |
PRIVATELAYOUT_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static long |
SOURCEPROTOTYPELAYOUTUUID_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
TYPE_COLUMN_BITMASK
|
static long |
UUID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
LayoutModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Layout layout)
|
boolean |
equals(Object obj)
|
String[] |
getAvailableLanguageIds()
|
String |
getColorSchemeId()
Returns the color scheme ID of this layout. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this layout. |
Date |
getCreateDate()
Returns the create date of this layout. |
String |
getCss()
Returns the css of this layout. |
String |
getDefaultLanguageId()
|
String |
getDescription()
Returns the description of this layout. |
String |
getDescription(Locale locale)
Returns the localized description of this layout in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this layout 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 in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this layout 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. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getFriendlyURL()
Returns the friendly u r l of this layout. |
long |
getGroupId()
Returns the group ID of this layout. |
boolean |
getHidden()
Returns the hidden of this layout. |
long |
getIconImageId()
Returns the icon image ID of this layout. |
String |
getKeywords()
Returns the keywords of this layout. |
String |
getKeywords(Locale locale)
Returns the localized keywords of this layout in the language. |
String |
getKeywords(Locale locale,
boolean useDefault)
Returns the localized keywords of this layout 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 in the language. |
String |
getKeywords(String languageId,
boolean useDefault)
Returns the localized keywords of this layout 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. |
Date |
getLastPublishDate()
Returns the last publish date of this layout. |
long |
getLayoutId()
Returns the layout ID of this layout. |
boolean |
getLayoutPrototypeLinkEnabled()
Returns the layout prototype link enabled of this layout. |
String |
getLayoutPrototypeUuid()
Returns the layout prototype uuid of this layout. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this layout. |
long |
getMvccVersion()
Returns the mvcc version of this layout. |
String |
getName()
Returns the name of this layout. |
String |
getName(Locale locale)
Returns the localized name of this layout in the language. |
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this layout 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 in the language. |
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this layout 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. |
long |
getOriginalCompanyId()
|
String |
getOriginalFriendlyURL()
|
long |
getOriginalGroupId()
|
long |
getOriginalIconImageId()
|
long |
getOriginalLayoutId()
|
String |
getOriginalLayoutPrototypeUuid()
|
long |
getOriginalParentLayoutId()
|
boolean |
getOriginalPrivateLayout()
|
String |
getOriginalSourcePrototypeLayoutUuid()
|
String |
getOriginalType()
|
String |
getOriginalUuid()
|
long |
getParentLayoutId()
Returns the parent layout ID of this layout. |
long |
getPlid()
Returns the plid of this layout. |
long |
getPrimaryKey()
Returns the primary key of this layout. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getPriority()
Returns the priority of this layout. |
boolean |
getPrivateLayout()
Returns the private layout of this layout. |
String |
getRobots()
Returns the robots of this layout. |
String |
getRobots(Locale locale)
Returns the localized robots of this layout in the language. |
String |
getRobots(Locale locale,
boolean useDefault)
Returns the localized robots of this layout 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 in the language. |
String |
getRobots(String languageId,
boolean useDefault)
Returns the localized robots of this layout 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. |
String |
getSourcePrototypeLayoutUuid()
Returns the source prototype layout uuid of this layout. |
StagedModelType |
getStagedModelType()
|
String |
getThemeId()
Returns the theme ID of this layout. |
String |
getTitle()
Returns the title of this layout. |
String |
getTitle(Locale locale)
Returns the localized title of this layout in the language. |
String |
getTitle(Locale locale,
boolean useDefault)
Returns the localized title of this layout 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 in the language. |
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this layout 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. |
String |
getType()
Returns the type of this layout. |
String |
getTypeSettings()
Returns the type settings of this layout. |
long |
getUserId()
Returns the user ID of this layout. |
String |
getUserName()
Returns the user name of this layout. |
String |
getUserUuid()
Returns the user uuid of this layout. |
String |
getUuid()
Returns the uuid of this layout. |
String |
getWapColorSchemeId()
Returns the wap color scheme ID of this layout. |
String |
getWapThemeId()
Returns the wap theme ID of this layout. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isHidden()
Returns true if this layout is hidden. |
boolean |
isLayoutPrototypeLinkEnabled()
Returns true if this layout is layout prototype link enabled. |
boolean |
isPrivateLayout()
Returns true if this layout is private layout. |
void |
prepareLocalizedFieldsForImport()
|
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. |
void |
setCompanyId(long companyId)
Sets the company ID of this layout. |
void |
setCreateDate(Date createDate)
Sets the create date of this layout. |
void |
setCss(String css)
Sets the css of this layout. |
void |
setDescription(String description)
Sets the description of this layout. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this layout in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this layout 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 from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this layout 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 |
setFriendlyURL(String friendlyURL)
Sets the friendly u r l of this layout. |
void |
setGroupId(long groupId)
Sets the group ID of this layout. |
void |
setHidden(boolean hidden)
Sets whether this layout is hidden. |
void |
setIconImageId(long iconImageId)
Sets the icon image ID of this layout. |
void |
setKeywords(String keywords)
Sets the keywords of this layout. |
void |
setKeywords(String keywords,
Locale locale)
Sets the localized keywords of this layout in the language. |
void |
setKeywords(String keywords,
Locale locale,
Locale defaultLocale)
Sets the localized keywords of this layout 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 from the map of locales and localized keywordses. |
void |
setKeywordsMap(Map<Locale,String> keywordsMap,
Locale defaultLocale)
Sets the localized keywordses of this layout from the map of locales and localized keywordses, and sets the default locale. |
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this layout. |
void |
setLayoutId(long layoutId)
Sets the layout ID of this layout. |
void |
setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
Sets whether this layout is layout prototype link enabled. |
void |
setLayoutPrototypeUuid(String layoutPrototypeUuid)
Sets the layout prototype uuid of this layout. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this layout. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout. |
void |
setName(String name)
Sets the name of this layout. |
void |
setName(String name,
Locale locale)
Sets the localized name of this layout in the language. |
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this layout 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 from the map of locales and localized names. |
void |
setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
Sets the localized names of this layout from the map of locales and localized names, and sets the default locale. |
void |
setParentLayoutId(long parentLayoutId)
Sets the parent layout ID of this layout. |
void |
setPlid(long plid)
Sets the plid of this layout. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setPriority(int priority)
Sets the priority of this layout. |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout is private layout. |
void |
setRobots(String robots)
Sets the robots of this layout. |
void |
setRobots(String robots,
Locale locale)
Sets the localized robots of this layout in the language. |
void |
setRobots(String robots,
Locale locale,
Locale defaultLocale)
Sets the localized robots of this layout 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 from the map of locales and localized robotses. |
void |
setRobotsMap(Map<Locale,String> robotsMap,
Locale defaultLocale)
Sets the localized robotses of this layout from the map of locales and localized robotses, and sets the default locale. |
void |
setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Sets the source prototype layout uuid of this layout. |
void |
setThemeId(String themeId)
Sets the theme ID of this layout. |
void |
setTitle(String title)
Sets the title of this layout. |
void |
setTitle(String title,
Locale locale)
Sets the localized title of this layout in the language. |
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this layout 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 from the map of locales and localized titles. |
void |
setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale. |
void |
setType(String type)
Sets the type of this layout. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this layout. |
void |
setUserId(long userId)
Sets the user ID of this layout. |
void |
setUserName(String userName)
Sets the user name of this layout. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this layout. |
void |
setUuid(String uuid)
Sets the uuid of this layout. |
void |
setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme ID of this layout. |
void |
setWapThemeId(String wapThemeId)
Sets the wap theme ID of this layout. |
CacheModel<Layout> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Layout |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Layout |
toModel(LayoutSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Layout> |
toModels(LayoutSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.LayoutModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
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 final long COMPANYID_COLUMN_BITMASK
public static final long FRIENDLYURL_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long ICONIMAGEID_COLUMN_BITMASK
public static final long LAYOUTID_COLUMN_BITMASK
public static final long LAYOUTPROTOTYPEUUID_COLUMN_BITMASK
public static final long PARENTLAYOUTID_COLUMN_BITMASK
public static final long PRIVATELAYOUT_COLUMN_BITMASK
public static final long SOURCEPROTOTYPELAYOUTUUID_COLUMN_BITMASK
public static final long TYPE_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long PRIORITY_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public LayoutModelImpl()
| Method Detail |
|---|
public static Layout toModel(LayoutSoap soapModel)
soapModel - the soap model instance to convert
public static List<Layout> toModels(LayoutSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
LayoutModel
getPrimaryKey in interface LayoutModelpublic void setPrimaryKey(long primaryKey)
LayoutModel
setPrimaryKey in interface LayoutModelprimaryKey - the primary key of this layoutpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Layout>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LayoutModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Layout>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LayoutModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Layout>getModelAttributes in class BaseModelImpl<Layout>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Layout>setModelAttributes in class BaseModelImpl<Layout>@JSON public long getMvccVersion()
LayoutModel
getMvccVersion in interface LayoutModelgetMvccVersion in interface MVCCModelpublic void setMvccVersion(long mvccVersion)
LayoutModel
setMvccVersion in interface LayoutModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this layout@JSON public String getUuid()
LayoutModel
getUuid in interface LayoutModelgetUuid in interface StagedModelpublic void setUuid(String uuid)
LayoutModel
setUuid in interface LayoutModelsetUuid in interface StagedModeluuid - the uuid of this layoutpublic String getOriginalUuid()
@JSON public long getPlid()
LayoutModel
getPlid in interface LayoutModelpublic void setPlid(long plid)
LayoutModel
setPlid in interface LayoutModelplid - the plid of this layout@JSON public long getGroupId()
LayoutModel
getGroupId in interface GroupedModelgetGroupId in interface LayoutModelpublic void setGroupId(long groupId)
LayoutModel
setGroupId in interface GroupedModelsetGroupId in interface LayoutModelgroupId - the group ID of this layoutpublic long getOriginalGroupId()
@JSON public long getCompanyId()
LayoutModel
getCompanyId in interface AuditedModelgetCompanyId in interface LayoutModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic void setCompanyId(long companyId)
LayoutModel
setCompanyId in interface AuditedModelsetCompanyId in interface LayoutModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this layoutpublic long getOriginalCompanyId()
@JSON public long getUserId()
LayoutModel
getUserId in interface AuditedModelgetUserId in interface LayoutModelpublic void setUserId(long userId)
LayoutModel
setUserId in interface AuditedModelsetUserId in interface LayoutModeluserId - the user ID of this layoutpublic String getUserUuid()
LayoutModel
getUserUuid in interface AuditedModelgetUserUuid in interface LayoutModelpublic void setUserUuid(String userUuid)
LayoutModel
setUserUuid in interface AuditedModelsetUserUuid in interface LayoutModeluserUuid - the user uuid of this layout@JSON public String getUserName()
LayoutModel
getUserName in interface AuditedModelgetUserName in interface LayoutModelpublic void setUserName(String userName)
LayoutModel
setUserName in interface AuditedModelsetUserName in interface LayoutModeluserName - the user name of this layout@JSON public Date getCreateDate()
LayoutModel
getCreateDate in interface AuditedModelgetCreateDate in interface LayoutModelgetCreateDate in interface StagedModelpublic void setCreateDate(Date createDate)
LayoutModel
setCreateDate in interface AuditedModelsetCreateDate in interface LayoutModelsetCreateDate in interface StagedModelcreateDate - the create date of this layout@JSON public Date getModifiedDate()
LayoutModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface LayoutModelgetModifiedDate in interface StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
LayoutModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface LayoutModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this layout@JSON public boolean getPrivateLayout()
LayoutModel
getPrivateLayout in interface LayoutModelpublic boolean isPrivateLayout()
LayoutModeltrue if this layout is private layout.
isPrivateLayout in interface LayoutModeltrue if this layout is private layout; false otherwisepublic void setPrivateLayout(boolean privateLayout)
LayoutModel
setPrivateLayout in interface LayoutModelprivateLayout - the private layout of this layoutpublic boolean getOriginalPrivateLayout()
@JSON public long getLayoutId()
LayoutModel
getLayoutId in interface LayoutModelpublic void setLayoutId(long layoutId)
LayoutModel
setLayoutId in interface LayoutModellayoutId - the layout ID of this layoutpublic long getOriginalLayoutId()
@JSON public long getParentLayoutId()
LayoutModel
getParentLayoutId in interface LayoutModelpublic void setParentLayoutId(long parentLayoutId)
LayoutModel
setParentLayoutId in interface LayoutModelparentLayoutId - the parent layout ID of this layoutpublic long getOriginalParentLayoutId()
@JSON public String getName()
LayoutModel
getName in interface LayoutModelpublic String getName(Locale locale)
LayoutModel
getName in interface LayoutModellocale - the locale of the language
public String getName(Locale locale,
boolean useDefault)
LayoutModel
getName in interface LayoutModellocale - 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)
LayoutModel
getName in interface LayoutModellanguageId - the ID of the language
public String getName(String languageId,
boolean useDefault)
LayoutModel
getName in interface LayoutModellanguageId - 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 LayoutModel@JSON public String getNameCurrentValue()
getNameCurrentValue in interface LayoutModelpublic Map<Locale,String> getNameMap()
LayoutModel
getNameMap in interface LayoutModelpublic void setName(String name)
LayoutModel
setName in interface LayoutModelname - the name of this layout
public void setName(String name,
Locale locale)
LayoutModel
setName in interface LayoutModelname - the localized name of this layoutlocale - the locale of the language
public void setName(String name,
Locale locale,
Locale defaultLocale)
LayoutModel
setName in interface LayoutModelname - the localized name of this layoutlocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface LayoutModelpublic void setNameMap(Map<Locale,String> nameMap)
LayoutModel
setNameMap in interface LayoutModelnameMap - the locales and localized names of this layout
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
LayoutModel
setNameMap in interface LayoutModelnameMap - the locales and localized names of this layoutdefaultLocale - the default locale@JSON public String getTitle()
LayoutModel
getTitle in interface LayoutModelpublic String getTitle(Locale locale)
LayoutModel
getTitle in interface LayoutModellocale - the locale of the language
public String getTitle(Locale locale,
boolean useDefault)
LayoutModel
getTitle in interface LayoutModellocale - 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)
LayoutModel
getTitle in interface LayoutModellanguageId - the ID of the language
public String getTitle(String languageId,
boolean useDefault)
LayoutModel
getTitle in interface LayoutModellanguageId - 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 LayoutModel@JSON public String getTitleCurrentValue()
getTitleCurrentValue in interface LayoutModelpublic Map<Locale,String> getTitleMap()
LayoutModel
getTitleMap in interface LayoutModelpublic void setTitle(String title)
LayoutModel
setTitle in interface LayoutModeltitle - the title of this layout
public void setTitle(String title,
Locale locale)
LayoutModel
setTitle in interface LayoutModeltitle - the localized title of this layoutlocale - the locale of the language
public void setTitle(String title,
Locale locale,
Locale defaultLocale)
LayoutModel
setTitle in interface LayoutModeltitle - the localized title of this layoutlocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId in interface LayoutModelpublic void setTitleMap(Map<Locale,String> titleMap)
LayoutModel
setTitleMap in interface LayoutModeltitleMap - the locales and localized titles of this layout
public void setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
LayoutModel
setTitleMap in interface LayoutModeltitleMap - the locales and localized titles of this layoutdefaultLocale - the default locale@JSON public String getDescription()
LayoutModel
getDescription in interface LayoutModelpublic String getDescription(Locale locale)
LayoutModel
getDescription in interface LayoutModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
LayoutModel
getDescription in interface LayoutModellocale - 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)
LayoutModel
getDescription in interface LayoutModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
LayoutModel
getDescription in interface LayoutModellanguageId - 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 LayoutModel@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface LayoutModelpublic Map<Locale,String> getDescriptionMap()
LayoutModel
getDescriptionMap in interface LayoutModelpublic void setDescription(String description)
LayoutModel
setDescription in interface LayoutModeldescription - the description of this layout
public void setDescription(String description,
Locale locale)
LayoutModel
setDescription in interface LayoutModeldescription - the localized description of this layoutlocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
LayoutModel
setDescription in interface LayoutModeldescription - the localized description of this layoutlocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface LayoutModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
LayoutModel
setDescriptionMap in interface LayoutModeldescriptionMap - the locales and localized descriptions of this layout
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
LayoutModel
setDescriptionMap in interface LayoutModeldescriptionMap - the locales and localized descriptions of this layoutdefaultLocale - the default locale@JSON public String getKeywords()
LayoutModel
getKeywords in interface LayoutModelpublic String getKeywords(Locale locale)
LayoutModel
getKeywords in interface LayoutModellocale - the locale of the language
public String getKeywords(Locale locale,
boolean useDefault)
LayoutModel
getKeywords in interface LayoutModellocale - 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)
LayoutModel
getKeywords in interface LayoutModellanguageId - the ID of the language
public String getKeywords(String languageId,
boolean useDefault)
LayoutModel
getKeywords in interface LayoutModellanguageId - 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 LayoutModel@JSON public String getKeywordsCurrentValue()
getKeywordsCurrentValue in interface LayoutModelpublic Map<Locale,String> getKeywordsMap()
LayoutModel
getKeywordsMap in interface LayoutModelpublic void setKeywords(String keywords)
LayoutModel
setKeywords in interface LayoutModelkeywords - the keywords of this layout
public void setKeywords(String keywords,
Locale locale)
LayoutModel
setKeywords in interface LayoutModelkeywords - the localized keywords of this layoutlocale - the locale of the language
public void setKeywords(String keywords,
Locale locale,
Locale defaultLocale)
LayoutModel
setKeywords in interface LayoutModelkeywords - the localized keywords of this layoutlocale - the locale of the languagedefaultLocale - the default localepublic void setKeywordsCurrentLanguageId(String languageId)
setKeywordsCurrentLanguageId in interface LayoutModelpublic void setKeywordsMap(Map<Locale,String> keywordsMap)
LayoutModel
setKeywordsMap in interface LayoutModelkeywordsMap - the locales and localized keywordses of this layout
public void setKeywordsMap(Map<Locale,String> keywordsMap,
Locale defaultLocale)
LayoutModel
setKeywordsMap in interface LayoutModelkeywordsMap - the locales and localized keywordses of this layoutdefaultLocale - the default locale@JSON public String getRobots()
LayoutModel
getRobots in interface LayoutModelpublic String getRobots(Locale locale)
LayoutModel
getRobots in interface LayoutModellocale - the locale of the language
public String getRobots(Locale locale,
boolean useDefault)
LayoutModel
getRobots in interface LayoutModellocale - 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)
LayoutModel
getRobots in interface LayoutModellanguageId - the ID of the language
public String getRobots(String languageId,
boolean useDefault)
LayoutModel
getRobots in interface LayoutModellanguageId - 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 LayoutModel@JSON public String getRobotsCurrentValue()
getRobotsCurrentValue in interface LayoutModelpublic Map<Locale,String> getRobotsMap()
LayoutModel
getRobotsMap in interface LayoutModelpublic void setRobots(String robots)
LayoutModel
setRobots in interface LayoutModelrobots - the robots of this layout
public void setRobots(String robots,
Locale locale)
LayoutModel
setRobots in interface LayoutModelrobots - the localized robots of this layoutlocale - the locale of the language
public void setRobots(String robots,
Locale locale,
Locale defaultLocale)
LayoutModel
setRobots in interface LayoutModelrobots - the localized robots of this layoutlocale - the locale of the languagedefaultLocale - the default localepublic void setRobotsCurrentLanguageId(String languageId)
setRobotsCurrentLanguageId in interface LayoutModelpublic void setRobotsMap(Map<Locale,String> robotsMap)
LayoutModel
setRobotsMap in interface LayoutModelrobotsMap - the locales and localized robotses of this layout
public void setRobotsMap(Map<Locale,String> robotsMap,
Locale defaultLocale)
LayoutModel
setRobotsMap in interface LayoutModelrobotsMap - the locales and localized robotses of this layoutdefaultLocale - the default locale@JSON public String getType()
LayoutModel
getType in interface LayoutModelpublic void setType(String type)
LayoutModel
setType in interface LayoutModeltype - the type of this layoutpublic String getOriginalType()
@JSON public String getTypeSettings()
LayoutModel
getTypeSettings in interface LayoutModelpublic void setTypeSettings(String typeSettings)
LayoutModel
setTypeSettings in interface LayoutModeltypeSettings - the type settings of this layout@JSON public boolean getHidden()
LayoutModel
getHidden in interface LayoutModelpublic boolean isHidden()
LayoutModeltrue if this layout is hidden.
isHidden in interface LayoutModeltrue if this layout is hidden; false otherwisepublic void setHidden(boolean hidden)
LayoutModel
setHidden in interface LayoutModelhidden - the hidden of this layout@JSON public String getFriendlyURL()
LayoutModel
getFriendlyURL in interface LayoutModelpublic void setFriendlyURL(String friendlyURL)
LayoutModel
setFriendlyURL in interface LayoutModelfriendlyURL - the friendly u r l of this layoutpublic String getOriginalFriendlyURL()
@JSON public long getIconImageId()
LayoutModel
getIconImageId in interface LayoutModelpublic void setIconImageId(long iconImageId)
LayoutModel
setIconImageId in interface LayoutModeliconImageId - the icon image ID of this layoutpublic long getOriginalIconImageId()
@JSON public String getThemeId()
LayoutModel
getThemeId in interface LayoutModelpublic void setThemeId(String themeId)
LayoutModel
setThemeId in interface LayoutModelthemeId - the theme ID of this layout@JSON public String getColorSchemeId()
LayoutModel
getColorSchemeId in interface LayoutModelpublic void setColorSchemeId(String colorSchemeId)
LayoutModel
setColorSchemeId in interface LayoutModelcolorSchemeId - the color scheme ID of this layout@JSON public String getWapThemeId()
LayoutModel
getWapThemeId in interface LayoutModelpublic void setWapThemeId(String wapThemeId)
LayoutModel
setWapThemeId in interface LayoutModelwapThemeId - the wap theme ID of this layout@JSON public String getWapColorSchemeId()
LayoutModel
getWapColorSchemeId in interface LayoutModelpublic void setWapColorSchemeId(String wapColorSchemeId)
LayoutModel
setWapColorSchemeId in interface LayoutModelwapColorSchemeId - the wap color scheme ID of this layout@JSON public String getCss()
LayoutModel
getCss in interface LayoutModelpublic void setCss(String css)
LayoutModel
setCss in interface LayoutModelcss - the css of this layout@JSON public int getPriority()
LayoutModel
getPriority in interface LayoutModelpublic void setPriority(int priority)
LayoutModel
setPriority in interface LayoutModelpriority - the priority of this layout@JSON public String getLayoutPrototypeUuid()
LayoutModel
getLayoutPrototypeUuid in interface LayoutModelpublic void setLayoutPrototypeUuid(String layoutPrototypeUuid)
LayoutModel
setLayoutPrototypeUuid in interface LayoutModellayoutPrototypeUuid - the layout prototype uuid of this layoutpublic String getOriginalLayoutPrototypeUuid()
@JSON public boolean getLayoutPrototypeLinkEnabled()
LayoutModel
getLayoutPrototypeLinkEnabled in interface LayoutModelpublic boolean isLayoutPrototypeLinkEnabled()
LayoutModeltrue if this layout is layout prototype link enabled.
isLayoutPrototypeLinkEnabled in interface LayoutModeltrue if this layout is layout prototype link enabled; false otherwisepublic void setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
LayoutModel
setLayoutPrototypeLinkEnabled in interface LayoutModellayoutPrototypeLinkEnabled - the layout prototype link enabled of this layout@JSON public String getSourcePrototypeLayoutUuid()
LayoutModel
getSourcePrototypeLayoutUuid in interface LayoutModelpublic void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
LayoutModel
setSourcePrototypeLayoutUuid in interface LayoutModelsourcePrototypeLayoutUuid - the source prototype layout uuid of this layoutpublic String getOriginalSourcePrototypeLayoutUuid()
@JSON public Date getLastPublishDate()
LayoutModel
getLastPublishDate in interface LayoutModelgetLastPublishDate in interface StagedGroupedModelpublic void setLastPublishDate(Date lastPublishDate)
LayoutModel
setLastPublishDate in interface LayoutModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this layoutpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Layout>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LayoutModelgetExpandoBridge in class BaseModelImpl<Layout>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Layout>setExpandoBridgeAttributes in interface LayoutModelsetExpandoBridgeAttributes in class BaseModelImpl<Layout>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LayoutModelgetAvailableLanguageIds in interface LocalizedModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface LayoutModelgetDefaultLanguageId in interface LocalizedModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LayoutModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LayoutModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionpublic Layout toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Layout>toEscapedModel in interface LayoutModeltoEscapedModel in class BaseModelImpl<Layout>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<Layout>clone in interface LayoutModelclone in interface StagedModelclone in class BaseModelImpl<Layout>public int compareTo(Layout layout)
compareTo in interface LayoutModelcompareTo in interface Comparable<Layout>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface LayoutModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Layout>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<Layout>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Layout>resetOriginalValues in class BaseModelImpl<Layout>public CacheModel<Layout> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Layout>toCacheModel in interface LayoutModeltoCacheModel in class BaseModelImpl<Layout>public String toString()
toString in interface LayoutModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Layout>toXmlString in interface LayoutModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||