Package com.liferay.bookmarks.service
Class BookmarksEntryServiceUtil
java.lang.Object
com.liferay.bookmarks.service.BookmarksEntryServiceUtil
Provides the remote service utility for BookmarksEntry. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BookmarksEntryaddEntry(long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static voiddeleteEntry(long entryId) static List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end) static List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator) static intgetEntriesCount(long groupId, long folderId) static intgetEntriesCount(long groupId, long folderId, int status) static BookmarksEntrygetEntry(long entryId) static intgetFoldersEntriesCount(long groupId, List<Long> folderIds) static List<BookmarksEntry> getGroupEntries(long groupId, int start, int end) static List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end) static List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end) static intgetGroupEntriesCount(long groupId) static intgetGroupEntriesCount(long groupId, long userId) static intgetGroupEntriesCount(long groupId, long userId, long rootFolderId) static StringReturns the OSGi service identifier.static BookmarksEntryServicestatic BookmarksEntrymoveEntry(long entryId, long parentFolderId) static BookmarksEntrymoveEntryFromTrash(long entryId, long parentFolderId) static BookmarksEntrymoveEntryToTrash(long entryId) static BookmarksEntryopenEntry(long entryId) static BookmarksEntryopenEntry(BookmarksEntry entry) static voidrestoreEntryFromTrash(long entryId) static com.liferay.portal.kernel.search.Hitssearch(long groupId, long creatorUserId, int status, int start, int end) static voidsubscribeEntry(long entryId) static voidunsubscribeEntry(long entryId) static BookmarksEntryupdateEntry(long entryId, long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
BookmarksEntryServiceUtil
public BookmarksEntryServiceUtil()
-
-
Method Details
-
addEntry
public static BookmarksEntry addEntry(long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteEntry
public static void deleteEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getEntries
-
getEntries
public static List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator) -
getEntriesCount
public static int getEntriesCount(long groupId, long folderId) -
getEntriesCount
public static int getEntriesCount(long groupId, long folderId, int status) -
getEntry
public static BookmarksEntry getEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFoldersEntriesCount
-
getGroupEntries
public static List<BookmarksEntry> getGroupEntries(long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntries
public static List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntries
public static List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntriesCount
public static int getGroupEntriesCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntriesCount
public static int getGroupEntriesCount(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntriesCount
public static int getGroupEntriesCount(long groupId, long userId, long rootFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
moveEntry
public static BookmarksEntry moveEntry(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveEntryFromTrash
public static BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveEntryToTrash
public static BookmarksEntry moveEntryToTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
openEntry
public static BookmarksEntry openEntry(BookmarksEntry entry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
openEntry
public static BookmarksEntry openEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreEntryFromTrash
public static void restoreEntryFromTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeEntry
public static void subscribeEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeEntry
public static void unsubscribeEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateEntry
public static BookmarksEntry updateEntry(long entryId, long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-