Liferay 7.0-ce-b4

com.liferay.portal.repository
Class RepositoryProviderImpl

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

public class RepositoryProviderImpl
extends Object
implements RepositoryProvider


Field Summary
protected  DLFileEntryLocalService dlFileEntryLocalService
           
protected  DLFileShortcutLocalService dlFileShortcutLocalService
           
protected  DLFileVersionLocalService dlFileVersionLocalService
           
protected  DLFolderLocalService dlFolderLocalService
           
protected  GroupLocalService groupLocalService
           
protected  RepositoryEntryLocalService repositoryEntryLocalService
           
protected  RepositoryFactory repositoryFactory
           
protected  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)
           
 LocalRepository getFileEntryLocalRepository(long fileEntryId)
           
 Repository getFileEntryRepository(long fileEntryId)
           
protected  long getFileEntryRepositoryId(long fileEntryId)
           
 LocalRepository getFileShortcutLocalRepository(long fileShortcutId)
           
 Repository getFileShortcutRepository(long fileShortcutId)
           
protected  long getFileShortcutRepositoryId(long fileShortcutId)
           
 LocalRepository getFileVersionLocalRepository(long fileVersionId)
           
 Repository getFileVersionRepository(long fileVersionId)
           
protected  long getFileVersionRepositoryId(long fileVersionId)
           
 LocalRepository getFolderLocalRepository(long folderId)
           
 Repository getFolderRepository(long folderId)
           
protected  long getFolderRepositoryId(long folderId)
           
 List<LocalRepository> getGroupLocalRepositories(long groupId)
           
 List<Repository> getGroupRepositories(long groupId)
           
protected  List<Long> getGroupRepositoryIds(long groupId)
           
 LocalRepository getImageLocalRepository(long imageId)
           
 Repository getImageRepository(long imageId)
           
protected  long getImageRepositoryId(long imageId)
           
 LocalRepository getLocalRepository(long repositoryId)
           
 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=DLFileEntryLocalService.class)
protected DLFileEntryLocalService dlFileEntryLocalService

dlFileShortcutLocalService

@BeanReference(type=DLFileShortcutLocalService.class)
protected DLFileShortcutLocalService dlFileShortcutLocalService

dlFileVersionLocalService

@BeanReference(type=DLFileVersionLocalService.class)
protected DLFileVersionLocalService dlFileVersionLocalService

dlFolderLocalService

@BeanReference(type=DLFolderLocalService.class)
protected DLFolderLocalService dlFolderLocalService

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

repositoryEntryLocalService

@BeanReference(type=RepositoryEntryLocalService.class)
protected RepositoryEntryLocalService repositoryEntryLocalService

repositoryFactory

@BeanReference(type=RepositoryFactory.class)
protected RepositoryFactory repositoryFactory

repositoryLocalService

@BeanReference(type=RepositoryLocalService.class)
protected RepositoryLocalService repositoryLocalService
Constructor Detail

RepositoryProviderImpl

public RepositoryProviderImpl()
Method Detail

getFileEntryLocalRepository

public LocalRepository getFileEntryLocalRepository(long fileEntryId)
                                            throws PortalException
Specified by:
getFileEntryLocalRepository in interface RepositoryProvider
Throws:
PortalException

getFileEntryRepository

public Repository getFileEntryRepository(long fileEntryId)
                                  throws PortalException
Specified by:
getFileEntryRepository in interface RepositoryProvider
Throws:
PortalException

getFileShortcutLocalRepository

public LocalRepository getFileShortcutLocalRepository(long fileShortcutId)
                                               throws PortalException
Specified by:
getFileShortcutLocalRepository in interface RepositoryProvider
Throws:
PortalException

getFileShortcutRepository

public Repository getFileShortcutRepository(long fileShortcutId)
                                     throws PortalException
Specified by:
getFileShortcutRepository in interface RepositoryProvider
Throws:
PortalException

getFileVersionLocalRepository

public LocalRepository getFileVersionLocalRepository(long fileVersionId)
                                              throws PortalException
Specified by:
getFileVersionLocalRepository in interface RepositoryProvider
Throws:
PortalException

getFileVersionRepository

public Repository getFileVersionRepository(long fileVersionId)
                                    throws PortalException
Specified by:
getFileVersionRepository in interface RepositoryProvider
Throws:
PortalException

getFolderLocalRepository

public LocalRepository getFolderLocalRepository(long folderId)
                                         throws PortalException
Specified by:
getFolderLocalRepository in interface RepositoryProvider
Throws:
PortalException

getFolderRepository

public Repository getFolderRepository(long folderId)
                               throws PortalException
Specified by:
getFolderRepository in interface RepositoryProvider
Throws:
PortalException

getGroupLocalRepositories

public List<LocalRepository> getGroupLocalRepositories(long groupId)
                                                throws PortalException
Specified by:
getGroupLocalRepositories in interface RepositoryProvider
Throws:
PortalException

getGroupRepositories

public List<Repository> getGroupRepositories(long groupId)
                                      throws PortalException
Specified by:
getGroupRepositories in interface RepositoryProvider
Throws:
PortalException

getImageLocalRepository

public LocalRepository getImageLocalRepository(long imageId)
                                        throws PortalException
Specified by:
getImageLocalRepository in interface RepositoryProvider
Throws:
PortalException

getImageRepository

public Repository getImageRepository(long imageId)
                              throws PortalException
Specified by:
getImageRepository in interface RepositoryProvider
Throws:
PortalException

getLocalRepository

public LocalRepository getLocalRepository(long repositoryId)
                                   throws PortalException
Specified by:
getLocalRepository in interface RepositoryProvider
Throws:
PortalException

getRepository

public Repository getRepository(long repositoryId)
                         throws PortalException
Specified by:
getRepository in interface RepositoryProvider
Throws:
PortalException

checkFileEntryPermissions

protected void checkFileEntryPermissions(long fileEntryId)
                                  throws PortalException
Throws:
PortalException

checkFileShortcutPermissions

protected void checkFileShortcutPermissions(long fileShortcutId)
                                     throws PortalException
Throws:
PortalException

checkFileVersionPermissions

protected void checkFileVersionPermissions(long fileVersionId)
                                    throws PortalException
Throws:
PortalException

checkFolderPermissions

protected void checkFolderPermissions(long folderId)
                               throws PortalException
Throws:
PortalException

checkRepository

protected void checkRepository(long repositoryId)
                        throws PortalException
Throws:
PortalException

checkRepositoryAccess

protected void checkRepositoryAccess(long repositoryId)
                              throws PortalException
Throws:
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 PortalException
Throws:
PortalException

Liferay 7.0-ce-b4