com.liferay.portlet.bookmarks.service
Class BookmarksFolderServiceUtil
java.lang.Object
com.liferay.portlet.bookmarks.service.BookmarksFolderServiceUtil
public class BookmarksFolderServiceUtil
- extends Object
The utility for the bookmarks folder remote service. This utility wraps com.liferay.portlet.bookmarks.service.impl.BookmarksFolderServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
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:
BookmarksFolderService
,
com.liferay.portlet.bookmarks.service.base.BookmarksFolderServiceBaseImpl
,
com.liferay.portlet.bookmarks.service.impl.BookmarksFolderServiceImpl
Method Summary |
static BookmarksFolder |
addFolder(long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
static void |
deleteFolder(long folderId)
|
static BookmarksFolder |
getFolder(long folderId)
|
static List<BookmarksFolder> |
getFolders(long groupId)
|
static List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId)
|
static List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
static int |
getFoldersCount(long groupId,
long parentFolderId)
|
static BookmarksFolderService |
getService()
|
static void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
|
void |
setService(BookmarksFolderService service)
|
static BookmarksFolder |
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 |
BookmarksFolderServiceUtil
public BookmarksFolderServiceUtil()
addFolder
public static BookmarksFolder addFolder(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 BookmarksFolder getFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolders
public static List<BookmarksFolder> getFolders(long groupId)
throws SystemException
- Throws:
SystemException
getFolders
public static List<BookmarksFolder> getFolders(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getFolders
public static List<BookmarksFolder> 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
getSubfolderIds
public static void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
updateFolder
public static BookmarksFolder updateFolder(long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static BookmarksFolderService getService()
setService
public void setService(BookmarksFolderService service)