Liferay 7.0-ce-m2

com.liferay.portlet.bookmarks.service.impl
Class BookmarksEntryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.bookmarks.service.base.BookmarksEntryServiceBaseImpl
          extended by com.liferay.portlet.bookmarks.service.impl.BookmarksEntryServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, BookmarksEntryService

public class BookmarksEntryServiceImpl
extends BookmarksEntryServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksEntryServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderFinder, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, classNameLocalService, classNamePersistence, classNameService, counterLocalService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
BookmarksEntryServiceImpl()
           
 
Method Summary
 BookmarksEntry addEntry(long groupId, long folderId, String name, String url, String description, ServiceContext serviceContext)
           
 void deleteEntry(long entryId)
           
 List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end)
           
 List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, OrderByComparator<BookmarksEntry> orderByComparator)
           
 int getEntriesCount(long groupId, long folderId)
           
 int getEntriesCount(long groupId, long folderId, int status)
           
 BookmarksEntry getEntry(long entryId)
           
 int getFoldersEntriesCount(long groupId, List<Long> folderIds)
           
 List<BookmarksEntry> getGroupEntries(long groupId, int start, int end)
           
 List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end)
           
 List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end)
           
 int getGroupEntriesCount(long groupId)
           
 int getGroupEntriesCount(long groupId, long userId)
           
 int getGroupEntriesCount(long groupId, long userId, long rootFolderId)
           
 BookmarksEntry moveEntry(long entryId, long parentFolderId)
           
 BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId)
           
 BookmarksEntry moveEntryToTrash(long entryId)
           
 BookmarksEntry openEntry(BookmarksEntry entry)
           
 BookmarksEntry openEntry(long entryId)
           
 void restoreEntryFromTrash(long entryId)
           
 Hits search(long groupId, long creatorUserId, int status, int start, int end)
           
 void subscribeEntry(long entryId)
           
 void unsubscribeEntry(long entryId)
           
 BookmarksEntry updateEntry(long entryId, long groupId, long folderId, String name, String url, String description, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksEntryServiceBaseImpl
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolderFinder, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolderService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderFinder, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryServiceImpl

public BookmarksEntryServiceImpl()
Method Detail

addEntry

public BookmarksEntry addEntry(long groupId,
                               long folderId,
                               String name,
                               String url,
                               String description,
                               ServiceContext serviceContext)
                        throws PortalException
Throws:
PortalException

deleteEntry

public void deleteEntry(long entryId)
                 throws PortalException
Throws:
PortalException

getEntries

public List<BookmarksEntry> getEntries(long groupId,
                                       long folderId,
                                       int start,
                                       int end)

getEntries

public List<BookmarksEntry> getEntries(long groupId,
                                       long folderId,
                                       int start,
                                       int end,
                                       OrderByComparator<BookmarksEntry> orderByComparator)

getEntriesCount

public int getEntriesCount(long groupId,
                           long folderId)

getEntriesCount

public int getEntriesCount(long groupId,
                           long folderId,
                           int status)

getEntry

public BookmarksEntry getEntry(long entryId)
                        throws PortalException
Throws:
PortalException

getFoldersEntriesCount

public int getFoldersEntriesCount(long groupId,
                                  List<Long> folderIds)

getGroupEntries

public List<BookmarksEntry> getGroupEntries(long groupId,
                                            int start,
                                            int end)
                                     throws PortalException
Throws:
PortalException

getGroupEntries

public List<BookmarksEntry> getGroupEntries(long groupId,
                                            long userId,
                                            int start,
                                            int end)
                                     throws PortalException
Throws:
PortalException

getGroupEntries

public List<BookmarksEntry> getGroupEntries(long groupId,
                                            long userId,
                                            long rootFolderId,
                                            int start,
                                            int end)
                                     throws PortalException
Throws:
PortalException

getGroupEntriesCount

public int getGroupEntriesCount(long groupId)
                         throws PortalException
Throws:
PortalException

getGroupEntriesCount

public int getGroupEntriesCount(long groupId,
                                long userId)
                         throws PortalException
Throws:
PortalException

getGroupEntriesCount

public int getGroupEntriesCount(long groupId,
                                long userId,
                                long rootFolderId)
                         throws PortalException
Throws:
PortalException

moveEntry

public BookmarksEntry moveEntry(long entryId,
                                long parentFolderId)
                         throws PortalException
Throws:
PortalException

moveEntryFromTrash

public BookmarksEntry moveEntryFromTrash(long entryId,
                                         long parentFolderId)
                                  throws PortalException
Throws:
PortalException

moveEntryToTrash

public BookmarksEntry moveEntryToTrash(long entryId)
                                throws PortalException
Throws:
PortalException

openEntry

public BookmarksEntry openEntry(BookmarksEntry entry)
                         throws PortalException
Throws:
PortalException

openEntry

public BookmarksEntry openEntry(long entryId)
                         throws PortalException
Throws:
PortalException

restoreEntryFromTrash

public void restoreEntryFromTrash(long entryId)
                           throws PortalException
Throws:
PortalException

search

public Hits search(long groupId,
                   long creatorUserId,
                   int status,
                   int start,
                   int end)
            throws PortalException
Throws:
PortalException

subscribeEntry

public void subscribeEntry(long entryId)
                    throws PortalException
Throws:
PortalException

unsubscribeEntry

public void unsubscribeEntry(long entryId)
                      throws PortalException
Throws:
PortalException

updateEntry

public BookmarksEntry updateEntry(long entryId,
                                  long groupId,
                                  long folderId,
                                  String name,
                                  String url,
                                  String description,
                                  ServiceContext serviceContext)
                           throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m2