com.liferay.portlet.imagegallery.service
Class IGFolderServiceUtil
java.lang.Object
com.liferay.portlet.imagegallery.service.IGFolderServiceUtil
public class IGFolderServiceUtil
- extends Object
The utility for the i g folder remote service. This utility wraps IGFolderServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
Never modify this class directly. Add custom service methods to IGFolderServiceImpl
and rerun ServiceBuilder to regenerate this class.
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:
IGFolderService
,
IGFolderServiceBaseImpl
,
IGFolderServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
static IGFolder |
addFolder(long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
static IGFolder |
copyFolder(long sourceFolderId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
static void |
deleteFolder(long folderId)
|
static IGFolder |
getFolder(long folderId)
|
static IGFolder |
getFolder(long groupId,
long parentFolderId,
String name)
|
static List<IGFolder> |
getFolders(long groupId,
long parentFolderId)
|
static List<IGFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
static int |
getFoldersCount(long groupId,
long parentFolderId)
|
static IGFolderService |
getService()
|
void |
setService(IGFolderService service)
|
static IGFolder |
updateFolder(long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IGFolderServiceUtil
public IGFolderServiceUtil()
addFolder
public static IGFolder addFolder(long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyFolder
public static IGFolder copyFolder(long sourceFolderId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
public static void deleteFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolder
public static IGFolder getFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolder
public static IGFolder getFolder(long groupId,
long parentFolderId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolders
public static List<IGFolder> getFolders(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getFolders
public static List<IGFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFoldersCount
public static int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
updateFolder
public static IGFolder updateFolder(long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static IGFolderService getService()
setService
public void setService(IGFolderService service)