Class LayoutModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>
com.liferay.portal.model.impl.LayoutModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Layout>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, 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, com.liferay.portal.kernel.model.TypedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.Layout>
Direct Known Subclasses:
LayoutBaseImpl

@JSON(strict=true) 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.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Details

  • Constructor Details

    • LayoutModelImpl

      public LayoutModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Layout>
      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.change.tracking.CTModel<com.liferay.portal.kernel.model.Layout>
      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
    • 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
    • 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>
    • getAttributeGetterFunctions

      public Map<String,Function<com.liferay.portal.kernel.model.Layout,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<com.liferay.portal.kernel.model.Layout,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<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
    • getCtCollectionId

      @JSON public long getCtCollectionId()
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Layout>
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.LayoutModel
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Layout>
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.LayoutModel
    • 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

      @Deprecated public String getOriginalUuid()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getExternalReferenceCode

      @JSON public String getExternalReferenceCode()
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.LayoutModel
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.LayoutModel
    • getOriginalExternalReferenceCode

      @Deprecated public String getOriginalExternalReferenceCode()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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

      @Deprecated public long getOriginalGroupId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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

      @Deprecated public long getOriginalCompanyId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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
    • getParentPlid

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

      public void setParentPlid(long parentPlid)
      Specified by:
      setParentPlid in interface com.liferay.portal.kernel.model.LayoutModel
    • getOriginalParentPlid

      @Deprecated public long getOriginalParentPlid()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getPrivateLayout

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

      @JSON 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

      @Deprecated public boolean getOriginalPrivateLayout()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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

      @Deprecated public long getOriginalLayoutId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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

      @Deprecated public long getOriginalParentLayoutId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface com.liferay.portal.kernel.model.LayoutModel
    • getClassNameId

      @JSON public long getClassNameId()
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • getOriginalClassNameId

      @Deprecated public long getOriginalClassNameId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getClassPK

      @JSON public long getClassPK()
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.LayoutModel
    • setClassPK

      public void setClassPK(long classPK)
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.LayoutModel
    • getOriginalClassPK

      @Deprecated public long getOriginalClassPK()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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

      @Deprecated public String getOriginalType()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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

      @JSON 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
    • getOriginalHidden

      @Deprecated public boolean getOriginalHidden()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getSystem

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

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

      public void setSystem(boolean system)
      Specified by:
      setSystem in interface com.liferay.portal.kernel.model.LayoutModel
    • getOriginalSystem

      @Deprecated public boolean getOriginalSystem()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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

      @Deprecated public String getOriginalFriendlyURL()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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

      @Deprecated public long getOriginalIconImageId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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
    • getStyleBookEntryId

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

      public void setStyleBookEntryId(long styleBookEntryId)
      Specified by:
      setStyleBookEntryId 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
    • getOriginalPriority

      @Deprecated public int getOriginalPriority()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getFaviconFileEntryId

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

      public void setFaviconFileEntryId(long faviconFileEntryId)
      Specified by:
      setFaviconFileEntryId in interface com.liferay.portal.kernel.model.LayoutModel
    • getMasterLayoutPlid

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

      public void setMasterLayoutPlid(long masterLayoutPlid)
      Specified by:
      setMasterLayoutPlid in interface com.liferay.portal.kernel.model.LayoutModel
    • getOriginalMasterLayoutPlid

      @Deprecated public long getOriginalMasterLayoutPlid()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • 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

      @Deprecated public String getOriginalLayoutPrototypeUuid()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getLayoutPrototypeLinkEnabled

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

      @JSON 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

      @Deprecated public String getOriginalSourcePrototypeLayoutUuid()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getPublishDate

      @JSON public Date getPublishDate()
      Specified by:
      getPublishDate in interface com.liferay.portal.kernel.model.LayoutModel
    • setPublishDate

      public void setPublishDate(Date publishDate)
      Specified by:
      setPublishDate in interface com.liferay.portal.kernel.model.LayoutModel
    • 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
    • getStatus

      @JSON public int getStatus()
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
    • setStatus

      public void setStatus(int status)
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
    • getOriginalStatus

      @Deprecated public int getOriginalStatus()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getStatusByUserId

      @JSON public long getStatusByUserId()
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
    • getStatusByUserName

      @JSON public String getStatusByUserName()
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
    • getStatusDate

      @JSON public Date getStatusDate()
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
    • getStagedModelType

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

      public boolean isApproved()
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
    • isDenied

      public boolean isDenied()
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
    • isDraft

      public boolean isDraft()
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
    • isExpired

      public boolean isExpired()
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
    • isInactive

      public boolean isInactive()
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
    • isIncomplete

      public boolean isIncomplete()
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
    • isPending

      public boolean isPending()
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
    • isScheduled

      public boolean isScheduled()
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.LayoutModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
    • 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
      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>
      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>
      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.StagedModel
      Specified by:
      clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>
    • cloneWithOriginalValues

      public com.liferay.portal.kernel.model.Layout cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.LayoutModel
    • compareTo

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

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isEntityCacheEnabled

      @Deprecated public boolean isEntityCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Layout>
    • isFinderCacheEnabled

      @Deprecated public boolean isFinderCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      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>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Layout>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getColumnValue

      public <T> T getColumnValue(String columnName)
    • getColumnOriginalValue

      public <T> T getColumnOriginalValue(String columnName)
    • getColumnBitmask

      public static long getColumnBitmask(String columnName)