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

java.lang.Object
  extended by com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl
      extended by com.liferay.portlet.bookmarks.service.impl.BookmarksEntryLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService

public class BookmarksEntryLocalServiceImpl
extends BookmarksEntryLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan, Raymond Augé

Field Summary
 
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, counterLocalService, counterService, expandoValueLocalService, expandoValuePersistence, expandoValueService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
BookmarksEntryLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(java.lang.String uuid, long userId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, com.liferay.portal.service.ServiceContext serviceContext)
           
 void addEntryResources(com.liferay.portlet.bookmarks.model.BookmarksEntry entry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(com.liferay.portlet.bookmarks.model.BookmarksEntry entry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addEntryResources(long entryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(long entryId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteEntries(long groupId, long folderId)
           
 void deleteEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
           
 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)
           
protected  long getFolder(com.liferay.portlet.bookmarks.model.BookmarksEntry entry, long folderId)
           
 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)
           
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(long entryId)
           
 void updateAsset(long userId, com.liferay.portlet.bookmarks.model.BookmarksEntry entry, long[] assetCategoryIds, java.lang.String[] assetTagNames)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(long userId, long entryId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, com.liferay.portal.service.ServiceContext serviceContext)
           
protected  void validate(java.lang.String url)
           
 
Methods inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl
addBookmarksEntry, createBookmarksEntry, deleteBookmarksEntry, deleteBookmarksEntry, dynamicQuery, dynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBookmarksEntries, getBookmarksEntriesCount, getBookmarksEntry, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolderService, getCounterLocalService, getCounterService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setCounterLocalService, setCounterService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateBookmarksEntry, updateBookmarksEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryLocalServiceImpl

public BookmarksEntryLocalServiceImpl()
Method Detail

addEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(java.lang.String uuid,
                                                                   long userId,
                                                                   long groupId,
                                                                   long folderId,
                                                                   java.lang.String name,
                                                                   java.lang.String url,
                                                                   java.lang.String comments,
                                                                   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

addEntryResources

public void addEntryResources(com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       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

addEntryResources

public void addEntryResources(com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       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

addEntryResources

public void addEntryResources(long entryId,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       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

addEntryResources

public void addEntryResources(long entryId,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       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

deleteEntries

public void deleteEntries(long groupId,
                          long folderId)
                   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(com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
                 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

getNoAssetEntries

public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
                                                                                     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

updateAsset

public void updateAsset(long userId,
                        com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
                        long[] assetCategoryIds,
                        java.lang.String[] assetTagNames)
                 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 userId,
                                                                      long entryId,
                                                                      long groupId,
                                                                      long folderId,
                                                                      java.lang.String name,
                                                                      java.lang.String url,
                                                                      java.lang.String comments,
                                                                      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

getFolder

protected long getFolder(com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
                         long folderId)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

validate

protected void validate(java.lang.String url)
                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException