Class DLFileEntryImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLFileEntry>
All Implemented Interfaces:
com.liferay.document.library.kernel.model.DLFileEntry, com.liferay.document.library.kernel.model.DLFileEntryModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLFileEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.document.library.kernel.model.DLFileEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, 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.TrashedModel, com.liferay.portal.kernel.model.TreeModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<com.liferay.document.library.kernel.model.DLFileEntry>

public class DLFileEntryImpl extends DLFileEntryBaseImpl
Author:
Brian Wing Shun Chan, Alexander Chow
See Also:
  • Constructor Details

    • DLFileEntryImpl

      public DLFileEntryImpl()
  • Method Details

    • buildTreePath

      public String buildTreePath() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getContentStream

      public InputStream getContentStream() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getContentStream

      public InputStream getContentStream(String version) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDataRepositoryId

      public long getDataRepositoryId()
    • getDDMFormValuesMap

      public Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> getDDMFormValuesMap(long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDLFileEntryType

      public com.liferay.document.library.kernel.model.DLFileEntryType getDLFileEntryType() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getExpandoBridge

      public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLFileEntry>
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
      Specified by:
      getExpandoBridge in interface com.liferay.document.library.kernel.model.DLFileEntry
      Overrides:
      getExpandoBridge in class DLFileEntryModelImpl
    • getExtraSettings

      public String getExtraSettings()
      Specified by:
      getExtraSettings in interface com.liferay.document.library.kernel.model.DLFileEntryModel
      Overrides:
      getExtraSettings in class DLFileEntryModelImpl
    • getExtraSettingsProperties

      public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties()
    • getFileShortcuts

      public List<com.liferay.document.library.kernel.model.DLFileShortcut> getFileShortcuts()
    • getFileVersion

      public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileVersion

      public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion(String version) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileVersions

      public List<com.liferay.document.library.kernel.model.DLFileVersion> getFileVersions(int status)
    • getFileVersions

      public List<com.liferay.document.library.kernel.model.DLFileVersion> getFileVersions(int status, int start, int end)
    • getFileVersionsCount

      public int getFileVersionsCount(int status)
    • getFolder

      public com.liferay.document.library.kernel.model.DLFolder getFolder() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getIcon

      public String getIcon()
    • getIconCssClass

      public String getIconCssClass()
    • getLatestFileVersion

      public com.liferay.document.library.kernel.model.DLFileVersion getLatestFileVersion(boolean trusted) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLock

      public com.liferay.portal.kernel.lock.Lock getLock()
    • getLuceneProperties

      @Deprecated public String getLuceneProperties()
      Deprecated.
      As of Cavanaugh (7.4.x)
    • getReadCount

      public long getReadCount()
    • getStagedModelType

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

      public int getStatus()
      Specified by:
      getStatus in interface com.liferay.document.library.kernel.model.DLFileEntryModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.TrashedModel
      Overrides:
      getStatus in class DLFileEntryModelImpl
    • hasLock

      public boolean hasLock()
    • isCheckedOut

      public boolean isCheckedOut()
    • isInHiddenFolder

      public boolean isInHiddenFolder()
    • isInTrash

      public boolean isInTrash()
      Specified by:
      isInTrash in interface com.liferay.document.library.kernel.model.DLFileEntryModel
      Specified by:
      isInTrash in interface com.liferay.portal.kernel.model.TrashedModel
      Overrides:
      isInTrash in class DLFileEntryModelImpl
    • setExtraSettings

      public void setExtraSettings(String extraSettings)
      Specified by:
      setExtraSettings in interface com.liferay.document.library.kernel.model.DLFileEntryModel
      Overrides:
      setExtraSettings in class DLFileEntryModelImpl
    • setExtraSettingsProperties

      public void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties)