com.liferay.portlet.imagegallery.service
Class IGFolderLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.imagegallery.service.IGFolderLocalServiceUtil

public class IGFolderLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.imagegallery.service.IGFolderLocalService 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.

Author:
Brian Wing Shun Chan
See Also:
IGFolderLocalService

Constructor Summary
IGFolderLocalServiceUtil()
           
 
Method Summary
static IGFolder addFolder(long userId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
static IGFolder addFolder(java.lang.String uuid, long userId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
static void addFolderResources(IGFolder folder, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addFolderResources(IGFolder folder, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static void addFolderResources(long folderId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addFolderResources(long folderId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static IGFolder addIGFolder(IGFolder igFolder)
           
static IGFolder createIGFolder(long folderId)
           
static void deleteFolder(IGFolder folder)
           
static void deleteFolder(long folderId)
           
static void deleteFolders(long groupId)
           
static void deleteIGFolder(IGFolder igFolder)
           
static void deleteIGFolder(long folderId)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static IGFolder getFolder(long folderId)
           
static IGFolder getFolder(long groupId, long parentFolderId, java.lang.String name)
           
static java.util.List<IGFolder> getFolders(long groupId)
           
static java.util.List<IGFolder> getFolders(long groupId, long parentFolderId)
           
static java.util.List<IGFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
static int getFoldersCount(long groupId, long parentFolderId)
           
static IGFolder getIGFolder(long folderId)
           
static java.util.List<IGFolder> getIGFolders(int start, int end)
           
static int getIGFoldersCount()
           
static IGFolderLocalService getService()
           
static void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
           
static void reIndex(java.lang.String[] ids)
           
static com.liferay.portal.kernel.search.Hits search(long companyId, long groupId, long[] folderIds, java.lang.String keywords, int start, int end)
           
 void setService(IGFolderLocalService service)
           
static IGFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder)
           
static IGFolder updateIGFolder(IGFolder igFolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGFolderLocalServiceUtil

public IGFolderLocalServiceUtil()
Method Detail

addIGFolder

public static IGFolder addIGFolder(IGFolder igFolder)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createIGFolder

public static IGFolder createIGFolder(long folderId)

deleteIGFolder

public static void deleteIGFolder(long folderId)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteIGFolder

public static void deleteIGFolder(IGFolder igFolder)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getIGFolder

public static IGFolder getIGFolder(long folderId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getIGFolders

public static java.util.List<IGFolder> getIGFolders(int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getIGFoldersCount

public static int getIGFoldersCount()
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateIGFolder

public static IGFolder updateIGFolder(IGFolder igFolder)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addFolder

public static IGFolder addFolder(long userId,
                                 long parentFolderId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 ServiceContext serviceContext)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolder

public static IGFolder addFolder(java.lang.String uuid,
                                 long userId,
                                 long parentFolderId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 ServiceContext serviceContext)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolderResources

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

addFolderResources

public static void addFolderResources(IGFolder folder,
                                      boolean addCommunityPermissions,
                                      boolean addGuestPermissions)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolderResources

public static void addFolderResources(long folderId,
                                      java.lang.String[] communityPermissions,
                                      java.lang.String[] guestPermissions)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolderResources

public static void addFolderResources(IGFolder folder,
                                      java.lang.String[] communityPermissions,
                                      java.lang.String[] guestPermissions)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFolder

public static void deleteFolder(long folderId)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFolder

public static void deleteFolder(IGFolder folder)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFolders

public static void deleteFolders(long groupId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFolder

public static IGFolder getFolder(long folderId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFolder

public static IGFolder getFolder(long groupId,
                                 long parentFolderId,
                                 java.lang.String name)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFolders

public static java.util.List<IGFolder> getFolders(long groupId)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFolders

public static java.util.List<IGFolder> getFolders(long groupId,
                                                  long parentFolderId)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFolders

public static java.util.List<IGFolder> getFolders(long groupId,
                                                  long parentFolderId,
                                                  int start,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFoldersCount

public static int getFoldersCount(long groupId,
                                  long parentFolderId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSubfolderIds

public static void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
                                   long groupId,
                                   long folderId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

reIndex

public static void reIndex(java.lang.String[] ids)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

public static com.liferay.portal.kernel.search.Hits search(long companyId,
                                                           long groupId,
                                                           long[] folderIds,
                                                           java.lang.String keywords,
                                                           int start,
                                                           int end)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateFolder

public static IGFolder updateFolder(long folderId,
                                    long parentFolderId,
                                    java.lang.String name,
                                    java.lang.String description,
                                    boolean mergeWithParentFolder)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getService

public static IGFolderLocalService getService()

setService

public void setService(IGFolderLocalService service)