com.liferay.portlet.bookmarks.service
Interface BookmarksEntryLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.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

Method Summary
 BookmarksEntry addBookmarksEntry(BookmarksEntry bookmarksEntry)
           
 BookmarksEntry addEntry(long userId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, ServiceContext serviceContext)
           
 BookmarksEntry addEntry(java.lang.String uuid, long userId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, ServiceContext serviceContext)
           
 void addEntryResources(BookmarksFolder folder, BookmarksEntry entry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(BookmarksFolder folder, BookmarksEntry entry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addEntryResources(long folderId, long entryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(long folderId, 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 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 folderId, int start, int end)
           
 java.util.List<BookmarksEntry> getEntries(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getEntriesCount(long folderId)
           
 BookmarksEntry getEntry(long entryId)
           
 int getFoldersEntriesCount(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 reIndex(long entryId)
           
 BookmarksEntry updateBookmarksEntry(BookmarksEntry bookmarksEntry)
           
 BookmarksEntry updateEntry(long userId, long entryId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, ServiceContext serviceContext)
           
 void updateTagsAsset(long userId, BookmarksEntry entry, java.lang.String[] tagsEntries)
           
 

Method Detail

addBookmarksEntry

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

createBookmarksEntry

BookmarksEntry createBookmarksEntry(long entryId)

deleteBookmarksEntry

void deleteBookmarksEntry(long entryId)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteBookmarksEntry

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

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.SystemException

getBookmarksEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BookmarksEntry getBookmarksEntry(long entryId)
                                 throws com.liferay.portal.SystemException,
                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getBookmarksEntries

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

getBookmarksEntriesCount

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

updateBookmarksEntry

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

addEntry

BookmarksEntry addEntry(long userId,
                        long folderId,
                        java.lang.String name,
                        java.lang.String url,
                        java.lang.String comments,
                        ServiceContext serviceContext)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntry

BookmarksEntry addEntry(java.lang.String uuid,
                        long userId,
                        long folderId,
                        java.lang.String name,
                        java.lang.String url,
                        java.lang.String comments,
                        ServiceContext serviceContext)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntryResources

void addEntryResources(long folderId,
                       long entryId,
                       boolean addCommunityPermissions,
                       boolean addGuestPermissions)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntryResources

void addEntryResources(BookmarksFolder folder,
                       BookmarksEntry entry,
                       boolean addCommunityPermissions,
                       boolean addGuestPermissions)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntryResources

void addEntryResources(long folderId,
                       long entryId,
                       java.lang.String[] communityPermissions,
                       java.lang.String[] guestPermissions)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntryResources

void addEntryResources(BookmarksFolder folder,
                       BookmarksEntry entry,
                       java.lang.String[] communityPermissions,
                       java.lang.String[] guestPermissions)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntries

void deleteEntries(long folderId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

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

deleteEntry

void deleteEntry(BookmarksEntry entry)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntries

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

getEntries

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

getEntriesCount

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

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BookmarksEntry getEntry(long entryId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFoldersEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersEntriesCount(java.util.List<java.lang.Long> folderIds)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupEntries

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

getGroupEntries

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

getGroupEntriesCount

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

getGroupEntriesCount

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

getNoAssetEntries

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

openEntry

BookmarksEntry openEntry(long entryId)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

reIndex

void reIndex(long entryId)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEntry

BookmarksEntry updateEntry(long userId,
                           long entryId,
                           long folderId,
                           java.lang.String name,
                           java.lang.String url,
                           java.lang.String comments,
                           ServiceContext serviceContext)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateTagsAsset

void updateTagsAsset(long userId,
                     BookmarksEntry entry,
                     java.lang.String[] tagsEntries)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException