Liferay 7.0-ga1 portal-impl

com.liferay.portal.model.impl
Class LayoutModelImpl

java.lang.Object
  extended by com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>
      extended by com.liferay.portal.model.impl.LayoutModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LayoutModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.Layout>
Direct Known Subclasses:
LayoutBaseImpl

@JSON(strict=true)
@ProviderType
public class LayoutModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>
implements com.liferay.portal.kernel.model.LayoutModel

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.

See Also:
LayoutImpl, Layout, LayoutModel, Serialized Form
{$generated.description}

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()
           
 int compareTo(com.liferay.portal.kernel.model.Layout layout)
           
 boolean equals(Object obj)
           
 String[] getAvailableLanguageIds()
           
 String getColorSchemeId()
           
 long getColumnBitmask()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getCss()
           
 String getDefaultLanguageId()
           
 String getDescription()
           
 String getDescription(Locale locale)
           
 String getDescription(Locale locale, boolean useDefault)
           
 String getDescription(String languageId)
           
 String getDescription(String languageId, boolean useDefault)
           
 String getDescriptionCurrentLanguageId()
           
 String getDescriptionCurrentValue()
           
 Map<Locale,String> getDescriptionMap()
           
 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
           
 String getFriendlyURL()
           
 long getGroupId()
           
 boolean getHidden()
           
 long getIconImageId()
           
 String getKeywords()
           
 String getKeywords(Locale locale)
           
 String getKeywords(Locale locale, boolean useDefault)
           
 String getKeywords(String languageId)
           
 String getKeywords(String languageId, boolean useDefault)
           
 String getKeywordsCurrentLanguageId()
           
 String getKeywordsCurrentValue()
           
 Map<Locale,String> getKeywordsMap()
           
 Date getLastPublishDate()
           
 long getLayoutId()
           
 boolean getLayoutPrototypeLinkEnabled()
           
 String getLayoutPrototypeUuid()
           
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
           
 long getMvccVersion()
           
 String getName()
           
 String getName(Locale locale)
           
 String getName(Locale locale, boolean useDefault)
           
 String getName(String languageId)
           
 String getName(String languageId, boolean useDefault)
           
 String getNameCurrentLanguageId()
           
 String getNameCurrentValue()
           
 Map<Locale,String> getNameMap()
           
 long getOriginalCompanyId()
           
 String getOriginalFriendlyURL()
           
 long getOriginalGroupId()
           
 long getOriginalIconImageId()
           
 long getOriginalLayoutId()
           
 String getOriginalLayoutPrototypeUuid()
           
 long getOriginalParentLayoutId()
           
 boolean getOriginalPrivateLayout()
           
 String getOriginalSourcePrototypeLayoutUuid()
           
 String getOriginalType()
           
 String getOriginalUuid()
           
 long getParentLayoutId()
           
 long getPlid()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
           
 int getPriority()
           
 boolean getPrivateLayout()
           
 String getRobots()
           
 String getRobots(Locale locale)
           
 String getRobots(Locale locale, boolean useDefault)
           
 String getRobots(String languageId)
           
 String getRobots(String languageId, boolean useDefault)
           
 String getRobotsCurrentLanguageId()
           
 String getRobotsCurrentValue()
           
 Map<Locale,String> getRobotsMap()
           
 String getSourcePrototypeLayoutUuid()
           
 com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
           
 String getThemeId()
           
 String getTitle()
           
 String getTitle(Locale locale)
           
 String getTitle(Locale locale, boolean useDefault)
           
 String getTitle(String languageId)
           
 String getTitle(String languageId, boolean useDefault)
           
 String getTitleCurrentLanguageId()
           
 String getTitleCurrentValue()
           
 Map<Locale,String> getTitleMap()
           
 String getType()
           
 String getTypeSettings()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 int hashCode()
           
 boolean hasSetModifiedDate()
           
 boolean isEntityCacheEnabled()
           
 boolean isFinderCacheEnabled()
           
 boolean isHidden()
           
 boolean isLayoutPrototypeLinkEnabled()
           
 boolean isPrivateLayout()
           
 void prepareLocalizedFieldsForImport()
           
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void resetOriginalValues()
           
 void setColorSchemeId(String colorSchemeId)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setCss(String css)
           
 void setDescription(String description)
           
 void setDescription(String description, Locale locale)
           
 void setDescription(String description, Locale locale, Locale defaultLocale)
           
 void setDescriptionCurrentLanguageId(String languageId)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
           
 void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 void setFriendlyURL(String friendlyURL)
           
 void setGroupId(long groupId)
           
 void setHidden(boolean hidden)
           
 void setIconImageId(long iconImageId)
           
 void setKeywords(String keywords)
           
 void setKeywords(String keywords, Locale locale)
           
 void setKeywords(String keywords, Locale locale, Locale defaultLocale)
           
 void setKeywordsCurrentLanguageId(String languageId)
           
 void setKeywordsMap(Map<Locale,String> keywordsMap)
           
 void setKeywordsMap(Map<Locale,String> keywordsMap, Locale defaultLocale)
           
 void setLastPublishDate(Date lastPublishDate)
           
 void setLayoutId(long layoutId)
           
 void setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
           
 void setLayoutPrototypeUuid(String layoutPrototypeUuid)
           
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
           
 void setMvccVersion(long mvccVersion)
           
 void setName(String name)
           
 void setName(String name, Locale locale)
           
 void setName(String name, Locale locale, Locale defaultLocale)
           
 void setNameCurrentLanguageId(String languageId)
           
 void setNameMap(Map<Locale,String> nameMap)
           
 void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
           
 void setParentLayoutId(long parentLayoutId)
           
 void setPlid(long plid)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(Serializable primaryKeyObj)
           
 void setPriority(int priority)
           
 void setPrivateLayout(boolean privateLayout)
           
 void setRobots(String robots)
           
 void setRobots(String robots, Locale locale)
           
 void setRobots(String robots, Locale locale, Locale defaultLocale)
           
 void setRobotsCurrentLanguageId(String languageId)
           
 void setRobotsMap(Map<Locale,String> robotsMap)
           
 void setRobotsMap(Map<Locale,String> robotsMap, Locale defaultLocale)
           
 void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
           
 void setThemeId(String themeId)
           
 void setTitle(String title)
           
 void setTitle(String title, Locale locale)
           
 void setTitle(String title, Locale locale, Locale defaultLocale)
           
 void setTitleCurrentLanguageId(String languageId)
           
 void setTitleMap(Map<Locale,String> titleMap)
           
 void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
           
 void setType(String type)
           
 void setTypeSettings(String typeSettings)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Layout> toCacheModel()
           
 com.liferay.portal.kernel.model.Layout toEscapedModel()
           
