Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.service
Class DLFolderServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFolderServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<DLFolderService>, DLFolderService

@ProviderType
public class DLFolderServiceWrapper
extends Object
implements DLFolderService, ServiceWrapper<DLFolderService>

Provides a wrapper for DLFolderService.

See Also:
DLFolderService

Constructor Summary
DLFolderServiceWrapper(DLFolderService dlFolderService)
           
 
Method Summary
 DLFolder addFolder(long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void deleteFolder(long folderId)
           
 void deleteFolder(long folderId, boolean includeTrashedEntries)
           
 void deleteFolder(long groupId, long parentFolderId, String name)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end)
           
 int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status)
           
 int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes)
           
 DLFolder getFolder(long folderId)
           
 DLFolder getFolder(long groupId, long parentFolderId, String name)
           
 List<Long> getFolderIds(long groupId, long folderId)
           
 List<DLFolder> getFolders(long groupId, long parentFolderId, int status, boolean includeMountfolders, int start, int end, OrderByComparator obc)
           
 List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc)
           
 List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator obc)
           
 List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator obc)
           
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, boolean includeMountFolders)
           
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 int getFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders)
           
 List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc)
           
 int getMountFoldersCount(long groupId, long parentFolderId)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
          Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse)
           
 List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
           
 DLFolderService getWrappedDLFolderService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 DLFolderService getWrappedService()
           
 boolean hasFolderLock(long folderId)
           
 boolean hasInheritableLock(long folderId)
           
 boolean isFolderLocked(long folderId)
           
 Lock lockFolder(long folderId)
           
 Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime)
           
 DLFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext)
           
 Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDLFolderService(DLFolderService dlFolderService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLFolderService)
 void setWrappedService(DLFolderService dlFolderService)
           
 void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid)
           
 void unlockFolder(long folderId, String lockUuid)
           
 DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext)
           
 boolean verifyInheritableLock(long folderId, String lockUuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFolderServiceWrapper

public DLFolderServiceWrapper(DLFolderService dlFolderService)
Method Detail

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface DLFolderService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface DLFolderService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addFolder

public DLFolder addFolder(long groupId,
                          long repositoryId,
                          boolean mountPoint,
                          long parentFolderId,
                          String name,
                          String description,
                          ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Specified by:
addFolder in interface DLFolderService
Throws:
PortalException
SystemException

deleteFolder

public void deleteFolder(long folderId)
                  throws PortalException,
                         SystemException
Specified by:
deleteFolder in interface DLFolderService
Throws:
PortalException
SystemException

deleteFolder

public void deleteFolder(long folderId,
                         boolean includeTrashedEntries)
                  throws PortalException,
                         SystemException
Specified by:
deleteFolder in interface DLFolderService
Throws:
PortalException
SystemException

deleteFolder

public void deleteFolder(long groupId,
                         long parentFolderId,
                         String name)
                  throws PortalException,
                         SystemException
Specified by:
deleteFolder in interface DLFolderService
Throws:
PortalException
SystemException

getFileEntriesAndFileShortcuts

public List<Object> getFileEntriesAndFileShortcuts(long groupId,
                                                   long folderId,
                                                   int status,
                                                   int start,
                                                   int end)
                                            throws PortalException,
                                                   SystemException
Specified by:
getFileEntriesAndFileShortcuts in interface DLFolderService
Throws:
PortalException
SystemException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long groupId,
                                               long folderId,
                                               int status)
                                        throws PortalException,
                                               SystemException
Specified by:
getFileEntriesAndFileShortcutsCount in interface DLFolderService
Throws:
PortalException
SystemException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long groupId,
                                               long folderId,
                                               int status,
                                               String[] mimeTypes)
                                        throws PortalException,
                                               SystemException
Specified by:
getFileEntriesAndFileShortcutsCount in interface DLFolderService
Throws:
PortalException
SystemException

getFolder

public DLFolder getFolder(long folderId)
                   throws PortalException,
                          SystemException
Specified by:
getFolder in interface DLFolderService
Throws:
PortalException
SystemException

getFolder

public DLFolder getFolder(long groupId,
                          long parentFolderId,
                          String name)
                   throws PortalException,
                          SystemException
Specified by:
getFolder in interface DLFolderService
Throws:
PortalException
SystemException

getFolderIds

public List<Long> getFolderIds(long groupId,
                               long folderId)
                        throws PortalException,
                               SystemException
Specified by:
getFolderIds in interface DLFolderService
Throws:
PortalException
SystemException

getFolders

public List<DLFolder> getFolders(long groupId,
                                 long parentFolderId,
                                 int status,
                                 boolean includeMountfolders,
                                 int start,
                                 int end,
                                 OrderByComparator obc)
                          throws PortalException,
                                 SystemException
Specified by:
getFolders in interface DLFolderService
Throws:
PortalException
SystemException

getFolders

public List<DLFolder> getFolders(long groupId,
                                 long parentFolderId,
                                 int start,
                                 int end,
                                 OrderByComparator obc)
                          throws PortalException,
                                 SystemException
Specified by:
getFolders in interface DLFolderService
Throws:
PortalException
SystemException

getFoldersAndFileEntriesAndFileShortcuts

public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                             long folderId,
                                                             int status,
                                                             boolean includeMountFolders,
                                                             int start,
                                                             int end,
                                                             OrderByComparator obc)
                                                      throws PortalException,
                                                             SystemException
Specified by:
getFoldersAndFileEntriesAndFileShortcuts in interface DLFolderService
Throws:
PortalException
SystemException

