Liferay 7.0-ga1 portal-impl

com.liferay.portal.repository
Class RepositoryProviderImpl

java.lang.Object
  extended by com.liferay.portal.repository.RepositoryProviderImpl
All Implemented Interfaces:
com.liferay.portal.kernel.repository.RepositoryProvider

public class RepositoryProviderImpl
extends Object
implements com.liferay.portal.kernel.repository.RepositoryProvider


Field Summary
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 Summary
RepositoryProviderImpl()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dlFileEntryLocalService

@BeanReference(type=com.liferay.document.library.kernel.service.DLFileEntryLocalService.class)
protected com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService

dlFileShortcutLocalService

@BeanReference(type=com.liferay.document.library.kernel.service.DLFileShortcutLocalService.class)
protected com.liferay.document.library.kernel.service.DLFileShortcutLocalService dlFileShortcutLocalService

dlFileVersionLocalService

@BeanReference(type=com.liferay.document.library.kernel.service.DLFileVersionLocalService.class)
protected com.liferay.document.library.kernel.service.DLFileVersionLocalService dlFileVersionLocalService

dlFolderLocalService

@BeanReference(type=com.liferay.document.library.kernel.service.DLFolderLocalService.class)
protected com.liferay.document.library.kernel.service.DLFolderLocalService dlFolderLocalService

groupLocalService

@BeanReference(type=com.liferay.portal.kernel.service.GroupLocalService.class)
protected com.liferay.portal.kernel.service.GroupLocalService groupLocalService

repositoryEntryLocalService

@BeanReference(type=com.liferay.portal.kernel.service.RepositoryEntryLocalService.class)
protected com.liferay.portal.kernel.service.RepositoryEntryLocalService repositoryEntryLocalService

repositoryFactory

@BeanReference(type=com.liferay.portal.kernel.repository.RepositoryFactory.class)
protected com.liferay.portal.kernel.repository.RepositoryFactory repositoryFactory

repositoryLocalService

@BeanReference(type=com.liferay.portal.kernel.service.RepositoryLocalService.class)
protected com.liferay.portal.kernel.service.RepositoryLocalService repositoryLocalService
Constructor Detail

RepositoryProviderImpl

public RepositoryProviderImpl()
Method Detail

getFileEntryLocalRepository

public com.liferay.portal.kernel.repository.LocalRepository getFileEntryLocalRepository(long fileEntryId)
                                                                                 throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileEntryLocalRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileEntryRepository

public com.liferay.portal.kernel.repository.Repository getFileEntryRepository(long fileEntryId)
                                                                       throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileEntryRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileShortcutLocalRepository

public com.liferay.portal.kernel.repository.LocalRepository getFileShortcutLocalRepository(long fileShortcutId)
                                                                                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileShortcutLocalRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileShortcutRepository

public com.liferay.portal.kernel.repository.Repository getFileShortcutRepository(long fileShortcutId)
                                                                          throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileShortcutRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileVersionLocalRepository

public com.liferay.portal.kernel.repository.LocalRepository getFileVersionLocalRepository(long fileVersionId)
                                                                                   throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileVersionLocalRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileVersionRepository

public com.liferay.portal.kernel.repository.Repository getFileVersionRepository(long fileVersionId)
                                                                         throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileVersionRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getFolderLocalRepository

public com.liferay.portal.kernel.repository.LocalRepository getFolderLocalRepository(long folderId)
                                                                              throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFolderLocalRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getFolderRepository

public com.liferay.portal.kernel.repository.Repository getFolderRepository(long folderId)
                                                                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFolderRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupLocalRepositories

public List<com.liferay.portal.kernel.repository.LocalRepository> getGroupLocalRepositories(long groupId)
                                                                                     throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getGroupLocalRepositories in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupRepositories

public List<com.liferay.portal.kernel.repository.Repository> getGroupRepositories(long groupId)
                                                                           throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getGroupRepositories in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getImageLocalRepository

public com.liferay.portal.kernel.repository.LocalRepository getImageLocalRepository(long imageId)
                                                                             throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getImageLocalRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getImageRepository

public com.liferay.portal.kernel.repository.Repository getImageRepository(long imageId)
                                                                   throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getImageRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getLocalRepository

public com.liferay.portal.kernel.repository.LocalRepository getLocalRepository(long repositoryId)
                                                                        throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getLocalRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

getRepository

public com.liferay.portal.kernel.repository.Repository getRepository(long repositoryId)
                                                              throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getRepository in interface com.liferay.portal.kernel.repository.RepositoryProvider
Throws:
com.liferay.portal.kernel.exception.PortalException

checkFileEntryPermissions

protected void checkFileEntryPermissions(long fileEntryId)
                                  throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

checkFileShortcutPermissions

protected void checkFileShortcutPermissions(long fileShortcutId)
                                     throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

checkFileVersionPermissions

protected void checkFileVersionPermissions(long fileVersionId)
                                    throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

checkFolderPermissions

protected void checkFolderPermissions(long folderId)
                               throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

checkRepository

protected void checkRepository(long repositoryId)
                        throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

checkRepositoryAccess

protected void checkRepositoryAccess(long repositoryId)
                              throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileEntryRepositoryId

protected long getFileEntryRepositoryId(long fileEntryId)

getFileShortcutRepositoryId

protected long getFileShortcutRepositoryId(long fileShortcutId)

getFileVersionRepositoryId

protected long getFileVersionRepositoryId(long fileVersionId)

getFolderRepositoryId

protected long getFolderRepositoryId(long folderId)

getGroupRepositoryIds

protected List<Long> getGroupRepositoryIds(long groupId)

getImageRepositoryId

protected long getImageRepositoryId(long imageId)
                             throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ga1 portal-impl