@ProviderType
public class BookmarksEntryServiceUtil
extends java.lang.Object
com.liferay.portlet.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.portlet.bookmarks.service.base.BookmarksEntryServiceBaseImpl,
com.liferay.portlet.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,
ServiceContext serviceContext) |
static void |
deleteEntry(long entryId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
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 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 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 |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(BookmarksEntryService service)
Deprecated.
As of 6.2.0
|
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 java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static BookmarksEntry addEntry(long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteEntry(long entryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemExceptionpublic static int getEntriesCount(long groupId,
long folderId)
throws SystemException
SystemExceptionpublic static int getEntriesCount(long groupId,
long folderId,
int status)
throws SystemException
SystemExceptionpublic static BookmarksEntry getEntry(long entryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static int getFoldersEntriesCount(long groupId,
java.util.List<java.lang.Long> folderIds)
throws SystemException
SystemExceptionpublic static java.util.List<BookmarksEntry> getGroupEntries(long groupId, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static int getGroupEntriesCount(long groupId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static int getGroupEntriesCount(long groupId,
long userId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static int getGroupEntriesCount(long groupId,
long userId,
long rootFolderId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static BookmarksEntry moveEntry(long entryId, long parentFolderId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static BookmarksEntry moveEntryToTrash(long entryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static BookmarksEntry openEntry(BookmarksEntry entry) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static BookmarksEntry openEntry(long entryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void restoreEntryFromTrash(long entryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void subscribeEntry(long entryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void unsubscribeEntry(long entryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic 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, SystemException
PortalExceptionSystemExceptionpublic static BookmarksEntryService getService()
public void setService(BookmarksEntryService service)