com.liferay.portlet.documentlibrary.service
Class DLFolderLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceWrapper
All Implemented Interfaces:
DLFolderLocalService

public class DLFolderLocalServiceWrapper
extends java.lang.Object
implements DLFolderLocalService

View Source

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

This class is a wrapper for DLFolderLocalService.

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

Constructor Summary
DLFolderLocalServiceWrapper(DLFolderLocalService dlFolderLocalService)
           
 
Method Summary
 DLFolder addDLFolder(DLFolder dlFolder)
           
 DLFolder addFolder(java.lang.String uuid, long userId, long groupId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 void addFolderResources(DLFolder folder, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(DLFolder folder, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFolderResources(long folderId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(long folderId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 DLFolder createDLFolder(long folderId)
           
 void deleteDLFolder(DLFolder dlFolder)
           
 void deleteDLFolder(long folderId)
           
 void deleteFolder(DLFolder folder)
           
 void deleteFolder(long folderId)
           
 void deleteFolders(long groupId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<DLFolder> getCompanyFolders(long companyId, int start, int end)
           
 int getCompanyFoldersCount(long companyId)
           
 DLFolder getDLFolder(long folderId)
           
 java.util.List<DLFolder> getDLFolders(int start, int end)
           
 int getDLFoldersCount()
           
 java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId, java.util.List<java.lang.Long> folderIds, int status, int start, int end)
           
 java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end)
           
 int getFileEntriesAndFileShortcutsCount(long groupId, java.util.List<java.lang.Long> folderIds, int status)
           
 int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status)
           
 DLFolder getFolder(long folderId)
           
 DLFolder getFolder(long groupId, long parentFolderId, java.lang.String name)
           
 java.util.List<DLFolder> getFolders(long companyId)
           
 java.util.List<DLFolder> getFolders(long groupId, long parentFolderId)
           
 java.util.List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, java.util.List<java.lang.Long> folderIds, int status, int start, int end)
           
 java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end)
           
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, java.util.List<java.lang.Long> folderIds, int status)
           
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
           
 DLFolderLocalService getWrappedDLFolderLocalService()
           
 DLFolder updateDLFolder(DLFolder dlFolder)
           
 DLFolder updateDLFolder(DLFolder dlFolder, boolean merge)
           
 DLFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFolderLocalServiceWrapper

public DLFolderLocalServiceWrapper(DLFolderLocalService dlFolderLocalService)
Method Detail

addDLFolder

public DLFolder addDLFolder(DLFolder dlFolder)
                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addDLFolder in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createDLFolder

public DLFolder createDLFolder(long folderId)
Specified by:
createDLFolder in interface DLFolderLocalService

deleteDLFolder

public void deleteDLFolder(long folderId)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteDLFolder in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteDLFolder

public void deleteDLFolder(DLFolder dlFolder)
                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteDLFolder in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getDLFolder

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

getDLFolders

public java.util.List<DLFolder> getDLFolders(int start,
                                             int end)
                                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getDLFolders in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getDLFoldersCount

public int getDLFoldersCount()
                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getDLFoldersCount in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateDLFolder

public DLFolder updateDLFolder(DLFolder dlFolder)
                        throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateDLFolder in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateDLFolder

public DLFolder updateDLFolder(DLFolder dlFolder,
                               boolean merge)
                        throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateDLFolder in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

addFolder

public DLFolder addFolder(java.lang.String uuid,
                          long userId,
                          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 DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addFolderResources

public void addFolderResources(DLFolder folder,
                               boolean addCommunityPermissions,
                               boolean addGuestPermissions)
                        throws com.liferay.portal.kernel.exception.PortalException,
                               com.liferay.portal.kernel.exception.SystemException
Specified by:
addFolderResources in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addFolderResources

public void addFolderResources(DLFolder folder,
                               java.lang.String[] communityPermissions,
                               java.lang.String[] guestPermissions)
                        throws com.liferay.portal.kernel.exception.PortalException,
                               com.liferay.portal.kernel.exception.SystemException
Specified by:
addFolderResources in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addFolderResources

public void addFolderResources(long folderId,
                               boolean addCommunityPermissions,
                               boolean addGuestPermissions)
                        throws com.liferay.portal.kernel.exception.PortalException,
                               com.liferay.portal.kernel.exception.SystemException
Specified by:
addFolderResources in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addFolderResources

public void addFolderResources(long folderId,
                               java.lang.String[] communityPermissions,
                               java.lang.String[] guestPermissions)
                        throws com.liferay.portal.kernel.exception.PortalException,
                               com.liferay.portal.kernel.exception.SystemException
Specified by:
addFolderResources in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteFolder

public void deleteFolder(DLFolder folder)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteFolder in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteFolder

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

deleteFolders

public void deleteFolders(long groupId)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteFolders in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyFolders

public java.util.List<DLFolder> getCompanyFolders(long companyId,
                                                  int start,
                                                  int end)
                                           throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyFolders in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getCompanyFoldersCount

public int getCompanyFoldersCount(long companyId)
                           throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyFoldersCount in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFileEntriesAndFileShortcuts

public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId,
                                                                       java.util.List<java.lang.Long> folderIds,
                                                                       int status,
                                                                       int start,
                                                                       int end)
                                                                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFileEntriesAndFileShortcuts in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFileEntriesAndFileShortcuts

public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId,
                                                                       long folderId,
                                                                       int status,
                                                                       int start,
                                                                       int end)
                                                                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFileEntriesAndFileShortcuts in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long groupId,
                                               java.util.List<java.lang.Long> folderIds,
                                               int status)
                                        throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFileEntriesAndFileShortcutsCount in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long groupId,
                                               long folderId,
                                               int status)
                                        throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFileEntriesAndFileShortcutsCount in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFolder

public DLFolder getFolder(long folderId)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
getFolder in interface DLFolderLocalService
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 DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getFolders

public java.util.List<DLFolder> getFolders(long companyId)
                                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFolders in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFolders

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

getFolders

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

getFoldersAndFileEntriesAndFileShortcuts

public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                                                 java.util.List<java.lang.Long> folderIds,
                                                                                 int status,
                                                                                 int start,
                                                                                 int end)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFoldersAndFileEntriesAndFileShortcuts in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFoldersAndFileEntriesAndFileShortcuts

public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                                                 long folderId,
                                                                                 int status,
                                                                                 int start,
                                                                                 int end)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFoldersAndFileEntriesAndFileShortcuts in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                         java.util.List<java.lang.Long> folderIds,
                                                         int status)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                         long folderId,
                                                         int status)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId)
                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getFoldersCount in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getSubfolderIds

public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
                            long groupId,
                            long folderId)
                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getSubfolderIds in interface DLFolderLocalService
Throws:
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
Specified by:
updateFolder in interface DLFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedDLFolderLocalService

public DLFolderLocalService getWrappedDLFolderLocalService()