com.liferay.portlet.bookmarks.service
Interface BookmarksEntryLocalService

All Known Implementing Classes:
BookmarksEntryLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface BookmarksEntryLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.bookmarks.service.impl.BookmarksEntryLocalServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
BookmarksEntryLocalServiceUtil
Generated:

Method Summary
 BookmarksEntry addBookmarksEntry(BookmarksEntry bookmarksEntry)
           
 BookmarksEntry addEntry(java.lang.String uuid, long userId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, ServiceContext serviceContext)
           
 void addEntryResources(BookmarksEntry entry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(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)
           
 BookmarksEntry createBookmarksEntry(long entryId)
           
 void deleteBookmarksEntry(BookmarksEntry bookmarksEntry)
           
 void deleteBookmarksEntry(long entryId)
           
 void deleteEntries(long groupId, long folderId)
           
 void deleteEntry(BookmarksEntry entry)
           
 void deleteEntry(long entryId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<BookmarksEntry> getBookmarksEntries(int start, int end)
           
 int getBookmarksEntriesCount()
           
 BookmarksEntry getBookmarksEntry(long entryId)
           
 java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end)
           
 java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getEntriesCount(long groupId, long folderId)
           
 BookmarksEntry getEntry(long entryId)
           
 int getFoldersEntriesCount(long groupId, java.util.List<java.lang.Long> folderIds)
           
 java.util.List<BookmarksEntry> getGroupEntries(long groupId, int start, int end)
           
 java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end)
           
 int getGroupEntriesCount(long groupId)
           
 int getGroupEntriesCount(long groupId, long userId)
           
 java.util.List<BookmarksEntry> getNoAssetEntries()
           
 BookmarksEntry openEntry(long entryId)
           
 void updateAsset(long userId, BookmarksEntry entry, long[] assetCategoryIds, java.lang.String[] assetTagNames)
           
 BookmarksEntry updateBookmarksEntry(BookmarksEntry bookmarksEntry)
           
 BookmarksEntry updateBookmarksEntry(BookmarksEntry bookmarksEntry, boolean merge)
           
 BookmarksEntry updateEntry(long userId, long entryId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, ServiceContext serviceContext)
           
 

Method Detail

addBookmarksEntry

BookmarksEntry addBookmarksEntry(BookmarksEntry bookmarksEntry)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

createBookmarksEntry

BookmarksEntry createBookmarksEntry(long entryId)

deleteBookmarksEntry

void deleteBookmarksEntry(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

deleteBookmarksEntry

void deleteBookmarksEntry(BookmarksEntry bookmarksEntry)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getBookmarksEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BookmarksEntry getBookmarksEntry(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

getBookmarksEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BookmarksEntry> getBookmarksEntries(int start,
                                                                 int end)
                                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getBookmarksEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getBookmarksEntriesCount()
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateBookmarksEntry

BookmarksEntry updateBookmarksEntry(BookmarksEntry bookmarksEntry)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateBookmarksEntry

BookmarksEntry updateBookmarksEntry(BookmarksEntry bookmarksEntry,
                                    boolean merge)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addEntry

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

void addEntryResources(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

void addEntryResources(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

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

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

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

void deleteEntry(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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEntriesCount(long groupId,
                                  long folderId)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BookmarksEntry> getGroupEntries(long groupId,
                                                             int start,
                                                             int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupEntriesCount(long groupId)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupEntriesCount(long groupId,
                                       long userId)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getNoAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BookmarksEntry> getNoAssetEntries()
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

openEntry

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

void updateAsset(long userId,
                 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

BookmarksEntry updateEntry(long userId,
                           long entryId,
                           long groupId,
                           long folderId,
                           java.lang.String name,
                           java.lang.String url,
                           java.lang.String comments,
                           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