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:
BookmarksEntryServiceFactory, BookmarksEntryServiceUtil

Method Summary
 BookmarksEntry addBookmarksEntry(BookmarksEntry model)
           
 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.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 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)
           
 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 deleteEntries(long folderId)
           
 void deleteEntry(BookmarksEntry entry)
           
 void deleteEntry(long entryId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getEntries(long folderId, int begin, int end)
           
 java.util.List 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 folderIds)
           
 java.util.List getGroupEntries(long groupId, int begin, int end)
           
 java.util.List getGroupEntries(long groupId, long userId, int begin, int end)
           
 int getGroupEntriesCount(long groupId)
           
 int getGroupEntriesCount(long groupId, long userId)
           
 java.util.List getNoAssetEntries()
           
 BookmarksEntry openEntry(long entryId)
           
 BookmarksEntry updateBookmarksEntry(BookmarksEntry model)
           
 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

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

dynamicQuery

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

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateBookmarksEntry

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

addEntry

public 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

public 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

public BookmarksEntry addEntry(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

public 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

public 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

public 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

public 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

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

deleteEntry

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

deleteEntry

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

getEntries

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

getEntries

public java.util.List 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

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

getEntry

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

getFoldersEntriesCount

public int getFoldersEntriesCount(java.util.List folderIds)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupEntries

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

getGroupEntries

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

getGroupEntriesCount

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

getGroupEntriesCount

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

getNoAssetEntries

public java.util.List getNoAssetEntries()
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

openEntry

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

updateEntry

public 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

public 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