Class StyleBookEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<StyleBookEntry>
com.liferay.style.book.model.StyleBookEntryWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<StyleBookEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<StyleBookEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<StyleBookEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.version.VersionedModel<StyleBookEntryVersion>, StyleBookEntry, StyleBookEntryModel, Serializable, Cloneable, Comparable<StyleBookEntry>

public class StyleBookEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<StyleBookEntry> implements com.liferay.portal.kernel.model.ModelWrapper<StyleBookEntry>, StyleBookEntry

This class is a wrapper for StyleBookEntry.

See Also:
Generated:
  • Constructor Details

    • StyleBookEntryWrapper

      public StyleBookEntryWrapper(StyleBookEntry styleBookEntry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<StyleBookEntry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<StyleBookEntry>
    • cloneWithOriginalValues

      public StyleBookEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<StyleBookEntry>
      Specified by:
      cloneWithOriginalValues in interface StyleBookEntryModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this style book entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      getCompanyId in interface StyleBookEntryModel
      Returns:
      the company ID of this style book entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this style book entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      getCreateDate in interface StyleBookEntryModel
      Returns:
      the create date of this style book entry
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this style book entry.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<StyleBookEntry>
      Specified by:
      getCtCollectionId in interface StyleBookEntryModel
      Returns:
      the ct collection ID of this style book entry
    • getDefaultStyleBookEntry

      public boolean getDefaultStyleBookEntry()
      Returns the default style book entry of this style book entry.
      Specified by:
      getDefaultStyleBookEntry in interface StyleBookEntryModel
      Returns:
      the default style book entry of this style book entry
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this style book entry.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface StyleBookEntryModel
      Returns:
      the external reference code of this style book entry
    • getFrontendTokensValues

      public String getFrontendTokensValues()
      Returns the frontend tokens values of this style book entry.
      Specified by:
      getFrontendTokensValues in interface StyleBookEntryModel
      Returns:
      the frontend tokens values of this style book entry
    • getGroupId

      public long getGroupId()
      Returns the group ID of this style book entry.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface StyleBookEntryModel
      Returns:
      the group ID of this style book entry
    • getHeadId

      public long getHeadId()
      Returns the head ID of this style book entry.
      Specified by:
      getHeadId in interface StyleBookEntryModel
      Specified by:
      getHeadId in interface com.liferay.portal.kernel.model.version.VersionedModel<StyleBookEntryVersion>
      Returns:
      the head ID of this style book entry
    • getImagePreviewURL

      public String getImagePreviewURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
      Specified by:
      getImagePreviewURL in interface StyleBookEntry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this style book entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      getModifiedDate in interface StyleBookEntryModel
      Returns:
      the modified date of this style book entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this style book entry.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface StyleBookEntryModel
      Returns:
      the mvcc version of this style book entry
    • getName

      public String getName()
      Returns the name of this style book entry.
      Specified by:
      getName in interface StyleBookEntryModel
      Returns:
      the name of this style book entry
    • getPreviewFileEntryId

      public long getPreviewFileEntryId()
      Returns the preview file entry ID of this style book entry.
      Specified by:
      getPreviewFileEntryId in interface StyleBookEntryModel
      Returns:
      the preview file entry ID of this style book entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this style book entry.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<StyleBookEntry>
      Specified by:
      getPrimaryKey in interface StyleBookEntryModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.version.VersionedModel<StyleBookEntryVersion>
      Returns:
      the primary key of this style book entry
    • getStyleBookEntryId

      public long getStyleBookEntryId()
      Returns the style book entry ID of this style book entry.
      Specified by:
      getStyleBookEntryId in interface StyleBookEntryModel
      Returns:
      the style book entry ID of this style book entry
    • getStyleBookEntryKey

      public String getStyleBookEntryKey()
      Returns the style book entry key of this style book entry.
      Specified by:
      getStyleBookEntryKey in interface StyleBookEntryModel
      Returns:
      the style book entry key of this style book entry
    • getThemeId

      public String getThemeId()
      Returns the theme ID of this style book entry.
      Specified by:
      getThemeId in interface StyleBookEntryModel
      Returns:
      the theme ID of this style book entry
    • getUserId

      public long getUserId()
      Returns the user ID of this style book entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface StyleBookEntryModel
      Returns:
      the user ID of this style book entry
    • getUserName

      public String getUserName()
      Returns the user name of this style book entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface StyleBookEntryModel
      Returns:
      the user name of this style book entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this style book entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface StyleBookEntryModel
      Returns:
      the user uuid of this style book entry
    • getUuid

      public String getUuid()
      Returns the uuid of this style book entry.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      getUuid in interface StyleBookEntryModel
      Returns:
      the uuid of this style book entry
    • isDefaultStyleBookEntry

      public boolean isDefaultStyleBookEntry()
      Returns true if this style book entry is default style book entry.
      Specified by:
      isDefaultStyleBookEntry in interface StyleBookEntryModel
      Returns:
      true if this style book entry is default style book entry; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • populateZipWriter

      public void populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter, String path) throws Exception
      Specified by:
      populateZipWriter in interface StyleBookEntry
      Throws:
      Exception
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this style book entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      setCompanyId in interface StyleBookEntryModel
      Parameters:
      companyId - the company ID of this style book entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this style book entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      setCreateDate in interface StyleBookEntryModel
      Parameters:
      createDate - the create date of this style book entry
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this style book entry.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<StyleBookEntry>
      Specified by:
      setCtCollectionId in interface StyleBookEntryModel
      Parameters:
      ctCollectionId - the ct collection ID of this style book entry
    • setDefaultStyleBookEntry

      public void setDefaultStyleBookEntry(boolean defaultStyleBookEntry)
      Sets whether this style book entry is default style book entry.
      Specified by:
      setDefaultStyleBookEntry in interface StyleBookEntryModel
      Parameters:
      defaultStyleBookEntry - the default style book entry of this style book entry
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this style book entry.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface StyleBookEntryModel
      Parameters:
      externalReferenceCode - the external reference code of this style book entry
    • setFrontendTokensValues

      public void setFrontendTokensValues(String frontendTokensValues)
      Sets the frontend tokens values of this style book entry.
      Specified by:
      setFrontendTokensValues in interface StyleBookEntryModel
      Parameters:
      frontendTokensValues - the frontend tokens values of this style book entry
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this style book entry.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface StyleBookEntryModel
      Parameters:
      groupId - the group ID of this style book entry
    • setHeadId

      public void setHeadId(long headId)
      Sets the head ID of this style book entry.
      Specified by:
      setHeadId in interface StyleBookEntryModel
      Specified by:
      setHeadId in interface com.liferay.portal.kernel.model.version.VersionedModel<StyleBookEntryVersion>
      Parameters:
      headId - the head ID of this style book entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this style book entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      setModifiedDate in interface StyleBookEntryModel
      Parameters:
      modifiedDate - the modified date of this style book entry
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this style book entry.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface StyleBookEntryModel
      Parameters:
      mvccVersion - the mvcc version of this style book entry
    • setName

      public void setName(String name)
      Sets the name of this style book entry.
      Specified by:
      setName in interface StyleBookEntryModel
      Parameters:
      name - the name of this style book entry
    • setPreviewFileEntryId

      public void setPreviewFileEntryId(long previewFileEntryId)
      Sets the preview file entry ID of this style book entry.
      Specified by:
      setPreviewFileEntryId in interface StyleBookEntryModel
      Parameters:
      previewFileEntryId - the preview file entry ID of this style book entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this style book entry.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<StyleBookEntry>
      Specified by:
      setPrimaryKey in interface StyleBookEntryModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.version.VersionedModel<StyleBookEntryVersion>
      Parameters:
      primaryKey - the primary key of this style book entry
    • setStyleBookEntryId

      public void setStyleBookEntryId(long styleBookEntryId)
      Sets the style book entry ID of this style book entry.
      Specified by:
      setStyleBookEntryId in interface StyleBookEntryModel
      Parameters:
      styleBookEntryId - the style book entry ID of this style book entry
    • setStyleBookEntryKey

      public void setStyleBookEntryKey(String styleBookEntryKey)
      Sets the style book entry key of this style book entry.
      Specified by:
      setStyleBookEntryKey in interface StyleBookEntryModel
      Parameters:
      styleBookEntryKey - the style book entry key of this style book entry
    • setThemeId

      public void setThemeId(String themeId)
      Sets the theme ID of this style book entry.
      Specified by:
      setThemeId in interface StyleBookEntryModel
      Parameters:
      themeId - the theme ID of this style book entry
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this style book entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface StyleBookEntryModel
      Parameters:
      userId - the user ID of this style book entry
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this style book entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface StyleBookEntryModel
      Parameters:
      userName - the user name of this style book entry
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this style book entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface StyleBookEntryModel
      Parameters:
      userUuid - the user uuid of this style book entry
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this style book entry.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      setUuid in interface StyleBookEntryModel
      Parameters:
      uuid - the uuid of this style book entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface StyleBookEntryModel
    • getAttributeGetterFunctions

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

      public Map<String,BiConsumer<StyleBookEntry,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<StyleBookEntry>
    • getStagedModelType

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

      public boolean isHead()
      Specified by:
      isHead in interface com.liferay.portal.kernel.model.version.VersionedModel<StyleBookEntryVersion>
    • populateVersionModel

      public void populateVersionModel(StyleBookEntryVersion styleBookEntryVersion)
      Specified by:
      populateVersionModel in interface com.liferay.portal.kernel.model.version.VersionedModel<StyleBookEntryVersion>
    • wrap

      protected StyleBookEntryWrapper wrap(StyleBookEntry styleBookEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<StyleBookEntry>