Liferay 6.0-ee-sp2

com.liferay.portlet.imagegallery.service
Interface IGFolderService

All Known Implementing Classes:
IGFolderServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface IGFolderService

The interface for the i g folder remote service.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
IGFolderServiceUtil, com.liferay.portlet.imagegallery.service.base.IGFolderServiceBaseImpl, com.liferay.portlet.imagegallery.service.impl.IGFolderServiceImpl

Method Summary
 IGFolder addFolder(long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 IGFolder copyFolder(long sourceFolderId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void deleteFolder(long folderId)
           
 IGFolder getFolder(long folderId)
           
 IGFolder getFolder(long groupId, long parentFolderId, String name)
           
 List<IGFolder> getFolders(long groupId, long parentFolderId)
           
 List<IGFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
           
 IGFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 

Method Detail

addFolder

IGFolder addFolder(long parentFolderId,
                   String name,
                   String description,
                   ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

copyFolder

IGFolder copyFolder(long sourceFolderId,
                    long parentFolderId,
                    String name,
                    String description,
                    ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteFolder

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

getFolder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
IGFolder getFolder(long folderId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getFolder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
IGFolder getFolder(long groupId,
                                                            long parentFolderId,
                                                            String name)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<IGFolder> getFolders(long groupId,
                                                                   long parentFolderId)
                          throws SystemException
Throws:
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<IGFolder> getFolders(long groupId,
                                                                   long parentFolderId,
                                                                   int start,
                                                                   int end)
                          throws SystemException
Throws:
SystemException

getFoldersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersCount(long groupId,
                                                             long parentFolderId)
                    throws SystemException
Throws:
SystemException

getSubfolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
void getSubfolderIds(List<Long> folderIds,
                                                              long groupId,
                                                              long folderId)
                     throws SystemException
Throws:
SystemException

updateFolder

IGFolder updateFolder(long folderId,
                      long parentFolderId,
                      String name,
                      String description,
                      boolean mergeWithParentFolder,
                      ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

Liferay 6.0-ee-sp2