com.liferay.portlet.imagegallery.service
Interface IGFolderLocalService


public interface IGFolderLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
IGFolderLocalServiceUtil

Method Summary
 IGFolder addFolder(long userId, long plid, long parentFolderId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 IGFolder addFolder(long userId, long plid, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 IGFolder addFolder(java.lang.String uuid, long userId, long plid, long parentFolderId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 IGFolder addFolder(java.lang.String uuid, long userId, long plid, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFolderResources(IGFolder folder, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(IGFolder 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)
           
 IGFolder addFolderToGroup(java.lang.String uuid, long userId, long groupId, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 IGFolder addIGFolder(IGFolder igFolder)
           
 void deleteFolder(IGFolder folder)
           
 void deleteFolder(long folderId)
           
 void deleteFolders(long groupId)
           
 void deleteIGFolder(IGFolder igFolder)
           
 void deleteIGFolder(long folderId)
           
 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)
           
 IGFolder getFolder(long folderId)
           
 IGFolder getFolder(long groupId, long parentFolderId, java.lang.String name)
           
 java.util.List<IGFolder> getFolders(long groupId)
           
 java.util.List<IGFolder> getFolders(long groupId, long parentFolderId)
           
 java.util.List<IGFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 IGFolder getIGFolder(long folderId)
           
 java.util.List<IGFolder> getIGFolders(int start, int end)
           
 int getIGFoldersCount()
           
 void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
           
 void reIndex(java.lang.String[] ids)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, long groupId, long[] folderIds, java.lang.String keywords, int start, int end)
           
 IGFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder)
           
 IGFolder updateIGFolder(IGFolder igFolder)
           
 

Method Detail

addIGFolder

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

deleteIGFolder

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

deleteIGFolder

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

dynamicQuery

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

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

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

getIGFolders

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

getIGFoldersCount

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

updateIGFolder

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

addFolder

IGFolder addFolder(long userId,
                   long plid,
                   long parentFolderId,
                   java.lang.String name,
                   java.lang.String description,
                   boolean addCommunityPermissions,
                   boolean addGuestPermissions)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolder

IGFolder addFolder(java.lang.String uuid,
                   long userId,
                   long plid,
                   long parentFolderId,
                   java.lang.String name,
                   java.lang.String description,
                   boolean addCommunityPermissions,
                   boolean addGuestPermissions)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolder

IGFolder addFolder(long userId,
                   long plid,
                   long parentFolderId,
                   java.lang.String name,
                   java.lang.String description,
                   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

addFolder

IGFolder addFolder(java.lang.String uuid,
                   long userId,
                   long plid,
                   long parentFolderId,
                   java.lang.String name,
                   java.lang.String description,
                   java.lang.Boolean addCommunityPermissions,
                   java.lang.Boolean addGuestPermissions,
                   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

addFolderToGroup

IGFolder addFolderToGroup(java.lang.String uuid,
                          long userId,
                          long groupId,
                          long parentFolderId,
                          java.lang.String name,
                          java.lang.String description,
                          java.lang.Boolean addCommunityPermissions,
                          java.lang.Boolean addGuestPermissions,
                          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

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

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

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

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

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

deleteFolder

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

deleteFolders

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

getFolder

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

getFolder

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

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

getFolders

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

getFolders

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

getFoldersCount

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

getSubfolderIds

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

reIndex

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

search

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

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