Class CMISRepositoryHandler

java.lang.Object
com.liferay.portal.kernel.repository.BaseRepositoryImpl
com.liferay.document.library.repository.cmis.CMISRepositoryHandler
All Implemented Interfaces:
com.liferay.portal.kernel.repository.BaseRepository, com.liferay.portal.kernel.repository.capabilities.Capability, com.liferay.portal.kernel.repository.capabilities.CapabilityProvider, com.liferay.portal.kernel.repository.DocumentRepository, com.liferay.portal.kernel.repository.Repository

public abstract class CMISRepositoryHandler extends com.liferay.portal.kernel.repository.BaseRepositoryImpl implements com.liferay.portal.kernel.repository.capabilities.Capability
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.repository.BaseRepositoryImpl

    assetEntryLocalService, companyLocalService, dlAppHelperLocalService, dlFolderLocalService, repositoryEntryLocalService, userLocalService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.liferay.portal.kernel.repository.model.FileEntry
    addFileEntry(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.repository.model.FileShortcut
    addFileShortcut(String externalReferenceCode, long userId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.repository.model.Folder
    addFolder(String externalReferenceCode, long userId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.repository.model.FileVersion
    cancelCheckOut(long fileEntryId)
     
    void
    checkInFileEntry(long userId, long fileEntryId, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, String changeLog, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    void
    checkInFileEntry(long userId, long fileEntryId, String lockUuid, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.repository.model.FileEntry
    checkOutFileEntry(long fileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.repository.model.FileEntry
    checkOutFileEntry(long fileEntryId, String owner, long expirationTime, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.repository.model.FileEntry
    copyFileEntry(long userId, long groupId, long fileEntryId, long destFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    void
    deleteFileEntry(long fileEntryId)
     
    void
    deleteFileShortcut(long fileShortcutId)
     
    void
    deleteFileShortcuts(long toFileEntryId)
     
    void
    deleteFolder(long folderId)
     
    com.liferay.portal.kernel.repository.BaseRepository
     
    List<com.liferay.portal.kernel.repository.model.FileEntry>
    getFileEntries(long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator)
     
    List<com.liferay.portal.kernel.repository.model.FileEntry>
    getFileEntries(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator)
     
    List<com.liferay.portal.kernel.repository.model.FileEntry>
    getFileEntries(long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator)
     
    List<com.liferay.portal.kernel.repository.model.FileEntry>
    getFileEntries(long folderId, String[] mimeTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator)
     
    int
    getFileEntriesCount(long folderId)
     
    int
    getFileEntriesCount(long folderId, int status)
     
    int
    getFileEntriesCount(long folderId, long fileEntryTypeId)
     
    int
    getFileEntriesCount(long folderId, String[] mimeTypes)
     
    com.liferay.portal.kernel.repository.model.FileEntry
    getFileEntry(long fileEntryId)
     
    com.liferay.portal.kernel.repository.model.FileEntry
    getFileEntry(long folderId, String title)
     
    com.liferay.portal.kernel.repository.model.FileEntry
     
    com.liferay.portal.kernel.repository.model.FileShortcut
    getFileShortcut(long fileShortcutId)
     
    com.liferay.portal.kernel.repository.model.FileVersion
    getFileVersion(long fileVersionId)
     
    com.liferay.portal.kernel.repository.model.Folder
    getFolder(long folderId)
     
    com.liferay.portal.kernel.repository.model.Folder
    getFolder(long parentFolderId, String name)
     
    List<com.liferay.portal.kernel.repository.model.Folder>
    getFolders(long parentFolderId, boolean includeMountfolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator)
     
    getFoldersAndFileEntries(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
     
    getFoldersAndFileEntries(long folderId, String[] mimeTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
     
    int
     
    int
    getFoldersAndFileEntriesCount(long folderId, String[] mimeTypes)
     
    int
    getFoldersCount(long parentFolderId, boolean includeMountfolders)
     
    int
    getFoldersFileEntriesCount(List<Long> folderIds, int status)
     
     
     
    List<com.liferay.portal.kernel.repository.model.Folder>
    getMountFolders(long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator)
     
    int
    getMountFoldersCount(long parentFolderId)
     
     
     
    List<com.liferay.portal.kernel.repository.model.FileShortcut>
     
    abstract Session
     
    getSubfolderIds(long folderId, boolean recurse)
     
    void
    getSubfolderIds(List<Long> folderIds, long folderId)
     
    void
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    com.liferay.portal.kernel.lock.Lock
    lockFolder(long folderId)
     
    com.liferay.portal.kernel.lock.Lock
    lockFolder(long folderId, String owner, boolean inheritable, long expirationTime)
     
    com.liferay.portal.kernel.repository.model.FileEntry
    moveFileEntry(long userId, long fileEntryId, long newFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.repository.model.Folder
    moveFolder(long userId, long folderId, long newParentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.lock.Lock
    refreshFileEntryLock(String lockUuid, long companyId, long expirationTime)
     
    com.liferay.portal.kernel.lock.Lock
    refreshFolderLock(String lockUuid, long companyId, long expirationTime)
     
    void
    revertFileEntry(long userId, long fileEntryId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.search.Hits
    search(long creatorUserId, int status, int start, int end)
     
    com.liferay.portal.kernel.search.Hits
    search(long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end)
     
    com.liferay.portal.kernel.search.Hits
    search(com.liferay.portal.kernel.search.SearchContext searchContext)
     
    com.liferay.portal.kernel.search.Hits
    search(com.liferay.portal.kernel.search.SearchContext searchContext, com.liferay.portal.kernel.search.Query query)
     
    void
     
    com.liferay.portal.kernel.repository.model.FileEntry
    toFileEntry(String objectId)
     
    com.liferay.portal.kernel.repository.model.Folder
    toFolder(String objectId)
     
    void
    unlockFolder(long folderId, String lockUuid)
     
    com.liferay.portal.kernel.repository.model.FileEntry
    updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.repository.model.FileEntry
    updateFileEntry(String objectId, String mimeType, Map<String,Object> properties, InputStream inputStream, String sourceFileName, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.repository.model.FileShortcut
    updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    void
    updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
     
    com.liferay.portal.kernel.repository.model.Folder
    updateFolder(long folderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    boolean
    verifyFileEntryCheckOut(long fileEntryId, String lockUuid)
     
    boolean
    verifyInheritableLock(long folderId, String lockUuid)
     

    Methods inherited from class com.liferay.portal.kernel.repository.BaseRepositoryImpl

    addFileEntry, clearManualCheckInRequired, deleteAll, deleteFileEntry, deleteFileVersion, deleteFileVersion, deleteFolder, getCapability, getCompanyId, getFileEntriesAndFileShortcuts, getFileEntriesAndFileShortcutsCount, getFileEntriesAndFileShortcutsCount, getFolders, getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcutsCount, getFoldersAndFileEntriesAndFileShortcutsCount, getFoldersCount, getGroupId, getLocalRepository, getRepositoryEntry, getRepositoryFileEntries, getRepositoryFileEntries, getRepositoryFileEntriesCount, getRepositoryFileEntriesCount, getRepositoryId, getSupportedParameters, getTypeSettingsProperties, isCapabilityProvided, setAssetEntryLocalService, setCompanyId, setCompanyLocalService, setDLAppHelperLocalService, setDLFolderLocalService, setGroupId, setManualCheckInRequired, setRepositoryEntryLocalService, setRepositoryId, setTypeSettingsProperties, setUserLocalService, unlockFolder, updateFileEntry, updateFolder, verifyFileEntryLock

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.repository.DocumentRepository

    fetchFileEntry, fetchFileEntryByExternalReferenceCode, fetchFileShortcut, fetchFileShortcutByExternalReferenceCode, fetchFolderByExternalReferenceCode, getFileEntries, getFileEntriesCount, getFileEntryByExternalReferenceCode, getFileEntryByFileName, getFileShortcutByExternalReferenceCode, getFolderByExternalReferenceCode

    Methods inherited from interface com.liferay.portal.kernel.repository.Repository

    getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcutsCount
  • Constructor Details

    • CMISRepositoryHandler

      public CMISRepositoryHandler()
  • Method Details

    • addFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addFileShortcut

      public com.liferay.portal.kernel.repository.model.FileShortcut addFileShortcut(String externalReferenceCode, long userId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addFileShortcut in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addFolder

      public com.liferay.portal.kernel.repository.model.Folder addFolder(String externalReferenceCode, long userId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addFolder in interface com.liferay.portal.kernel.repository.DocumentRepository
      Specified by:
      addFolder in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • cancelCheckOut

      public com.liferay.portal.kernel.repository.model.FileVersion cancelCheckOut(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      cancelCheckOut in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkInFileEntry

      public void checkInFileEntry(long userId, long fileEntryId, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, String changeLog, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkInFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Specified by:
      checkInFileEntry in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkInFileEntry

      public void checkInFileEntry(long userId, long fileEntryId, String lockUuid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkInFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkOutFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(long fileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkOutFileEntry in interface com.liferay.portal.kernel.repository.Repository
      Specified by:
      checkOutFileEntry in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkOutFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkOutFileEntry in interface com.liferay.portal.kernel.repository.Repository
      Specified by:
      checkOutFileEntry in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • copyFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry copyFileEntry(long userId, long groupId, long fileEntryId, long destFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      copyFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFileEntry

      public void deleteFileEntry(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFileShortcut

      public void deleteFileShortcut(long fileShortcutId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFileShortcut in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFileShortcuts

      public void deleteFileShortcuts(long toFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFileShortcuts in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolder

      public void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFolder in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCmisRepository

      public com.liferay.portal.kernel.repository.BaseRepository getCmisRepository()
    • getFileEntries

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntries in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntries

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntries in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntries

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntries in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntries

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(long folderId, String[] mimeTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntries in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntriesCount

      public int getFileEntriesCount(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntriesCount in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntriesCount

      public int getFileEntriesCount(long folderId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntriesCount in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntriesCount

      public int getFileEntriesCount(long folderId, long fileEntryTypeId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntriesCount in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntriesCount

      public int getFileEntriesCount(long folderId, String[] mimeTypes) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntriesCount in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry getFileEntry(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry getFileEntry(long folderId, String title) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileEntryByUuid

      public com.liferay.portal.kernel.repository.model.FileEntry getFileEntryByUuid(String uuid) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileEntryByUuid in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileShortcut

      public com.liferay.portal.kernel.repository.model.FileShortcut getFileShortcut(long fileShortcutId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileShortcut in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFileVersion

      public com.liferay.portal.kernel.repository.model.FileVersion getFileVersion(long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFileVersion in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolder

      public com.liferay.portal.kernel.repository.model.Folder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFolder in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolder

      public com.liferay.portal.kernel.repository.model.Folder getFolder(long parentFolderId, String name) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFolder in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolders

      public List<com.liferay.portal.kernel.repository.model.Folder> getFolders(long parentFolderId, boolean includeMountfolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFolders in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFoldersAndFileEntries

      public List<Object> getFoldersAndFileEntries(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
      Specified by:
      getFoldersAndFileEntries in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
    • getFoldersAndFileEntries

      public List<Object> getFoldersAndFileEntries(long folderId, String[] mimeTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFoldersAndFileEntries in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFoldersAndFileEntriesCount

      public int getFoldersAndFileEntriesCount(long folderId)
      Specified by:
      getFoldersAndFileEntriesCount in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
    • getFoldersAndFileEntriesCount

      public int getFoldersAndFileEntriesCount(long folderId, String[] mimeTypes) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFoldersAndFileEntriesCount in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFoldersCount

      public int getFoldersCount(long parentFolderId, boolean includeMountfolders) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFoldersCount in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFoldersFileEntriesCount

      public int getFoldersFileEntriesCount(List<Long> folderIds, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFoldersFileEntriesCount in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLatestVersionId

      public String getLatestVersionId(String objectId)
    • getLogin

      public String getLogin()
    • getMountFolders

      public List<com.liferay.portal.kernel.repository.model.Folder> getMountFolders(long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getMountFolders in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getMountFoldersCount

      public int getMountFoldersCount(long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getMountFoldersCount in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getObjectName

      public String getObjectName(String objectId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getObjectPaths

      public List<String> getObjectPaths(String objectId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRepositoryFileShortcuts

      public List<com.liferay.portal.kernel.repository.model.FileShortcut> getRepositoryFileShortcuts(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getRepositoryFileShortcuts in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSession

      public abstract Session getSession() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSubfolderIds

      public void getSubfolderIds(List<Long> folderIds, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSubfolderIds in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSubfolderIds

      public List<Long> getSubfolderIds(long folderId, boolean recurse) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSubfolderIds in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • initRepository

      public void initRepository() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      initRepository in interface com.liferay.portal.kernel.repository.BaseRepository
      Specified by:
      initRepository in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isCancelCheckOutAllowable

      public boolean isCancelCheckOutAllowable(String objectId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isCheckInAllowable

      public boolean isCheckInAllowable(String objectId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isCheckOutAllowable

      public boolean isCheckOutAllowable(String objectId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isDocumentRetrievableByVersionSeriesId

      public boolean isDocumentRetrievableByVersionSeriesId()
    • isRefreshBeforePermissionCheck

      public boolean isRefreshBeforePermissionCheck()
    • isSupportsMinorVersions

      public boolean isSupportsMinorVersions(String productName)
    • lockFolder

      public com.liferay.portal.kernel.lock.Lock lockFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      lockFolder in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • lockFolder

      public com.liferay.portal.kernel.lock.Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      lockFolder in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolder

      public com.liferay.portal.kernel.repository.model.Folder moveFolder(long userId, long folderId, long newParentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveFolder in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • refreshFileEntryLock

      public com.liferay.portal.kernel.lock.Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      refreshFileEntryLock in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • refreshFolderLock

      public com.liferay.portal.kernel.lock.Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      refreshFolderLock in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • revertFileEntry

      public void revertFileEntry(long userId, long fileEntryId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      revertFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public com.liferay.portal.kernel.search.Hits search(long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      search in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public com.liferay.portal.kernel.search.Hits search(long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      search in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.search.SearchException
      Specified by:
      search in interface com.liferay.portal.kernel.repository.Repository
      Overrides:
      search in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
      Throws:
      com.liferay.portal.kernel.search.SearchException
    • search

      public com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext, com.liferay.portal.kernel.search.Query query) throws com.liferay.portal.kernel.search.SearchException
      Specified by:
      search in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.search.SearchException
    • setCmisRepository

      public void setCmisRepository(BaseCmisRepository baseCmisRepository)
    • toFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry toFileEntry(String objectId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • toFolder

      public com.liferay.portal.kernel.repository.model.Folder toFolder(String objectId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • unlockFolder

      public void unlockFolder(long folderId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      unlockFolder in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Specified by:
      updateFileEntry in class com.liferay.portal.kernel.repository.BaseRepositoryImpl
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(String objectId, String mimeType, Map<String,Object> properties, InputStream inputStream, String sourceFileName, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFileShortcut

      public com.liferay.portal.kernel.repository.model.FileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFileShortcut in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFileShortcuts

      public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFileShortcuts in interface com.liferay.portal.kernel.repository.DocumentRepository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFolder

      public com.liferay.portal.kernel.repository.model.Folder updateFolder(long folderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFolder in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • verifyFileEntryCheckOut

      public boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      verifyFileEntryCheckOut in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • verifyInheritableLock

      public boolean verifyInheritableLock(long folderId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      verifyInheritableLock in interface com.liferay.portal.kernel.repository.Repository
      Throws:
      com.liferay.portal.kernel.exception.PortalException