Class DLFileVersionLocalServiceImpl

Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFileVersionLocalServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFileVersionLocalServiceImpl
All Implemented Interfaces:
com.liferay.document.library.kernel.service.DLFileVersionLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.document.library.kernel.model.DLFileVersion>, com.liferay.portal.kernel.service.PersistedModelLocalService

public class DLFileVersionLocalServiceImpl extends DLFileVersionLocalServiceBaseImpl
Author:
Brian Wing Shun Chan
  • Constructor Details

    • DLFileVersionLocalServiceImpl

      public DLFileVersionLocalServiceImpl()
  • Method Details

    • fetchLatestFileVersion

      public com.liferay.document.library.kernel.model.DLFileVersion fetchLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy)
    • fetchLatestFileVersion

      public com.liferay.document.library.kernel.model.DLFileVersion fetchLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy, int status)
    • getFileVersion

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

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

      public com.liferay.document.library.kernel.model.DLFileVersion getFileVersionByUuidAndGroupId(String uuid, long groupId)
    • getFileVersions

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

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

      public int getFileVersionsCount(long fileEntryId, int status)
    • getFileVersionsCount

      public int getFileVersionsCount(long companyId, String storeUUID)
    • getLatestFileVersion

      public com.liferay.document.library.kernel.model.DLFileVersion getLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLatestFileVersion

      public com.liferay.document.library.kernel.model.DLFileVersion getLatestFileVersion(long userId, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • rebuildTree

      public void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • setTreePaths

      public void setTreePaths(long folderId, String treePath) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException