@ProviderType
public class BookmarksEntryServiceUtil
extends java.lang.Object
com.liferay.bookmarks.service.impl.BookmarksEntryServiceImpl
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.BookmarksEntryService
,
com.liferay.bookmarks.service.base.BookmarksEntryServiceBaseImpl
,
com.liferay.bookmarks.service.impl.BookmarksEntryServiceImpl
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,
com.liferay.portal.kernel.service.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,
com.liferay.portal.kernel.util.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 com.liferay.portal.kernel.search.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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static BookmarksEntry addEntry(long groupId, long folderId, java.lang.String name, java.lang.String url, 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 deleteEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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, com.liferay.portal.kernel.util.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 com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupEntriesCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupEntriesCount(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupEntriesCount(long groupId, long userId, long rootFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static BookmarksEntry moveEntry(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksEntry moveEntryToTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksEntry openEntry(BookmarksEntry entry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksEntry openEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void restoreEntryFromTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.Hits search(long groupId, long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void subscribeEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsubscribeEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BookmarksEntry updateEntry(long entryId, long groupId, long folderId, java.lang.String name, java.lang.String url, 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 BookmarksEntryService getService()