Liferay 6.2-ce-ga5

com.liferay.portal.repository.liferayrepository
Class LiferayRepositoryBase

java.lang.Object
  extended by com.liferay.portal.repository.liferayrepository.util.LiferayBase
      extended by com.liferay.portal.repository.liferayrepository.LiferayRepositoryBase
Direct Known Subclasses:
LiferayLocalRepository, LiferayRepository

public abstract class LiferayRepositoryBase
extends LiferayBase


Field Summary
protected  DLAppHelperLocalService dlAppHelperLocalService
           
protected  DLFileEntryLocalService dlFileEntryLocalService
           
protected  DLFileEntryService dlFileEntryService
           
protected  DLFileEntryTypeLocalService dlFileEntryTypeLocalService
           
protected  DLFileVersionLocalService dlFileVersionLocalService
           
protected  DLFileVersionService dlFileVersionService
           
protected  DLFolderLocalService dlFolderLocalService
           
protected  DLFolderService dlFolderService
           
protected  RepositoryLocalService repositoryLocalService
           
protected  RepositoryService repositoryService
           
protected  ResourceLocalService resourceLocalService
           
 
Constructor Summary
LiferayRepositoryBase(RepositoryLocalService repositoryLocalService, RepositoryService repositoryService, DLAppHelperLocalService dlAppHelperLocalService, DLFileEntryLocalService dlFileEntryLocalService, DLFileEntryService dlFileEntryService, DLFileEntryTypeLocalService dlFileEntryTypeLocalService, DLFileVersionLocalService dlFileVersionLocalService, DLFileVersionService dlFileVersionService, DLFolderLocalService dlFolderLocalService, DLFolderService dlFolderService, ResourceLocalService resourceLocalService, long repositoryId)
           
LiferayRepositoryBase(RepositoryLocalService repositoryLocalService, RepositoryService repositoryService, DLAppHelperLocalService dlAppHelperLocalService, DLFileEntryLocalService dlFileEntryLocalService, DLFileEntryService dlFileEntryService, DLFileEntryTypeLocalService dlFileEntryTypeLocalService, DLFileVersionLocalService dlFileVersionLocalService, DLFileVersionService dlFileVersionService, DLFolderLocalService dlFolderLocalService, DLFolderService dlFolderService, ResourceLocalService resourceLocalService, long folderId, long fileEntryId, long fileVersionId)
           
 
Method Summary
protected  void addFileEntryResources(DLFileEntry dlFileEntry, ServiceContext serviceContext)
           
protected  long getDefaultFileEntryTypeId(ServiceContext serviceContext, long folderId)
           
protected  HashMap<String,Fields> getFieldsMap(ServiceContext serviceContext, long fileEntryTypeId)
           
protected  long getGroupId()
           
protected  SortedArrayList<Long> getLongList(ServiceContext serviceContext, String name)
           
 long getRepositoryId()
           
protected abstract  void initByFileEntryId(long fileEntryId)
           
protected abstract  void initByFileVersionId(long fileVersionId)
           
protected abstract  void initByFolderId(long folderId)
           
protected abstract  void initByRepositoryId(long repositoryId)
           
protected  boolean isDefaultRepository()
           
protected  void setDlFolderId(long dlFolderId)
           
protected  void setGroupId(long groupId)
           
protected  void setRepositoryId(long repositoryId)
           
protected  long toFolderId(long folderId)
           
protected  List<Long> toFolderIds(List<Long> folderIds)
           
 
Methods inherited from class com.liferay.portal.repository.liferayrepository.util.LiferayBase
toFileEntries, toFileEntriesAndFolders, toFileVersions, toFolders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dlAppHelperLocalService

protected DLAppHelperLocalService dlAppHelperLocalService

dlFileEntryLocalService

protected DLFileEntryLocalService dlFileEntryLocalService

dlFileEntryService

protected DLFileEntryService dlFileEntryService

dlFileEntryTypeLocalService

protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService

dlFileVersionLocalService

protected DLFileVersionLocalService dlFileVersionLocalService

dlFileVersionService

protected DLFileVersionService dlFileVersionService

dlFolderLocalService

protected DLFolderLocalService dlFolderLocalService

dlFolderService

protected DLFolderService dlFolderService

repositoryLocalService

protected RepositoryLocalService repositoryLocalService

repositoryService

protected RepositoryService repositoryService

resourceLocalService

protected ResourceLocalService resourceLocalService
Constructor Detail

LiferayRepositoryBase

public LiferayRepositoryBase(RepositoryLocalService repositoryLocalService,
                             RepositoryService repositoryService,
                             DLAppHelperLocalService dlAppHelperLocalService,
                             DLFileEntryLocalService dlFileEntryLocalService,
                             DLFileEntryService dlFileEntryService,
                             DLFileEntryTypeLocalService dlFileEntryTypeLocalService,
                             DLFileVersionLocalService dlFileVersionLocalService,
                             DLFileVersionService dlFileVersionService,
                             DLFolderLocalService dlFolderLocalService,
                             DLFolderService dlFolderService,
                             ResourceLocalService resourceLocalService,
                             long repositoryId)

LiferayRepositoryBase

public LiferayRepositoryBase(RepositoryLocalService repositoryLocalService,
                             RepositoryService repositoryService,
                             DLAppHelperLocalService dlAppHelperLocalService,
                             DLFileEntryLocalService dlFileEntryLocalService,
                             DLFileEntryService dlFileEntryService,
                             DLFileEntryTypeLocalService dlFileEntryTypeLocalService,
                             DLFileVersionLocalService dlFileVersionLocalService,
                             DLFileVersionService dlFileVersionService,
                             DLFolderLocalService dlFolderLocalService,
                             DLFolderService dlFolderService,
                             ResourceLocalService resourceLocalService,
                             long folderId,
                             long fileEntryId,
                             long fileVersionId)
                      throws PrincipalException
Throws:
PrincipalException
Method Detail

getRepositoryId

public long getRepositoryId()

addFileEntryResources

protected void addFileEntryResources(DLFileEntry dlFileEntry,
                                     ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getDefaultFileEntryTypeId

protected long getDefaultFileEntryTypeId(ServiceContext serviceContext,
                                         long folderId)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getFieldsMap

protected HashMap<String,Fields> getFieldsMap(ServiceContext serviceContext,
                                              long fileEntryTypeId)
                                       throws PortalException,
                                              SystemException
Throws:
PortalException
SystemException

getGroupId

protected long getGroupId()

getLongList

protected SortedArrayList<Long> getLongList(ServiceContext serviceContext,
                                            String name)

initByFileEntryId

protected abstract void initByFileEntryId(long fileEntryId)
                                   throws PrincipalException
Throws:
PrincipalException

initByFileVersionId

protected abstract void initByFileVersionId(long fileVersionId)
                                     throws PrincipalException
Throws:
PrincipalException

initByFolderId

protected abstract void initByFolderId(long folderId)
                                throws PrincipalException
Throws:
PrincipalException

initByRepositoryId

protected abstract void initByRepositoryId(long repositoryId)

isDefaultRepository

protected boolean isDefaultRepository()

setDlFolderId

protected void setDlFolderId(long dlFolderId)

setGroupId

protected void setGroupId(long groupId)

setRepositoryId

protected void setRepositoryId(long repositoryId)

toFolderId

protected long toFolderId(long folderId)

toFolderIds

protected List<Long> toFolderIds(List<Long> folderIds)

Liferay 6.2-ce-ga5