001
014
015 package com.liferay.portal.kernel.repository;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018
019 import java.util.List;
020
021
024 public interface RepositoryProvider {
025
026 public LocalRepository getFileEntryLocalRepository(long fileEntryId)
027 throws PortalException;
028
029 public Repository getFileEntryRepository(long fileEntryId)
030 throws PortalException;
031
032 public LocalRepository getFileShortcutLocalRepository(long fileShortcutId)
033 throws PortalException;
034
035 public Repository getFileShortcutRepository(
036 long fileShortcutId) throws PortalException;
037
038 public LocalRepository getFileVersionLocalRepository(long fileVersionId)
039 throws PortalException;
040
041 public Repository getFileVersionRepository(
042 long fileVersionId) throws PortalException;
043
044 public LocalRepository getFolderLocalRepository(long folderId)
045 throws PortalException;
046
047 public Repository getFolderRepository(long folderId) throws PortalException;
048
049 public List<LocalRepository> getGroupLocalRepositories(long groupId)
050 throws PortalException;
051
052 public List<Repository> getGroupRepositories(long groupId)
053 throws PortalException;
054
055 public LocalRepository getImageLocalRepository(long imageId)
056 throws PortalException;
057
058 public Repository getImageRepository(long imageId) throws PortalException;
059
060 public LocalRepository getLocalRepository(long repositoryId)
061 throws PortalException;
062
063 public Repository getRepository(long repositoryId) throws PortalException;
064
065 }