@ProviderType
public class BookmarksFolderServiceUtil
extends java.lang.Object
com.liferay.bookmarks.service.impl.BookmarksFolderServiceImpl
and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.BookmarksFolderService
,
com.liferay.bookmarks.service.base.BookmarksFolderServiceBaseImpl
,
com.liferay.bookmarks.service.impl.BookmarksFolderServiceImpl
Constructor and Description |
---|
BookmarksFolderServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static BookmarksFolder |
addFolder(long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteFolder(long folderId) |
static void |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
static BookmarksFolder |
getFolder(long folderId) |
static java.util.List<java.lang.Long> |
getFolderIds(long groupId,
long folderId) |
static java.util.List<BookmarksFolder> |
getFolders(long groupId) |
static java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId) |
static java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end) |
static java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end) |
static java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId) |
static java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status) |
static java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status,
int start,
int end) |
static int |
getFoldersAndEntriesCount(long groupId,
long folderId) |
static int |
getFoldersAndEntriesCount(long groupId,
long folderId,
int status) |
static int |
getFoldersCount(long groupId,
long parentFolderId) |
static int |
getFoldersCount(long groupId,
long parentFolderId,
int status) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static BookmarksFolderService |
getService() |
static void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getSubfolderIds(List, long, long, boolean) |
static void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId,
boolean recurse) |
static java.util.List<java.lang.Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse) |
static void |
mergeFolders(long folderId,
long parentFolderId) |
static BookmarksFolder |
moveFolder(long folderId,
long parentFolderId) |
static BookmarksFolder |
moveFolderFromTrash(long folderId,
long parentFolderId) |
static BookmarksFolder |
moveFolderToTrash(long folderId) |
static void |
restoreFolderFromTrash(long folderId) |
static void |
subscribeFolder(long groupId,
long folderId) |
static void |
unsubscribeFolder(long groupId,
long folderId) |
static BookmarksFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateFolder(long, long, String, String, ServiceContext)
and mergeFolders(long, long) |
static BookmarksFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static BookmarksFolder addFolder(long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<java.lang.Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<BookmarksFolder> getFolders(long groupId)
public static java.util.List<BookmarksFolder> getFolders(long groupId, long parentFolderId)
public static java.util.List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end)
public static java.util.List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
public static java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId)
public static java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId, int status)
public static java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId, int status, int start, int end)
public static int getFoldersAndEntriesCount(long groupId, long folderId)
public static int getFoldersAndEntriesCount(long groupId, long folderId, int status)
public static int getFoldersCount(long groupId, long parentFolderId)
public static int getFoldersCount(long groupId, long parentFolderId, int status)
public static java.lang.String getOSGiServiceIdentifier()
@Deprecated public static void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
getSubfolderIds(List, long, long, boolean)
public static void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId, boolean recurse)
public static java.util.List<java.lang.Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
public static void mergeFolders(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksFolder moveFolder(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksFolder moveFolderFromTrash(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void subscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsubscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static BookmarksFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFolder(long, long, String, String, ServiceContext)
and mergeFolders(long, long)
com.liferay.portal.kernel.exception.PortalException
public static BookmarksFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksFolderService getService()