Class CPAttachmentFileEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPAttachmentFileEntry>
com.liferay.commerce.product.model.CPAttachmentFileEntryWrapper
All Implemented Interfaces:
CPAttachmentFileEntry, CPAttachmentFileEntryModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<CPAttachmentFileEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, 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<CPAttachmentFileEntry>

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

This class is a wrapper for CPAttachmentFileEntry.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.commerce.product.model.CPAttachmentFileEntry

    CP_ATTACHMENT_FILE_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.liferay.portal.kernel.repository.model.FileEntry
     
     
     
     
    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.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    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
     
    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
     
    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.
     
    wrap(CPAttachmentFileEntry cpAttachmentFileEntry)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

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

    clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper

    getWrappedModel

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

    clone
  • Constructor Details

    • CPAttachmentFileEntryWrapper

      public CPAttachmentFileEntryWrapper(CPAttachmentFileEntry cpAttachmentFileEntry)
  • Method Details

    • getModelAttributes

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

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

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

      public com.liferay.portal.kernel.repository.model.FileEntry fetchFileEntry() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchFileEntry in interface CPAttachmentFileEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAvailableLanguageIds

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

      public boolean getCDNEnabled()
      Returns the cdn enabled of this cp attachment file entry.
      Specified by:
      getCDNEnabled in interface CPAttachmentFileEntryModel
      Returns:
      the cdn enabled of this cp attachment file entry
    • getCDNURL

      public String getCDNURL()
      Returns the cdn url of this cp attachment file entry.
      Specified by:
      getCDNURL in interface CPAttachmentFileEntryModel
      Returns:
      the cdn url of this cp attachment file entry
    • getClassName

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

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

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

      public 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 CPAttachmentFileEntryModel
      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
    • getCPAttachmentFileEntryId

      public long getCPAttachmentFileEntryId()
      Returns the cp attachment file entry ID of this cp attachment file entry.
      Specified by:
      getCPAttachmentFileEntryId in interface CPAttachmentFileEntryModel
      Returns:
      the cp attachment file entry ID of this cp attachment file entry
    • getCreateDate

      public 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 CPAttachmentFileEntryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this cp attachment file entry
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this cp attachment file entry.
      Specified by:
      getCtCollectionId in interface CPAttachmentFileEntryModel
      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
    • getDefaultLanguageId

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

      public Date getDisplayDate()
      Returns the display date of this cp attachment file entry.
      Specified by:
      getDisplayDate in interface CPAttachmentFileEntryModel
      Returns:
      the display date of this cp attachment file entry
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this cp attachment file entry.
      Specified by:
      getExpirationDate in interface CPAttachmentFileEntryModel
      Returns:
      the expiration date of this cp attachment file entry
    • getExternalReferenceCode

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

      public long getFileEntryId()
      Returns the file entry ID of this cp attachment file entry.
      Specified by:
      getFileEntryId in interface CPAttachmentFileEntryModel
      Returns:
      the file entry ID of this cp attachment file entry
    • getGalleryEnabled

      public boolean getGalleryEnabled()
      Returns the gallery enabled of this cp attachment file entry.
      Specified by:
      getGalleryEnabled in interface CPAttachmentFileEntryModel
      Returns:
      the gallery enabled of this cp attachment file entry
    • getGroupId

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

      public String getJson()
      Returns the json of this cp attachment file entry.
      Specified by:
      getJson in interface CPAttachmentFileEntryModel
      Returns:
      the json of this cp attachment file entry
    • getLastPublishDate

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

      public 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 CPAttachmentFileEntryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this cp attachment file entry
    • getMvccVersion

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

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

      public double getPriority()
      Returns the priority of this cp attachment file entry.
      Specified by:
      getPriority in interface CPAttachmentFileEntryModel
      Returns:
      the priority of this cp attachment file entry
    • getStatus

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

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

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

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

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

      public String getTitle()
      Returns the title of this cp attachment file entry.
      Specified by:
      getTitle in interface CPAttachmentFileEntryModel
      Returns:
      the title of this cp attachment file entry
    • getTitle

      public 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.
      Specified by:
      getTitle in interface CPAttachmentFileEntryModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized title of this cp attachment file entry
    • getTitle

      public 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.
      Specified by:
      getTitle in interface CPAttachmentFileEntryModel
      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

      public 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.
      Specified by:
      getTitle in interface CPAttachmentFileEntryModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized title of this cp attachment file entry
    • getTitle

      public 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.
      Specified by:
      getTitle in interface CPAttachmentFileEntryModel
      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

      public String getTitleCurrentLanguageId()
      Specified by:
      getTitleCurrentLanguageId in interface CPAttachmentFileEntryModel
    • getTitleCurrentValue

      public String getTitleCurrentValue()
      Specified by:
      getTitleCurrentValue in interface CPAttachmentFileEntryModel
    • getTitleMap

      public Map<Locale,String> getTitleMap()
      Returns a map of the locales and localized titles of this cp attachment file entry.
      Specified by:
      getTitleMap in interface CPAttachmentFileEntryModel
      Returns:
      the locales and localized titles of this cp attachment file entry
    • getType

      public int getType()
      Returns the type of this cp attachment file entry.
      Specified by:
      getType in interface CPAttachmentFileEntryModel
      Returns:
      the type of this cp attachment file entry
    • getUserId

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

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

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

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

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

      public boolean isCDNEnabled()
      Returns true if this cp attachment file entry is cdn enabled.
      Specified by:
      isCDNEnabled in interface CPAttachmentFileEntryModel
      Returns:
      true if this cp attachment file entry is cdn enabled; false otherwise
    • isDenied

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

      public boolean isDraft()
      Returns true if this cp attachment file entry is a draft.
      Specified by:
      isDraft in interface CPAttachmentFileEntryModel
      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

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

      public boolean isGalleryEnabled()
      Returns true if this cp attachment file entry is gallery enabled.
      Specified by:
      isGalleryEnabled in interface CPAttachmentFileEntryModel
      Returns:
      true if this cp attachment file entry is gallery enabled; false otherwise
    • isInactive

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

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

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

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

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

      public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface CPAttachmentFileEntryModel
      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 CPAttachmentFileEntryModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setCDNEnabled

      public void setCDNEnabled(boolean cdnEnabled)
      Sets whether this cp attachment file entry is cdn enabled.
      Specified by:
      setCDNEnabled in interface CPAttachmentFileEntryModel
      Parameters:
      cdnEnabled - the cdn enabled of this cp attachment file entry
    • setCDNURL

      public void setCDNURL(String cdnURL)
      Sets the cdn url of this cp attachment file entry.
      Specified by:
      setCDNURL in interface CPAttachmentFileEntryModel
      Parameters:
      cdnURL - the cdn url of this cp attachment file entry
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface CPAttachmentFileEntryModel
    • setClassNameId

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

      public 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
      Specified by:
      setClassPK in interface CPAttachmentFileEntryModel
      Parameters:
      classPK - the class pk of this cp attachment file entry
    • setCompanyId

      public 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 CPAttachmentFileEntryModel
      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
    • setCPAttachmentFileEntryId

      public void setCPAttachmentFileEntryId(long CPAttachmentFileEntryId)
      Sets the cp attachment file entry ID of this cp attachment file entry.
      Specified by:
      setCPAttachmentFileEntryId in interface CPAttachmentFileEntryModel
      Parameters:
      CPAttachmentFileEntryId - the cp attachment file entry ID of this cp attachment file entry
    • setCreateDate

      public 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 CPAttachmentFileEntryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this cp attachment file entry
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this cp attachment file entry.
      Specified by:
      setCtCollectionId in interface CPAttachmentFileEntryModel
      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
    • setDisplayDate

      public void setDisplayDate(Date displayDate)
      Sets the display date of this cp attachment file entry.
      Specified by:
      setDisplayDate in interface CPAttachmentFileEntryModel
      Parameters:
      displayDate - the display date of this cp attachment file entry
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this cp attachment file entry.
      Specified by:
      setExpirationDate in interface CPAttachmentFileEntryModel
      Parameters:
      expirationDate - the expiration date of this cp attachment file entry
    • setExternalReferenceCode

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

      public void setFileEntryId(long fileEntryId)
      Sets the file entry ID of this cp attachment file entry.
      Specified by:
      setFileEntryId in interface CPAttachmentFileEntryModel
      Parameters:
      fileEntryId - the file entry ID of this cp attachment file entry
    • setGalleryEnabled

      public void setGalleryEnabled(boolean galleryEnabled)
      Sets whether this cp attachment file entry is gallery enabled.
      Specified by:
      setGalleryEnabled in interface CPAttachmentFileEntryModel
      Parameters:
      galleryEnabled - the gallery enabled of this cp attachment file entry
    • setGroupId

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

      public void setJson(String json)
      Sets the json of this cp attachment file entry.
      Specified by:
      setJson in interface CPAttachmentFileEntryModel
      Parameters:
      json - the json of this cp attachment file entry
    • setLastPublishDate

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

      public 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 CPAttachmentFileEntryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this cp attachment file entry
    • setMvccVersion

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

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this cp attachment file entry.
      Specified by:
      setPrimaryKey in interface CPAttachmentFileEntryModel
      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
    • setPriority

      public void setPriority(double priority)
      Sets the priority of this cp attachment file entry.
      Specified by:
      setPriority in interface CPAttachmentFileEntryModel
      Parameters:
      priority - the priority of this cp attachment file entry
    • setStatus

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

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

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

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

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

      public void setTitle(String title)
      Sets the title of this cp attachment file entry.
      Specified by:
      setTitle in interface CPAttachmentFileEntryModel
      Parameters:
      title - the title of this cp attachment file entry
    • setTitle

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

      public 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.
      Specified by:
      setTitle in interface CPAttachmentFileEntryModel
      Parameters:
      title - the localized title of this cp attachment file entry
      locale - the locale of the language
      defaultLocale - the default locale
    • setTitleCurrentLanguageId

      public void setTitleCurrentLanguageId(String languageId)
      Specified by:
      setTitleCurrentLanguageId in interface CPAttachmentFileEntryModel
    • setTitleMap

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

      public 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.
      Specified by:
      setTitleMap in interface CPAttachmentFileEntryModel
      Parameters:
      titleMap - the locales and localized titles of this cp attachment file entry
      defaultLocale - the default locale
    • setType

      public void setType(int type)
      Sets the type of this cp attachment file entry.
      Specified by:
      setType in interface CPAttachmentFileEntryModel
      Parameters:
      type - the type of this cp attachment file entry
    • setUserId

      public 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
      Specified by:
      setUserId in interface CPAttachmentFileEntryModel
      Parameters:
      userId - the user ID of this cp attachment file entry
    • setUserName

      public 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
      Specified by:
      setUserName in interface CPAttachmentFileEntryModel
      Parameters:
      userName - the user name of this cp attachment file entry
    • setUserUuid

      public 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
      Specified by:
      setUserUuid in interface CPAttachmentFileEntryModel
      Parameters:
      userUuid - the user uuid of this cp attachment file entry
    • setUuid

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

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

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

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

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

      protected CPAttachmentFileEntryWrapper wrap(CPAttachmentFileEntry cpAttachmentFileEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPAttachmentFileEntry>