Liferay 6.0.4

com.liferay.portlet.documentlibrary.service
Class DLFolderLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil

public class DLFolderLocalServiceUtil
extends Object

This class provides static methods for the DLFolderLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

See Also:
DLFolderLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

Constructor Detail

DLFolderLocalServiceUtil

public DLFolderLocalServiceUtil()
Method Detail

addDLFolder

public static DLFolder addDLFolder(DLFolder dlFolder)
                            throws SystemException
Throws:
SystemException

createDLFolder

public static DLFolder createDLFolder(long folderId)

deleteDLFolder

public static void deleteDLFolder(long folderId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deleteDLFolder

public static void deleteDLFolder(DLFolder dlFolder)
                           throws SystemException
Throws:
SystemException

dynamicQuery

public static List dynamicQuery(DynamicQuery dynamicQuery)
                         throws SystemException
Throws:
SystemException

dynamicQuery

public static List dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
                         throws SystemException
Throws:
SystemException

dynamicQuery

public static List dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getDLFolder

public static DLFolder getDLFolder(long folderId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getDLFolderByUuidAndGroupId

public static DLFolder getDLFolderByUuidAndGroupId(String uuid,
                                                   long groupId)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

getDLFolders

public static List<DLFolder> getDLFolders(int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

getDLFoldersCount

public static int getDLFoldersCount()
                             throws SystemException
Throws:
SystemException

updateDLFolder

public static DLFolder updateDLFolder(DLFolder dlFolder)
                               throws SystemException
Throws:
SystemException

updateDLFolder

public static DLFolder updateDLFolder(DLFolder dlFolder,
                                      boolean merge)
                               throws SystemException
Throws:
SystemException

addFolder

public static DLFolder addFolder(long userId,
                                 long groupId,
                                 long parentFolderId,
                                 String name,
                                 String description,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

addFolderResources

public static void addFolderResources(DLFolder folder,
                                      boolean addCommunityPermissions,
                                      boolean addGuestPermissions)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

addFolderResources

public static void addFolderResources(DLFolder folder,
                                      String[] communityPermissions,
                                      String[] guestPermissions)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

addFolderResources

public static void addFolderResources(long folderId,
                                      boolean addCommunityPermissions,
                                      boolean addGuestPermissions)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

addFolderResources

public static void addFolderResources(long folderId,
                                      String[] communityPermissions,
                                      String[] guestPermissions)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

deleteFolder

public static void deleteFolder(DLFolder folder)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteFolder

public static void deleteFolder(long folderId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteFolders

public static void deleteFolders(long groupId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getCompanyFolders

public static List<DLFolder> getCompanyFolders(long companyId,
                                               int start,
                                               int end)
                                        throws SystemException
Throws:
SystemException

getCompanyFoldersCount

public static int getCompanyFoldersCount(long companyId)
                                  throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcuts

public static List<Object> getFileEntriesAndFileShortcuts(long groupId,
                                                          List<Long> folderIds,
                                                          int status,
                                                          int start,
                                                          int end)
                                                   throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcuts

public static List<Object> getFileEntriesAndFileShortcuts(long groupId,
                                                          long folderId,
                                                          int status,
                                                          int start,
                                                          int end)
                                                   throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcutsCount

public static int getFileEntriesAndFileShortcutsCount(long groupId,
                                                      List<Long> folderIds,
                                                      int status)
                                               throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcutsCount

public static int getFileEntriesAndFileShortcutsCount(long groupId,
                                                      long folderId,
                                                      int status)
                                               throws SystemException
Throws:
SystemException

getFolder

public static DLFolder getFolder(long folderId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getFolder

public static DLFolder getFolder(long groupId,
                                 long parentFolderId,
                                 String name)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getFolders

public static List<DLFolder> getFolders(long companyId)
                                 throws SystemException
Throws:
SystemException

getFolders

public static List<DLFolder> getFolders(long groupId,
                                        long parentFolderId)
                                 throws SystemException
Throws:
SystemException

getFolders

public static List<DLFolder> getFolders(long groupId,
                                        long parentFolderId,
                                        int start,
                                        int end)
                                 throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcuts

public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                                    List<Long> folderIds,
                                                                    int status,
                                                                    int start,
                                                                    int end)
                                                             throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcuts

public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                                    long folderId,
                                                                    int status,
                                                                    int start,
                                                                    int end)
                                                             throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public static int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                                List<Long> folderIds,
                                                                int status)
                                                         throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public static int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                                long folderId,
                                                                int status)
                                                         throws SystemException
Throws:
SystemException

getFoldersCount

public static int getFoldersCount(long groupId,
                                  long parentFolderId)
                           throws SystemException
Throws:
SystemException

getSubfolderIds

public static void getSubfolderIds(List<Long> folderIds,
                                   long groupId,
                                   long folderId)
                            throws SystemException
Throws:
SystemException

updateFolder

public static DLFolder updateFolder(long folderId,
                                    long parentFolderId,
                                    String name,
                                    String description,
                                    ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getService

public static DLFolderLocalService getService()

setService

public void setService(DLFolderLocalService service)

Liferay 6.0.4