Liferay 6.0.5

com.liferay.portlet.imagegallery.service
Interface IGFolderService

All Known Implementing Classes:
IGFolderServiceBaseImpl, IGFolderServiceImpl, IGFolderServiceWrapper

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

The interface for the i g folder remote service.

Never modify or reference this interface directly. Always use IGFolderServiceUtil to access the i g folder remote service. Add custom service methods to IGFolderServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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, IGFolderServiceBaseImpl, IGFolderServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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)
           
 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

updateFolder

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

Liferay 6.0.5