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

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

public class BookmarksEntryServiceImpl
extends BookmarksEntryServiceBaseImpl

Author:
Brian Wing Shun Chan

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, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
BookmarksEntryServiceImpl()
           
 
Method Summary
 com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteEntry(long entryId)
           
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(long groupId, long folderId, int start, int end)
           
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getEntriesCount(long groupId, long folderId)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(long entryId)
           
 int getFoldersEntriesCount(long groupId, java.util.List<java.lang.Long> folderIds)
           
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(long groupId, int start, int end)
           
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end)
           
 int getGroupEntriesCount(long groupId)
           
 int getGroupEntriesCount(long groupId, long userId)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(long entryId)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(long entryId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, com.liferay.portal.service.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, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolderService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getModelClass, getModelClassName, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
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 com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(long groupId,
                                                                   long folderId,
                                                                   java.lang.String name,
                                                                   java.lang.String url,
                                                                   java.lang.String description,
                                                                   com.liferay.portal.service.ServiceContext serviceContext)
                                                            throws com.liferay.portal.kernel.exception.PortalException,
                                                                   com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteEntry

public void deleteEntry(long entryId)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getEntries

public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(long groupId,
                                                                                     long folderId,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getEntries

public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(long groupId,
                                                                                     long folderId,
                                                                                     int start,
                                                                                     int end,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getEntriesCount

public int getEntriesCount(long groupId,
                           long folderId)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(long entryId)
                                                            throws com.liferay.portal.kernel.exception.PortalException,
                                                                   com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getFoldersEntriesCount

public int getFoldersEntriesCount(long groupId,
                                  java.util.List<java.lang.Long> folderIds)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupEntries

public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(long groupId,
                                                                                          int start,
                                                                                          int end)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupEntries

public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(long groupId,
                                                                                          long userId,
                                                                                          int start,
                                                                                          int end)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupEntriesCount

public int getGroupEntriesCount(long groupId)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupEntriesCount

public int getGroupEntriesCount(long groupId,
                                long userId)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

openEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(long entryId)
                                                             throws com.liferay.portal.kernel.exception.PortalException,
                                                                    com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(long entryId,
                                                                      long groupId,
                                                                      long folderId,
                                                                      java.lang.String name,
                                                                      java.lang.String url,
                                                                      java.lang.String description,
                                                                      com.liferay.portal.service.ServiceContext serviceContext)
                                                               throws com.liferay.portal.kernel.exception.PortalException,
                                                                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException