com.liferay.portlet.bookmarks.service
Interface BookmarksEntryLocalService


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:
BookmarksEntryLocalServiceFactory, 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, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 BookmarksEntry addEntry(long userId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 BookmarksEntry addEntry(java.lang.String uuid, long userId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 BookmarksEntry addEntry(java.lang.String uuid, long userId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, java.lang.String[] tagsEntries, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 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)
           
 void deleteBookmarksEntry(BookmarksEntry bookmarksEntry)
           
 void deleteBookmarksEntry(long entryId)
           
 void deleteEntries(long folderId)
           
 void deleteEntry(BookmarksEntry entry)
           
 void deleteEntry(long entryId)
           
 java.util.List<BookmarksEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<BookmarksEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List<BookmarksEntry> getEntries(long folderId, int begin, int end)
           
 java.util.List<BookmarksEntry> getEntries(long folderId, int begin, 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 begin, int end)
           
 java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, int begin, int end)
           
 int getGroupEntriesCount(long groupId)
           
 int getGroupEntriesCount(long groupId, long userId)
           
 java.util.List<BookmarksEntry> getNoAssetEntries()
           
 BookmarksEntry openEntry(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, java.lang.String[] tagsEntries)
           
 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

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,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<BookmarksEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<BookmarksEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                            int begin,
                                            int end)
                                            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,
                        java.lang.String[] tagsEntries,
                        boolean addCommunityPermissions,
                        boolean addGuestPermissions)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntry

BookmarksEntry addEntry(java.lang.String uuid,
                        long userId,
                        long folderId,
                        java.lang.String name,
                        java.lang.String url,
                        java.lang.String comments,
                        java.lang.String[] tagsEntries,
                        boolean addCommunityPermissions,
                        boolean addGuestPermissions)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntry

BookmarksEntry addEntry(long userId,
                        long folderId,
                        java.lang.String name,
                        java.lang.String url,
                        java.lang.String comments,
                        java.lang.String[] tagsEntries,
                        java.lang.String[] communityPermissions,
                        java.lang.String[] guestPermissions)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntry

BookmarksEntry addEntry(java.lang.String uuid,
                        long userId,
                        long folderId,
                        java.lang.String name,
                        java.lang.String url,
                        java.lang.String comments,
                        java.lang.String[] tagsEntries,
                        java.lang.Boolean addCommunityPermissions,
                        java.lang.Boolean addGuestPermissions,
                        java.lang.String[] communityPermissions,
                        java.lang.String[] guestPermissions)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntryResources

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

addEntryResources

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

addEntryResources

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

addEntryResources

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

deleteEntries

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

deleteEntry

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

deleteEntry

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

getEntries

java.util.List<BookmarksEntry> getEntries(long folderId,
                                          int begin,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

java.util.List<BookmarksEntry> getEntries(long folderId,
                                          int begin,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntriesCount

int getEntriesCount(long folderId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntry

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

getFoldersEntriesCount

int getFoldersEntriesCount(java.util.List<java.lang.Long> folderIds)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupEntries

java.util.List<BookmarksEntry> getGroupEntries(long groupId,
                                               int begin,
                                               int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupEntries

java.util.List<BookmarksEntry> getGroupEntries(long groupId,
                                               long userId,
                                               int begin,
                                               int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupEntriesCount

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

getGroupEntriesCount

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

getNoAssetEntries

java.util.List<BookmarksEntry> getNoAssetEntries()
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

openEntry

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

updateEntry

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

updateTagsAsset

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