public class RepositoryProviderImpl
extends Object
implements com.liferay.portal.kernel.repository.RepositoryProvider
Modifier and Type | Field and Description |
---|---|
protected com.liferay.document.library.kernel.service.DLFileEntryLocalService |
dlFileEntryLocalService |
protected com.liferay.document.library.kernel.service.DLFileShortcutLocalService |
dlFileShortcutLocalService |
protected com.liferay.document.library.kernel.service.DLFileVersionLocalService |
dlFileVersionLocalService |
protected com.liferay.document.library.kernel.service.DLFolderLocalService |
dlFolderLocalService |
protected com.liferay.portal.kernel.service.GroupLocalService |
groupLocalService |
protected com.liferay.portal.kernel.service.RepositoryEntryLocalService |
repositoryEntryLocalService |
protected com.liferay.portal.kernel.repository.RepositoryFactory |
repositoryFactory |
protected com.liferay.portal.kernel.service.RepositoryLocalService |
repositoryLocalService |
Constructor and Description |
---|
RepositoryProviderImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkFileEntryPermissions(long fileEntryId) |
protected void |
checkFileShortcutPermissions(long fileShortcutId) |
protected void |
checkFileVersionPermissions(long fileVersionId) |
protected void |
checkFolderPermissions(long folderId) |
protected void |
checkRepository(long repositoryId) |
protected void |
checkRepositoryAccess(long repositoryId) |
com.liferay.portal.kernel.repository.LocalRepository |
getFileEntryLocalRepository(long fileEntryId) |
com.liferay.portal.kernel.repository.Repository |
getFileEntryRepository(long fileEntryId) |
protected long |
getFileEntryRepositoryId(long fileEntryId) |
com.liferay.portal.kernel.repository.LocalRepository |
getFileShortcutLocalRepository(long fileShortcutId) |
com.liferay.portal.kernel.repository.Repository |
getFileShortcutRepository(long fileShortcutId) |
protected long |
getFileShortcutRepositoryId(long fileShortcutId) |
com.liferay.portal.kernel.repository.LocalRepository |
getFileVersionLocalRepository(long fileVersionId) |
com.liferay.portal.kernel.repository.Repository |
getFileVersionRepository(long fileVersionId) |
protected long |
getFileVersionRepositoryId(long fileVersionId) |
com.liferay.portal.kernel.repository.LocalRepository |
getFolderLocalRepository(long folderId) |
com.liferay.portal.kernel.repository.Repository |
getFolderRepository(long folderId) |
protected long |
getFolderRepositoryId(long folderId) |
List<com.liferay.portal.kernel.repository.LocalRepository> |
getGroupLocalRepositories(long groupId) |
List<com.liferay.portal.kernel.repository.Repository> |
getGroupRepositories(long groupId) |
protected List<Long> |
getGroupRepositoryIds(long groupId) |
com.liferay.portal.kernel.repository.LocalRepository |
getImageLocalRepository(long imageId) |
com.liferay.portal.kernel.repository.Repository |
getImageRepository(long imageId) |
protected long |
getImageRepositoryId(long imageId) |
com.liferay.portal.kernel.repository.LocalRepository |
getLocalRepository(long repositoryId) |
com.liferay.portal.kernel.repository.Repository |
getRepository(long repositoryId) |
@BeanReference(type=com.liferay.document.library.kernel.service.DLFileEntryLocalService.class) protected com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService
@BeanReference(type=com.liferay.document.library.kernel.service.DLFileShortcutLocalService.class) protected com.liferay.document.library.kernel.service.DLFileShortcutLocalService dlFileShortcutLocalService
@BeanReference(type=com.liferay.document.library.kernel.service.DLFileVersionLocalService.class) protected com.liferay.document.library.kernel.service.DLFileVersionLocalService dlFileVersionLocalService
@BeanReference(type=com.liferay.document.library.kernel.service.DLFolderLocalService.class) protected com.liferay.document.library.kernel.service.DLFolderLocalService dlFolderLocalService
@BeanReference(type=com.liferay.portal.kernel.service.GroupLocalService.class) protected com.liferay.portal.kernel.service.GroupLocalService groupLocalService
@BeanReference(type=com.liferay.portal.kernel.service.RepositoryEntryLocalService.class) protected com.liferay.portal.kernel.service.RepositoryEntryLocalService repositoryEntryLocalService
@BeanReference(type=com.liferay.portal.kernel.repository.RepositoryFactory.class) protected com.liferay.portal.kernel.repository.RepositoryFactory repositoryFactory
@BeanReference(type=com.liferay.portal.kernel.service.RepositoryLocalService.class) protected com.liferay.portal.kernel.service.RepositoryLocalService repositoryLocalService
public com.liferay.portal.kernel.repository.LocalRepository getFileEntryLocalRepository(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
getFileEntryLocalRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.Repository getFileEntryRepository(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
getFileEntryRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.LocalRepository getFileShortcutLocalRepository(long fileShortcutId) throws com.liferay.portal.kernel.exception.PortalException
getFileShortcutLocalRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.Repository getFileShortcutRepository(long fileShortcutId) throws com.liferay.portal.kernel.exception.PortalException
getFileShortcutRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.LocalRepository getFileVersionLocalRepository(long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
getFileVersionLocalRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.Repository getFileVersionRepository(long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
getFileVersionRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.LocalRepository getFolderLocalRepository(long folderId) throws com.liferay.portal.kernel.exception.PortalException
getFolderLocalRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.Repository getFolderRepository(long folderId) throws com.liferay.portal.kernel.exception.PortalException
getFolderRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.repository.LocalRepository> getGroupLocalRepositories(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getGroupLocalRepositories
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.repository.Repository> getGroupRepositories(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getGroupRepositories
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.LocalRepository getImageLocalRepository(long imageId) throws com.liferay.portal.kernel.exception.PortalException
getImageLocalRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.Repository getImageRepository(long imageId) throws com.liferay.portal.kernel.exception.PortalException
getImageRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.LocalRepository getLocalRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
getLocalRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.Repository getRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
getRepository
in interface com.liferay.portal.kernel.repository.RepositoryProvider
com.liferay.portal.kernel.exception.PortalException
protected void checkFileEntryPermissions(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void checkFileShortcutPermissions(long fileShortcutId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void checkFileVersionPermissions(long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void checkFolderPermissions(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void checkRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void checkRepositoryAccess(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected long getFileEntryRepositoryId(long fileEntryId)
protected long getFileShortcutRepositoryId(long fileShortcutId)
protected long getFileVersionRepositoryId(long fileVersionId)
protected long getFolderRepositoryId(long folderId)
protected List<Long> getGroupRepositoryIds(long groupId)
protected long getImageRepositoryId(long imageId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException