public class BookmarksEntryServiceUtil
extends java.lang.Object
com.liferay.bookmarks.service.impl.BookmarksEntryServiceImpl
and is an
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.BookmarksEntryService
Constructor and Description |
---|
BookmarksEntryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static BookmarksEntry |
addEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
ServiceContext serviceContext) |
static void |
deleteEntry(long entryId) |
static java.util.List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end) |
static java.util.List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator<BookmarksEntry> orderByComparator) |
static int |
getEntriesCount(long groupId,
long folderId) |
static int |
getEntriesCount(long groupId,
long folderId,
int status) |
static BookmarksEntry |
getEntry(long entryId) |
static int |
getFoldersEntriesCount(long groupId,
java.util.List<java.lang.Long> folderIds) |
static java.util.List<BookmarksEntry> |
getGroupEntries(long groupId,
int start,
int end) |
static java.util.List<BookmarksEntry> |
getGroupEntries(long groupId,
long userId,
int start,
int end) |
static java.util.List<BookmarksEntry> |
getGroupEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end) |
static int |
getGroupEntriesCount(long groupId) |
static int |
getGroupEntriesCount(long groupId,
long userId) |
static int |
getGroupEntriesCount(long groupId,
long userId,
long rootFolderId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static BookmarksEntryService |
getService() |
static BookmarksEntry |
moveEntry(long entryId,
long parentFolderId) |
static BookmarksEntry |
moveEntryFromTrash(long entryId,
long parentFolderId) |
static BookmarksEntry |
moveEntryToTrash(long entryId) |
static BookmarksEntry |
openEntry(BookmarksEntry entry) |
static BookmarksEntry |
openEntry(long entryId) |
static void |
restoreEntryFromTrash(long entryId) |
static Hits |
search(long groupId,
long creatorUserId,
int status,
int start,
int end) |
static void |
subscribeEntry(long entryId) |
static void |
unsubscribeEntry(long entryId) |
static BookmarksEntry |
updateEntry(long entryId,
long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
ServiceContext serviceContext) |
public static BookmarksEntry addEntry(long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, ServiceContext serviceContext) throws PortalException
PortalException
public static void deleteEntry(long entryId) throws PortalException
PortalException
public static java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end)
public static java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, OrderByComparator<BookmarksEntry> orderByComparator)
public static int getEntriesCount(long groupId, long folderId)
public static int getEntriesCount(long groupId, long folderId, int status)
public static BookmarksEntry getEntry(long entryId) throws PortalException
PortalException
public static int getFoldersEntriesCount(long groupId, java.util.List<java.lang.Long> folderIds)
public static java.util.List<BookmarksEntry> getGroupEntries(long groupId, int start, int end) throws PortalException
PortalException
public static java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end) throws PortalException
PortalException
public static java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end) throws PortalException
PortalException
public static int getGroupEntriesCount(long groupId) throws PortalException
PortalException
public static int getGroupEntriesCount(long groupId, long userId) throws PortalException
PortalException
public static int getGroupEntriesCount(long groupId, long userId, long rootFolderId) throws PortalException
PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static BookmarksEntry moveEntry(long entryId, long parentFolderId) throws PortalException
PortalException
public static BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId) throws PortalException
PortalException
public static BookmarksEntry moveEntryToTrash(long entryId) throws PortalException
PortalException
public static BookmarksEntry openEntry(BookmarksEntry entry) throws PortalException
PortalException
public static BookmarksEntry openEntry(long entryId) throws PortalException
PortalException
public static void restoreEntryFromTrash(long entryId) throws PortalException
PortalException
public static Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException
PortalException
public static void subscribeEntry(long entryId) throws PortalException
PortalException
public static void unsubscribeEntry(long entryId) throws PortalException
PortalException
public static BookmarksEntry updateEntry(long entryId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, ServiceContext serviceContext) throws PortalException
PortalException
public static BookmarksEntryService getService()