getFoldersAndFileEntriesAndFileShortcuts

public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                             long folderId,
                                                             int status,
                                                             String[] mimeTypes,
                                                             boolean includeMountFolders,
                                                             int start,
                                                             int end,
                                                             OrderByComparator obc)
                                                      throws PortalException,
                                                             SystemException
Specified by:
getFoldersAndFileEntriesAndFileShortcuts in interface DLFolderService
Throws:
PortalException
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                         long folderId,
                                                         int status,
                                                         boolean includeMountFolders)
                                                  throws PortalException,
                                                         SystemException
Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount in interface DLFolderService
Throws:
PortalException
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                         long folderId,
                                                         int status,
                                                         String[] mimeTypes,
                                                         boolean includeMountFolders)
                                                  throws PortalException,
                                                         SystemException
Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount in interface DLFolderService
Throws:
PortalException
SystemException

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId)
                    throws PortalException,
                           SystemException
Specified by:
getFoldersCount in interface DLFolderService
Throws:
PortalException
SystemException

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId,
                           int status,
                           boolean includeMountfolders)
                    throws PortalException,
                           SystemException
Specified by:
getFoldersCount in interface DLFolderService
Throws:
PortalException
SystemException

getMountFolders

public List<DLFolder> getMountFolders(long groupId,
                                      long parentFolderId,
                                      int start,
                                      int end,
                                      OrderByComparator obc)
                               throws PortalException,
                                      SystemException
Specified by:
getMountFolders in interface DLFolderService
Throws:
PortalException
SystemException

getMountFoldersCount

public int getMountFoldersCount(long groupId,
                                long parentFolderId)
                         throws PortalException,
                                SystemException
Specified by:
getMountFoldersCount in interface DLFolderService
Throws:
PortalException
SystemException

getSubfolderIds

@Deprecated
public void getSubfolderIds(List<Long> folderIds,
                                       long groupId,
                                       long folderId)
                     throws PortalException,
                            SystemException
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)

Specified by:
getSubfolderIds in interface DLFolderService
Throws:
PortalException
SystemException

getSubfolderIds

public void getSubfolderIds(List<Long> folderIds,
                            long groupId,
                            long folderId,
                            boolean recurse)
                     throws PortalException,
                            SystemException
Specified by:
getSubfolderIds in interface DLFolderService
Throws:
PortalException
SystemException

getSubfolderIds

public List<Long> getSubfolderIds(long groupId,
                                  long folderId,
                                  boolean recurse)
                           throws PortalException,
                                  SystemException
Specified by:
getSubfolderIds in interface DLFolderService
Throws:
PortalException
SystemException

hasFolderLock

public boolean hasFolderLock(long folderId)
                      throws PortalException,
                             SystemException
Specified by:
hasFolderLock in interface DLFolderService
Throws:
PortalException
SystemException

hasInheritableLock

public boolean hasInheritableLock(long folderId)
                           throws PortalException,
                                  SystemException
Specified by:
hasInheritableLock in interface DLFolderService
Throws:
PortalException
SystemException

isFolderLocked

public boolean isFolderLocked(long folderId)
                       throws SystemException
Specified by:
isFolderLocked in interface DLFolderService
Throws:
SystemException

lockFolder

public Lock lockFolder(long folderId)
                throws PortalException,
                       SystemException
Specified by:
lockFolder in interface DLFolderService
Throws:
PortalException
SystemException

lockFolder

public Lock lockFolder(long folderId,
                       String owner,
                       boolean inheritable,
                       long expirationTime)
                throws PortalException,
                       SystemException
Specified by:
lockFolder in interface DLFolderService
Throws:
PortalException
SystemException

moveFolder

public DLFolder moveFolder(long folderId,
                           long parentFolderId,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
moveFolder in interface DLFolderService
Throws:
PortalException
SystemException

refreshFolderLock

public Lock refreshFolderLock(String lockUuid,
                              long companyId,
                              long expirationTime)
                       throws PortalException,
                              SystemException
Specified by:
refreshFolderLock in interface DLFolderService
Throws:
PortalException
SystemException

unlockFolder

public void unlockFolder(long groupId,
                         long parentFolderId,
                         String name,
                         String lockUuid)
                  throws PortalException,
                         SystemException
Specified by:
unlockFolder in interface DLFolderService
Throws:
PortalException
SystemException

unlockFolder

public void unlockFolder(long folderId,
                         String lockUuid)
                  throws PortalException,
                         SystemException
Specified by:
unlockFolder in interface DLFolderService
Throws:
PortalException
SystemException

updateFolder

public DLFolder updateFolder(long folderId,
                             String name,
                             String description,
                             long defaultFileEntryTypeId,
                             List<Long> fileEntryTypeIds,
                             boolean overrideFileEntryTypes,
                             ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Specified by:
updateFolder in interface DLFolderService
Throws:
PortalException
SystemException

verifyInheritableLock

public boolean verifyInheritableLock(long folderId,
                                     String lockUuid)
                              throws PortalException,
                                     SystemException
Specified by:
verifyInheritableLock in interface DLFolderService
Throws:
PortalException
SystemException

getWrappedDLFolderService

public DLFolderService getWrappedDLFolderService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedDLFolderService

public void setWrappedDLFolderService(DLFolderService dlFolderService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLFolderService)


getWrappedService

public DLFolderService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DLFolderService>

setWrappedService

public void setWrappedService(DLFolderService dlFolderService)
Specified by:
setWrappedService in interface ServiceWrapper<DLFolderService>

Liferay 6.2-ce-ga5