static com.liferay.portal.kernel.model.Layout toModel(com.liferay.portal.kernel.model.LayoutSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<com.liferay.portal.kernel.model.Layout> toModels(com.liferay.portal.kernel.model.LayoutSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
           
 
Methods inherited from class com.liferay.portal.kernel.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.kernel.model.LayoutModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_COLUMNS_MAP

public static final Map<String,Integer> TABLE_COLUMNS_MAP

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

COMPANYID_COLUMN_BITMASK

public static final long COMPANYID_COLUMN_BITMASK
See Also:
Constant Field Values

FRIENDLYURL_COLUMN_BITMASK

public static final long FRIENDLYURL_COLUMN_BITMASK
See Also:
Constant Field Values

GROUPID_COLUMN_BITMASK

public static final long GROUPID_COLUMN_BITMASK
See Also:
Constant Field Values

ICONIMAGEID_COLUMN_BITMASK

public static final long ICONIMAGEID_COLUMN_BITMASK
See Also:
Constant Field Values

LAYOUTID_COLUMN_BITMASK

public static final long LAYOUTID_COLUMN_BITMASK
See Also:
Constant Field Values

LAYOUTPROTOTYPEUUID_COLUMN_BITMASK

public static final long LAYOUTPROTOTYPEUUID_COLUMN_BITMASK
See Also:
Constant Field Values

PARENTLAYOUTID_COLUMN_BITMASK

public static final long PARENTLAYOUTID_COLUMN_BITMASK
See Also:
Constant Field Values

PRIVATELAYOUT_COLUMN_BITMASK

public static final long PRIVATELAYOUT_COLUMN_BITMASK
See Also:
Constant Field Values

SOURCEPROTOTYPELAYOUTUUID_COLUMN_BITMASK

public static final long SOURCEPROTOTYPELAYOUTUUID_COLUMN_BITMASK
See Also:
Constant Field Values

TYPE_COLUMN_BITMASK

public static final long TYPE_COLUMN_BITMASK
See Also:
Constant Field Values

UUID_COLUMN_BITMASK

public static final long UUID_COLUMN_BITMASK
See Also:
Constant Field Values

PRIORITY_COLUMN_BITMASK

public static final long PRIORITY_COLUMN_BITMASK
See Also:
Constant Field Values

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

LayoutModelImpl

public LayoutModelImpl()
Method Detail

toModel

public static com.liferay.portal.kernel.model.Layout toModel(com.liferay.portal.kernel.model.LayoutSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<com.liferay.portal.kernel.model.Layout> toModels(com.liferay.portal.kernel.model.LayoutSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface com.liferay.portal.kernel.model.LayoutModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.portal.kernel.model.LayoutModel

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.LayoutModel

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.LayoutModel

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>

getMvccVersion

@JSON
public long getMvccVersion()
Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel

setMvccVersion

public void setMvccVersion(long mvccVersion)
Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel

getUuid

@JSON
public String getUuid()
Specified by:
getUuid in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
getUuid in interface com.liferay.portal.kernel.model.StagedModel

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
setUuid in interface com.liferay.portal.kernel.model.StagedModel

getOriginalUuid

public String getOriginalUuid()

getPlid

@JSON
public long getPlid()
Specified by:
getPlid in interface com.liferay.portal.kernel.model.LayoutModel

setPlid

public void setPlid(long plid)
Specified by:
setPlid in interface com.liferay.portal.kernel.model.LayoutModel

getGroupId

@JSON
public long getGroupId()
Specified by:
getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
Specified by:
getGroupId in interface com.liferay.portal.kernel.model.LayoutModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
Specified by:
setGroupId in interface com.liferay.portal.kernel.model.LayoutModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.StagedModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.StagedModel

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Specified by:
getUserId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getUserId in interface com.liferay.portal.kernel.model.LayoutModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setUserId in interface com.liferay.portal.kernel.model.LayoutModel

getUserUuid

public String getUserUuid()
Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.LayoutModel

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.LayoutModel

getUserName

@JSON
public String getUserName()
Specified by:
getUserName in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getUserName in interface com.liferay.portal.kernel.model.LayoutModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setUserName in interface com.liferay.portal.kernel.model.LayoutModel

getCreateDate

@JSON
public Date getCreateDate()
Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.StagedModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.StagedModel

getModifiedDate

@JSON
public Date getModifiedDate()
Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel

hasSetModifiedDate

public boolean hasSetModifiedDate()

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel

getPrivateLayout

@JSON
public boolean getPrivateLayout()
Specified by:
getPrivateLayout in interface com.liferay.portal.kernel.model.LayoutModel

isPrivateLayout

public boolean isPrivateLayout()
Specified by:
isPrivateLayout in interface com.liferay.portal.kernel.model.LayoutModel

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Specified by:
setPrivateLayout in interface com.liferay.portal.kernel.model.LayoutModel

getOriginalPrivateLayout

public boolean getOriginalPrivateLayout()

getLayoutId

@JSON
public long getLayoutId()
Specified by:
getLayoutId in interface com.liferay.portal.kernel.model.LayoutModel

setLayoutId

public void setLayoutId(long layoutId)
Specified by:
setLayoutId in interface com.liferay.portal.kernel.model.LayoutModel

getOriginalLayoutId

public long getOriginalLayoutId()

getParentLayoutId

@JSON
public long getParentLayoutId()
Specified by:
getParentLayoutId in interface com.liferay.portal.kernel.model.LayoutModel

setParentLayoutId

public void setParentLayoutId(long parentLayoutId)
Specified by:
setParentLayoutId in interface com.liferay.portal.kernel.model.LayoutModel

getOriginalParentLayoutId

public long getOriginalParentLayoutId()

getName

@JSON
public String getName()
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutModel

getName

public String getName(Locale locale)
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutModel

getName

public String getName(Locale locale,
                      boolean useDefault)
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutModel

getName

public String getName(String languageId)
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutModel

getName

public String getName(String languageId,
                      boolean useDefault)
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutModel

getNameCurrentLanguageId

public String getNameCurrentLanguageId()
Specified by:
getNameCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

getNameCurrentValue

@JSON
public String getNameCurrentValue()
Specified by:
getNameCurrentValue in interface com.liferay.portal.kernel.model.LayoutModel

getNameMap

public Map<Locale,String> getNameMap()
Specified by:
getNameMap in interface com.liferay.portal.kernel.model.LayoutModel

setName

public void setName(String name)
Specified by:
setName in interface com.liferay.portal.kernel.model.LayoutModel

setName

public void setName(String name,
                    Locale locale)
Specified by:
setName in interface com.liferay.portal.kernel.model.LayoutModel

setName

public void setName(String name,
                    Locale locale,
                    Locale defaultLocale)
Specified by:
setName in interface com.liferay.portal.kernel.model.LayoutModel

setNameCurrentLanguageId

public void setNameCurrentLanguageId(String languageId)
Specified by:
setNameCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

setNameMap

public void setNameMap(Map<Locale,String> nameMap)
Specified by:
setNameMap in interface com.liferay.portal.kernel.model.LayoutModel

setNameMap

public void setNameMap(Map<Locale,String> nameMap,
                       Locale defaultLocale)
Specified by:
setNameMap in interface com.liferay.portal.kernel.model.LayoutModel

getTitle

@JSON
public String getTitle()
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutModel

getTitle

public String getTitle(Locale locale)
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutModel

getTitle

public String getTitle(Locale locale,
                       boolean useDefault)
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutModel

getTitle

public String getTitle(String languageId)
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutModel

getTitle

public String getTitle(String languageId,
                       boolean useDefault)
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutModel

getTitleCurrentLanguageId

public String getTitleCurrentLanguageId()
Specified by:
getTitleCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

getTitleCurrentValue

@JSON
public String getTitleCurrentValue()
Specified by:
getTitleCurrentValue in interface com.liferay.portal.kernel.model.LayoutModel

getTitleMap

public Map<Locale,String> getTitleMap()
Specified by:
getTitleMap in interface com.liferay.portal.kernel.model.LayoutModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface com.liferay.portal.kernel.model.LayoutModel

setTitle

public void setTitle(String title,
                     Locale locale)
Specified by:
setTitle in interface com.liferay.portal.kernel.model.LayoutModel

setTitle

public void setTitle(String title,
                     Locale locale,
                     Locale defaultLocale)
Specified by:
setTitle in interface com.liferay.portal.kernel.model.LayoutModel

setTitleCurrentLanguageId

public void setTitleCurrentLanguageId(String languageId)
Specified by:
setTitleCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

setTitleMap

public void setTitleMap(Map<Locale,String> titleMap)
Specified by:
setTitleMap in interface com.liferay.portal.kernel.model.LayoutModel

setTitleMap

public void setTitleMap(Map<Locale,String> titleMap,
                        Locale defaultLocale)
Specified by:
setTitleMap in interface com.liferay.portal.kernel.model.LayoutModel

getDescription

@JSON
public String getDescription()
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutModel

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutModel

getDescription

public String getDescription(Locale locale,
                             boolean useDefault)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutModel

getDescription

public String getDescription(String languageId)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutModel

getDescription

public String getDescription(String languageId,
                             boolean useDefault)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutModel

getDescriptionCurrentLanguageId

public String getDescriptionCurrentLanguageId()
Specified by:
getDescriptionCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

getDescriptionCurrentValue

@JSON
public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface com.liferay.portal.kernel.model.LayoutModel

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Specified by:
getDescriptionMap in interface com.liferay.portal.kernel.model.LayoutModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface com.liferay.portal.kernel.model.LayoutModel

setDescription

public void setDescription(String description,
                           Locale locale)
Specified by:
setDescription in interface com.liferay.portal.kernel.model.LayoutModel

setDescription

public void setDescription(String description,
                           Locale locale,
                           Locale defaultLocale)
Specified by:
setDescription in interface com.liferay.portal.kernel.model.LayoutModel

setDescriptionCurrentLanguageId

public void setDescriptionCurrentLanguageId(String languageId)
Specified by:
setDescriptionCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap)
Specified by:
setDescriptionMap in interface com.liferay.portal.kernel.model.LayoutModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap,
                              Locale defaultLocale)
Specified by:
setDescriptionMap in interface com.liferay.portal.kernel.model.LayoutModel

getKeywords

@JSON
public String getKeywords()
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutModel

getKeywords

public String getKeywords(Locale locale)
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutModel

getKeywords

public String getKeywords(Locale locale,
                          boolean useDefault)
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutModel

getKeywords

public String getKeywords(String languageId)
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutModel

getKeywords

public String getKeywords(String languageId,
                          boolean useDefault)
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutModel

getKeywordsCurrentLanguageId

public String getKeywordsCurrentLanguageId()
Specified by:
getKeywordsCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

getKeywordsCurrentValue

@JSON
public String getKeywordsCurrentValue()
Specified by:
getKeywordsCurrentValue in interface com.liferay.portal.kernel.model.LayoutModel

getKeywordsMap

public Map<Locale,String> getKeywordsMap()
Specified by:
getKeywordsMap in interface com.liferay.portal.kernel.model.LayoutModel

setKeywords

public void setKeywords(String keywords)
Specified by:
setKeywords in interface com.liferay.portal.kernel.model.LayoutModel

setKeywords

public void setKeywords(String keywords,
                        Locale locale)
Specified by:
setKeywords in interface com.liferay.portal.kernel.model.LayoutModel

setKeywords

public void setKeywords(String keywords,
                        Locale locale,
                        Locale defaultLocale)
Specified by:
setKeywords in interface com.liferay.portal.kernel.model.LayoutModel

setKeywordsCurrentLanguageId

public void setKeywordsCurrentLanguageId(String languageId)
Specified by:
setKeywordsCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

setKeywordsMap

public void setKeywordsMap(Map<Locale,String> keywordsMap)
Specified by:
setKeywordsMap in interface com.liferay.portal.kernel.model.LayoutModel

setKeywordsMap

public void setKeywordsMap(Map<Locale,String> keywordsMap,
                           Locale defaultLocale)
Specified by:
setKeywordsMap in interface com.liferay.portal.kernel.model.LayoutModel

getRobots

@JSON
public String getRobots()
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutModel

getRobots

public String getRobots(Locale locale)
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutModel

getRobots

public String getRobots(Locale locale,
                        boolean useDefault)
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutModel

getRobots

public String getRobots(String languageId)
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutModel

getRobots

public String getRobots(String languageId,
                        boolean useDefault)
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutModel

getRobotsCurrentLanguageId

public String getRobotsCurrentLanguageId()
Specified by:
getRobotsCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

getRobotsCurrentValue

@JSON
public String getRobotsCurrentValue()
Specified by:
getRobotsCurrentValue in interface com.liferay.portal.kernel.model.LayoutModel

getRobotsMap

public Map<Locale,String> getRobotsMap()
Specified by:
getRobotsMap in interface com.liferay.portal.kernel.model.LayoutModel

setRobots

public void setRobots(String robots)
Specified by:
setRobots in interface com.liferay.portal.kernel.model.LayoutModel

setRobots

public void setRobots(String robots,
                      Locale locale)
Specified by:
setRobots in interface com.liferay.portal.kernel.model.LayoutModel

setRobots

public void setRobots(String robots,
                      Locale locale,
                      Locale defaultLocale)
Specified by:
setRobots in interface com.liferay.portal.kernel.model.LayoutModel

setRobotsCurrentLanguageId

public void setRobotsCurrentLanguageId(String languageId)
Specified by:
setRobotsCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutModel

setRobotsMap

public void setRobotsMap(Map<Locale,String> robotsMap)
Specified by:
setRobotsMap in interface com.liferay.portal.kernel.model.LayoutModel

setRobotsMap

public void setRobotsMap(Map<Locale,String> robotsMap,
                         Locale defaultLocale)
Specified by:
setRobotsMap in interface com.liferay.portal.kernel.model.LayoutModel

getType

@JSON
public String getType()
Specified by:
getType in interface com.liferay.portal.kernel.model.LayoutModel

setType

public void setType(String type)
Specified by:
setType in interface com.liferay.portal.kernel.model.LayoutModel

getOriginalType

public String getOriginalType()

getTypeSettings

@JSON
public String getTypeSettings()
Specified by:
getTypeSettings in interface com.liferay.portal.kernel.model.LayoutModel

setTypeSettings

public void setTypeSettings(String typeSettings)
Specified by:
setTypeSettings in interface com.liferay.portal.kernel.model.LayoutModel

getHidden

@JSON
public boolean getHidden()
Specified by:
getHidden in interface com.liferay.portal.kernel.model.LayoutModel

isHidden

public boolean isHidden()
Specified by:
isHidden in interface com.liferay.portal.kernel.model.LayoutModel

setHidden

public void setHidden(boolean hidden)
Specified by:
setHidden in interface com.liferay.portal.kernel.model.LayoutModel

getFriendlyURL

@JSON
public String getFriendlyURL()
Specified by:
getFriendlyURL in interface com.liferay.portal.kernel.model.LayoutModel

setFriendlyURL

public void setFriendlyURL(String friendlyURL)
Specified by:
setFriendlyURL in interface com.liferay.portal.kernel.model.LayoutModel

getOriginalFriendlyURL

public String getOriginalFriendlyURL()

getIconImageId

@JSON
public long getIconImageId()
Specified by:
getIconImageId in interface com.liferay.portal.kernel.model.LayoutModel

setIconImageId

public void setIconImageId(long iconImageId)
Specified by:
setIconImageId in interface com.liferay.portal.kernel.model.LayoutModel

getOriginalIconImageId

public long getOriginalIconImageId()

getThemeId

@JSON
public String getThemeId()
Specified by:
getThemeId in interface com.liferay.portal.kernel.model.LayoutModel

setThemeId

public void setThemeId(String themeId)
Specified by:
setThemeId in interface com.liferay.portal.kernel.model.LayoutModel

getColorSchemeId

@JSON
public String getColorSchemeId()
Specified by:
getColorSchemeId in interface com.liferay.portal.kernel.model.LayoutModel

setColorSchemeId

public void setColorSchemeId(String colorSchemeId)
Specified by:
setColorSchemeId in interface com.liferay.portal.kernel.model.LayoutModel

getCss

@JSON
public String getCss()
Specified by:
getCss in interface com.liferay.portal.kernel.model.LayoutModel

setCss

public void setCss(String css)
Specified by:
setCss in interface com.liferay.portal.kernel.model.LayoutModel

getPriority

@JSON
public int getPriority()
Specified by:
getPriority in interface com.liferay.portal.kernel.model.LayoutModel

setPriority

public void setPriority(int priority)
Specified by:
setPriority in interface com.liferay.portal.kernel.model.LayoutModel

getLayoutPrototypeUuid

@JSON
public String getLayoutPrototypeUuid()
Specified by:
getLayoutPrototypeUuid in interface com.liferay.portal.kernel.model.LayoutModel

setLayoutPrototypeUuid

public void setLayoutPrototypeUuid(String layoutPrototypeUuid)
Specified by:
setLayoutPrototypeUuid in interface com.liferay.portal.kernel.model.LayoutModel

getOriginalLayoutPrototypeUuid

public String getOriginalLayoutPrototypeUuid()

getLayoutPrototypeLinkEnabled

@JSON
public boolean getLayoutPrototypeLinkEnabled()
Specified by:
getLayoutPrototypeLinkEnabled in interface com.liferay.portal.kernel.model.LayoutModel

isLayoutPrototypeLinkEnabled

public boolean isLayoutPrototypeLinkEnabled()
Specified by:
isLayoutPrototypeLinkEnabled in interface com.liferay.portal.kernel.model.LayoutModel

setLayoutPrototypeLinkEnabled

public void setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
Specified by:
setLayoutPrototypeLinkEnabled in interface com.liferay.portal.kernel.model.LayoutModel

getSourcePrototypeLayoutUuid

@JSON
public String getSourcePrototypeLayoutUuid()
Specified by:
getSourcePrototypeLayoutUuid in interface com.liferay.portal.kernel.model.LayoutModel

setSourcePrototypeLayoutUuid

public void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Specified by:
setSourcePrototypeLayoutUuid in interface com.liferay.portal.kernel.model.LayoutModel

getOriginalSourcePrototypeLayoutUuid

public String getOriginalSourcePrototypeLayoutUuid()

getLastPublishDate

@JSON
public Date getLastPublishDate()
Specified by:
getLastPublishDate in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel

setLastPublishDate

public void setLastPublishDate(Date lastPublishDate)
Specified by:
setLastPublishDate in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel

getStagedModelType

public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.LayoutModel
Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.LayoutModel
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>

getAvailableLanguageIds

public String[] getAvailableLanguageIds()
Specified by:
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel

getDefaultLanguageId

public String getDefaultLanguageId()
Specified by:
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport()
                                     throws com.liferay.portal.kernel.exception.LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
Throws:
com.liferay.portal.kernel.exception.LocaleException

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws com.liferay.portal.kernel.exception.LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
Throws:
com.liferay.portal.kernel.exception.LocaleException

toEscapedModel

public com.liferay.portal.kernel.model.Layout toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.LayoutModel
Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>

clone

public Object clone()
Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Specified by:
clone in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
clone in interface com.liferay.portal.kernel.model.StagedModel
Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>

compareTo

public int compareTo(com.liferay.portal.kernel.model.Layout layout)
Specified by:
compareTo in interface com.liferay.portal.kernel.model.LayoutModel
Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.model.Layout>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.portal.kernel.model.LayoutModel
Overrides:
hashCode in class Object

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>

toCacheModel

public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Layout> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.LayoutModel
Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>

toString

public String toString()
Specified by:
toString in interface com.liferay.portal.kernel.model.LayoutModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
Specified by:
toXmlString in interface com.liferay.portal.kernel.model.LayoutModel

Liferay 7.0-ga1 portal-impl