com.liferay.portlet.documentlibrary.service
Class DLFolderServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFolderServiceWrapper
All Implemented Interfaces:
DLFolderService

public class DLFolderServiceWrapper
extends java.lang.Object
implements DLFolderService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for DLFolderService.

Author:
Brian Wing Shun Chan
See Also:
DLFolderService
Generated:

Constructor Summary
DLFolderServiceWrapper(DLFolderService dlFolderService)
           
 
Method Summary
 DLFolder addFolder(long groupId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 DLFolder copyFolder(long groupId, long sourceFolderId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 void deleteFolder(long folderId)
           
 void deleteFolder(long groupId, long parentFolderId, java.lang.String name)
           
 DLFolder getFolder(long folderId)
           
 DLFolder getFolder(long groupId, long parentFolderId, java.lang.String name)
           
 long getFolderId(long groupId, long parentFolderId, java.lang.String name)
           
 java.util.List<DLFolder> getFolders(long groupId, long parentFolderId)
           
 DLFolderService getWrappedDLFolderService()
           
 boolean hasInheritableLock(long folderId)
           
 Lock lockFolder(long folderId)
           
 Lock lockFolder(long folderId, java.lang.String owner, boolean inheritable, long expirationTime)
           
 Lock refreshFolderLock(java.lang.String lockUuid, long expirationTime)
           
 void unlockFolder(long groupId, long folderId, java.lang.String lockUuid)
           
 void unlockFolder(long groupId, long parentFolderId, java.lang.String name, java.lang.String lockUuid)
           
 DLFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 boolean verifyInheritableLock(long folderId, java.lang.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

addFolder

public DLFolder addFolder(long groupId,
                          long parentFolderId,
                          java.lang.String name,
                          java.lang.String description,
                          ServiceContext serviceContext)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
addFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

copyFolder

public DLFolder copyFolder(long groupId,
                           long sourceFolderId,
                           long parentFolderId,
                           java.lang.String name,
                           java.lang.String description,
                           ServiceContext serviceContext)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException,
                           java.rmi.RemoteException
Specified by:
copyFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
java.rmi.RemoteException

deleteFolder

public void deleteFolder(long folderId)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException,
                         java.rmi.RemoteException
Specified by:
deleteFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
java.rmi.RemoteException

deleteFolder

public void deleteFolder(long groupId,
                         long parentFolderId,
                         java.lang.String name)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException,
                         java.rmi.RemoteException
Specified by:
deleteFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
java.rmi.RemoteException

getFolder

public DLFolder getFolder(long folderId)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
getFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getFolder

public DLFolder getFolder(long groupId,
                          long parentFolderId,
                          java.lang.String name)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
getFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getFolderId

public long getFolderId(long groupId,
                        long parentFolderId,
                        java.lang.String name)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
getFolderId in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getFolders

public java.util.List<DLFolder> getFolders(long groupId,
                                           long parentFolderId)
                                    throws com.liferay.portal.kernel.exception.PortalException,
                                           com.liferay.portal.kernel.exception.SystemException
Specified by:
getFolders in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

hasInheritableLock

public boolean hasInheritableLock(long folderId)
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Specified by:
hasInheritableLock in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

lockFolder

public Lock lockFolder(long folderId)
                throws com.liferay.portal.kernel.exception.PortalException,
                       com.liferay.portal.kernel.exception.SystemException,
                       java.rmi.RemoteException
Specified by:
lockFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
java.rmi.RemoteException

lockFolder

public Lock lockFolder(long folderId,
                       java.lang.String owner,
                       boolean inheritable,
                       long expirationTime)
                throws com.liferay.portal.kernel.exception.PortalException,
                       com.liferay.portal.kernel.exception.SystemException,
                       java.rmi.RemoteException
Specified by:
lockFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
java.rmi.RemoteException

refreshFolderLock

public Lock refreshFolderLock(java.lang.String lockUuid,
                              long expirationTime)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
refreshFolderLock in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

unlockFolder

public void unlockFolder(long groupId,
                         long folderId,
                         java.lang.String lockUuid)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
unlockFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

unlockFolder

public void unlockFolder(long groupId,
                         long parentFolderId,
                         java.lang.String name,
                         java.lang.String lockUuid)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
unlockFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateFolder

public DLFolder updateFolder(long folderId,
                             long parentFolderId,
                             java.lang.String name,
                             java.lang.String description,
                             ServiceContext serviceContext)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException,
                             java.rmi.RemoteException
Specified by:
updateFolder in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
java.rmi.RemoteException

verifyInheritableLock

public boolean verifyInheritableLock(long folderId,
                                     java.lang.String lockUuid)
                              throws com.liferay.portal.kernel.exception.PortalException,
                                     com.liferay.portal.kernel.exception.SystemException
Specified by:
verifyInheritableLock in interface DLFolderService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedDLFolderService

public DLFolderService getWrappedDLFolderService()