Interface CPAttachmentFileEntryModel

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CPAttachmentFileEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, 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
All Known Subinterfaces:
CPAttachmentFileEntry
All Known Implementing Classes:
CPAttachmentFileEntryWrapper

@ProviderType public interface CPAttachmentFileEntryModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, 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.WorkflowedModel
The base model interface for the CPAttachmentFileEntry service. Represents a row in the "CPAttachmentFileEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.commerce.product.model.impl.CPAttachmentFileEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.product.model.impl.CPAttachmentFileEntryImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    boolean
    Returns the cdn enabled of this cp attachment file entry.
    Returns the cdn url of this cp attachment file entry.
    Returns the fully qualified class name of this cp attachment file entry.
    long
    Returns the class name ID of this cp attachment file entry.
    long
    Returns the class pk of this cp attachment file entry.
    long
    Returns the company ID of this cp attachment file entry.
    long
    Returns the cp attachment file entry ID of this cp attachment file entry.
    Returns the create date of this cp attachment file entry.
    long
    Returns the ct collection ID of this cp attachment file entry.
     
    Returns the display date of this cp attachment file entry.
    Returns the expiration date of this cp attachment file entry.
    Returns the external reference code of this cp attachment file entry.
    long
    Returns the file entry ID of this cp attachment file entry.
    boolean
    Returns the gallery enabled of this cp attachment file entry.
    long
    Returns the group ID of this cp attachment file entry.
    Returns the json of this cp attachment file entry.
    Returns the last publish date of this cp attachment file entry.
    Returns the modified date of this cp attachment file entry.
    long
    Returns the mvcc version of this cp attachment file entry.
    long
    Returns the primary key of this cp attachment file entry.
    double
    Returns the priority of this cp attachment file entry.
    int
    Returns the status of this cp attachment file entry.
    long
    Returns the status by user ID of this cp attachment file entry.
    Returns the status by user name of this cp attachment file entry.
    Returns the status by user uuid of this cp attachment file entry.
    Returns the status date of this cp attachment file entry.
    Returns the title of this cp attachment file entry.
    getTitle(String languageId)
    Returns the localized title of this cp attachment file entry in the language.
    getTitle(String languageId, boolean useDefault)
    Returns the localized title of this cp attachment file entry in the language, optionally using the default language if no localization exists for the requested language.
    getTitle(Locale locale)
    Returns the localized title of this cp attachment file entry in the language.
    getTitle(Locale locale, boolean useDefault)
    Returns the localized title of this cp attachment file entry in the language, optionally using the default language if no localization exists for the requested language.
     
     
    Returns a map of the locales and localized titles of this cp attachment file entry.
    int
    Returns the type of this cp attachment file entry.
    long
    Returns the user ID of this cp attachment file entry.
    Returns the user name of this cp attachment file entry.
    Returns the user uuid of this cp attachment file entry.
    Returns the uuid of this cp attachment file entry.
    boolean
    Returns true if this cp attachment file entry is approved.
    boolean
    Returns true if this cp attachment file entry is cdn enabled.
    boolean
    Returns true if this cp attachment file entry is denied.
    boolean
    Returns true if this cp attachment file entry is a draft.
    boolean
    Returns true if this cp attachment file entry is expired.
    boolean
    Returns true if this cp attachment file entry is gallery enabled.
    boolean
    Returns true if this cp attachment file entry is inactive.
    boolean
    Returns true if this cp attachment file entry is incomplete.
    boolean
    Returns true if this cp attachment file entry is pending.
    boolean
    Returns true if this cp attachment file entry is scheduled.
    void
     
    void
     
    void
    setCDNEnabled(boolean cdnEnabled)
    Sets whether this cp attachment file entry is cdn enabled.
    void
    setCDNURL(String cdnURL)
    Sets the cdn url of this cp attachment file entry.
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this cp attachment file entry.
    void
    setClassPK(long classPK)
    Sets the class pk of this cp attachment file entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this cp attachment file entry.
    void
    setCPAttachmentFileEntryId(long CPAttachmentFileEntryId)
    Sets the cp attachment file entry ID of this cp attachment file entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this cp attachment file entry.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this cp attachment file entry.
    void
    setDisplayDate(Date displayDate)
    Sets the display date of this cp attachment file entry.
    void
    setExpirationDate(Date expirationDate)
    Sets the expiration date of this cp attachment file entry.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this cp attachment file entry.
    void
    setFileEntryId(long fileEntryId)
    Sets the file entry ID of this cp attachment file entry.
    void
    setGalleryEnabled(boolean galleryEnabled)
    Sets whether this cp attachment file entry is gallery enabled.
    void
    setGroupId(long groupId)
    Sets the group ID of this cp attachment file entry.
    void
    Sets the json of this cp attachment file entry.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this cp attachment file entry.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this cp attachment file entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this cp attachment file entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this cp attachment file entry.
    void
    setPriority(double priority)
    Sets the priority of this cp attachment file entry.
    void
    setStatus(int status)
    Sets the status of this cp attachment file entry.
    void
    setStatusByUserId(long statusByUserId)
    Sets the status by user ID of this cp attachment file entry.
    void
    setStatusByUserName(String statusByUserName)
    Sets the status by user name of this cp attachment file entry.
    void
    setStatusByUserUuid(String statusByUserUuid)
    Sets the status by user uuid of this cp attachment file entry.
    void
    setStatusDate(Date statusDate)
    Sets the status date of this cp attachment file entry.
    void
    Sets the title of this cp attachment file entry.
    void
    setTitle(String title, Locale locale)
    Sets the localized title of this cp attachment file entry in the language.
    void
    setTitle(String title, Locale locale, Locale defaultLocale)
    Sets the localized title of this cp attachment file entry in the language, and sets the default locale.
    void
     
    void
    Sets the localized titles of this cp attachment file entry from the map of locales and localized titles.
    void
    setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
    Sets the localized titles of this cp attachment file entry from the map of locales and localized titles, and sets the default locale.
    void
    setType(int type)
    Sets the type of this cp attachment file entry.
    void
    setUserId(long userId)
    Sets the user ID of this cp attachment file entry.
    void
    setUserName(String userName)
    Sets the user name of this cp attachment file entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this cp attachment file entry.
    void
    Sets the uuid of this cp attachment file entry.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this cp attachment file entry.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>
      Returns:
      the primary key of this cp attachment file entry
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this cp attachment file entry.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>
      Parameters:
      primaryKey - the primary key of this cp attachment file entry
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this cp attachment file entry.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this cp attachment file entry
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this cp attachment file entry.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this cp attachment file entry
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this cp attachment file entry.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>
      Returns:
      the ct collection ID of this cp attachment file entry
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this cp attachment file entry.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>
      Parameters:
      ctCollectionId - the ct collection ID of this cp attachment file entry
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this cp attachment file entry.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this cp attachment file entry
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this cp attachment file entry.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this cp attachment file entry
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this cp attachment file entry.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this cp attachment file entry
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this cp attachment file entry.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this cp attachment file entry
    • getCPAttachmentFileEntryId

      long getCPAttachmentFileEntryId()
      Returns the cp attachment file entry ID of this cp attachment file entry.
      Returns:
      the cp attachment file entry ID of this cp attachment file entry
    • setCPAttachmentFileEntryId

      void setCPAttachmentFileEntryId(long CPAttachmentFileEntryId)
      Sets the cp attachment file entry ID of this cp attachment file entry.
      Parameters:
      CPAttachmentFileEntryId - the cp attachment file entry ID of this cp attachment file entry
    • getGroupId

      long getGroupId()
      Returns the group ID of this cp attachment file entry.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this cp attachment file entry
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this cp attachment file entry.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this cp attachment file entry
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this cp attachment file 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
      Returns:
      the company ID of this cp attachment file entry
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this cp attachment file 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
      Parameters:
      companyId - the company ID of this cp attachment file entry
    • getUserId

      long getUserId()
      Returns the user ID of this cp attachment file entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this cp attachment file entry
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this cp attachment file entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this cp attachment file entry
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this cp attachment file entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this cp attachment file entry
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this cp attachment file entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this cp attachment file entry
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this cp attachment file entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this cp attachment file entry
    • setUserName

      void setUserName(String userName)
      Sets the user name of this cp attachment file entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this cp attachment file entry
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this cp attachment file entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this cp attachment file entry
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this cp attachment file entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this cp attachment file entry
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this cp attachment file entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this cp attachment file entry
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this cp attachment file entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this cp attachment file entry
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this cp attachment file entry.
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this cp attachment file entry
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this cp attachment file entry.
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this cp attachment file entry
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this cp attachment file entry.
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this cp attachment file entry
    • getClassPK

      long getClassPK()
      Returns the class pk of this cp attachment file entry.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Returns:
      the class pk of this cp attachment file entry
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this cp attachment file entry.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Parameters:
      classPK - the class pk of this cp attachment file entry
    • getFileEntryId

      long getFileEntryId()
      Returns the file entry ID of this cp attachment file entry.
      Returns:
      the file entry ID of this cp attachment file entry
    • setFileEntryId

      void setFileEntryId(long fileEntryId)
      Sets the file entry ID of this cp attachment file entry.
      Parameters:
      fileEntryId - the file entry ID of this cp attachment file entry
    • getCDNEnabled

      boolean getCDNEnabled()
      Returns the cdn enabled of this cp attachment file entry.
      Returns:
      the cdn enabled of this cp attachment file entry
    • isCDNEnabled

      boolean isCDNEnabled()
      Returns true if this cp attachment file entry is cdn enabled.
      Returns:
      true if this cp attachment file entry is cdn enabled; false otherwise
    • setCDNEnabled

      void setCDNEnabled(boolean cdnEnabled)
      Sets whether this cp attachment file entry is cdn enabled.
      Parameters:
      cdnEnabled - the cdn enabled of this cp attachment file entry
    • getCDNURL

      @AutoEscape String getCDNURL()
      Returns the cdn url of this cp attachment file entry.
      Returns:
      the cdn url of this cp attachment file entry
    • setCDNURL

      void setCDNURL(String cdnURL)
      Sets the cdn url of this cp attachment file entry.
      Parameters:
      cdnURL - the cdn url of this cp attachment file entry
    • getDisplayDate

      Date getDisplayDate()
      Returns the display date of this cp attachment file entry.
      Returns:
      the display date of this cp attachment file entry
    • setDisplayDate

      void setDisplayDate(Date displayDate)
      Sets the display date of this cp attachment file entry.
      Parameters:
      displayDate - the display date of this cp attachment file entry
    • getExpirationDate

      Date getExpirationDate()
      Returns the expiration date of this cp attachment file entry.
      Returns:
      the expiration date of this cp attachment file entry
    • setExpirationDate

      void setExpirationDate(Date expirationDate)
      Sets the expiration date of this cp attachment file entry.
      Parameters:
      expirationDate - the expiration date of this cp attachment file entry
    • getGalleryEnabled

      boolean getGalleryEnabled()
      Returns the gallery enabled of this cp attachment file entry.
      Returns:
      the gallery enabled of this cp attachment file entry
    • isGalleryEnabled

      boolean isGalleryEnabled()
      Returns true if this cp attachment file entry is gallery enabled.
      Returns:
      true if this cp attachment file entry is gallery enabled; false otherwise
    • setGalleryEnabled

      void setGalleryEnabled(boolean galleryEnabled)
      Sets whether this cp attachment file entry is gallery enabled.
      Parameters:
      galleryEnabled - the gallery enabled of this cp attachment file entry
    • getTitle

      String getTitle()
      Returns the title of this cp attachment file entry.
      Returns:
      the title of this cp attachment file entry
    • getTitle

      @AutoEscape String getTitle(Locale locale)
      Returns the localized title of this cp attachment file entry in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      locale - the locale of the language
      Returns:
      the localized title of this cp attachment file entry
    • getTitle

      @AutoEscape String getTitle(Locale locale, boolean useDefault)
      Returns the localized title of this cp attachment file entry in the language, optionally using the default language if no localization exists for the requested language.
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized title of this cp attachment file entry. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getTitle

      @AutoEscape String getTitle(String languageId)
      Returns the localized title of this cp attachment file entry in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized title of this cp attachment file entry
    • getTitle

      @AutoEscape String getTitle(String languageId, boolean useDefault)
      Returns the localized title of this cp attachment file entry in the language, optionally using the default language if no localization exists for the requested language.
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized title of this cp attachment file entry
    • getTitleCurrentLanguageId

      @AutoEscape String getTitleCurrentLanguageId()
    • getTitleCurrentValue

      @AutoEscape String getTitleCurrentValue()
    • getTitleMap

      Map<Locale,String> getTitleMap()
      Returns a map of the locales and localized titles of this cp attachment file entry.
      Returns:
      the locales and localized titles of this cp attachment file entry
    • setTitle

      void setTitle(String title)
      Sets the title of this cp attachment file entry.
      Parameters:
      title - the title of this cp attachment file entry
    • setTitle

      void setTitle(String title, Locale locale)
      Sets the localized title of this cp attachment file entry in the language.
      Parameters:
      title - the localized title of this cp attachment file entry
      locale - the locale of the language
    • setTitle

      void setTitle(String title, Locale locale, Locale defaultLocale)
      Sets the localized title of this cp attachment file entry in the language, and sets the default locale.
      Parameters:
      title - the localized title of this cp attachment file entry
      locale - the locale of the language
      defaultLocale - the default locale
    • setTitleCurrentLanguageId

      void setTitleCurrentLanguageId(String languageId)
    • setTitleMap

      void setTitleMap(Map<Locale,String> titleMap)
      Sets the localized titles of this cp attachment file entry from the map of locales and localized titles.
      Parameters:
      titleMap - the locales and localized titles of this cp attachment file entry
    • setTitleMap

      void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
      Sets the localized titles of this cp attachment file entry from the map of locales and localized titles, and sets the default locale.
      Parameters:
      titleMap - the locales and localized titles of this cp attachment file entry
      defaultLocale - the default locale
    • getJson

      @AutoEscape String getJson()
      Returns the json of this cp attachment file entry.
      Returns:
      the json of this cp attachment file entry
    • setJson

      void setJson(String json)
      Sets the json of this cp attachment file entry.
      Parameters:
      json - the json of this cp attachment file entry
    • getPriority

      double getPriority()
      Returns the priority of this cp attachment file entry.
      Returns:
      the priority of this cp attachment file entry
    • setPriority

      void setPriority(double priority)
      Sets the priority of this cp attachment file entry.
      Parameters:
      priority - the priority of this cp attachment file entry
    • getType

      int getType()
      Returns the type of this cp attachment file entry.
      Returns:
      the type of this cp attachment file entry
    • setType

      void setType(int type)
      Sets the type of this cp attachment file entry.
      Parameters:
      type - the type of this cp attachment file entry
    • getLastPublishDate

      Date getLastPublishDate()
      Returns the last publish date of this cp attachment file entry.
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this cp attachment file entry
    • setLastPublishDate

      void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this cp attachment file entry.
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this cp attachment file entry
    • getStatus

      int getStatus()
      Returns the status of this cp attachment file entry.
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this cp attachment file entry
    • setStatus

      void setStatus(int status)
      Sets the status of this cp attachment file entry.
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this cp attachment file entry
    • getStatusByUserId

      long getStatusByUserId()
      Returns the status by user ID of this cp attachment file entry.
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this cp attachment file entry
    • setStatusByUserId

      void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this cp attachment file entry.
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this cp attachment file entry
    • getStatusByUserUuid

      String getStatusByUserUuid()
      Returns the status by user uuid of this cp attachment file entry.
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this cp attachment file entry
    • setStatusByUserUuid

      void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this cp attachment file entry.
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this cp attachment file entry
    • getStatusByUserName

      @AutoEscape String getStatusByUserName()
      Returns the status by user name of this cp attachment file entry.
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this cp attachment file entry
    • setStatusByUserName

      void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this cp attachment file entry.
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this cp attachment file entry
    • getStatusDate

      Date getStatusDate()
      Returns the status date of this cp attachment file entry.
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this cp attachment file entry
    • setStatusDate

      void setStatusDate(Date statusDate)
      Sets the status date of this cp attachment file entry.
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this cp attachment file entry
    • isApproved

      boolean isApproved()
      Returns true if this cp attachment file entry is approved.
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this cp attachment file entry is approved; false otherwise
    • isDenied

      boolean isDenied()
      Returns true if this cp attachment file entry is denied.
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this cp attachment file entry is denied; false otherwise
    • isDraft

      boolean isDraft()
      Returns true if this cp attachment file entry is a draft.
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this cp attachment file entry is a draft; false otherwise
    • isExpired

      boolean isExpired()
      Returns true if this cp attachment file entry is expired.
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this cp attachment file entry is expired; false otherwise
    • isInactive

      boolean isInactive()
      Returns true if this cp attachment file entry is inactive.
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this cp attachment file entry is inactive; false otherwise
    • isIncomplete

      boolean isIncomplete()
      Returns true if this cp attachment file entry is incomplete.
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this cp attachment file entry is incomplete; false otherwise
    • isPending

      boolean isPending()
      Returns true if this cp attachment file entry is pending.
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this cp attachment file entry is pending; false otherwise
    • isScheduled

      boolean isScheduled()
      Returns true if this cp attachment file entry is scheduled.
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this cp attachment file entry is scheduled; false otherwise
    • getAvailableLanguageIds

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

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

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

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

      CPAttachmentFileEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
    • toXmlString

      default String toXmlString()