com.liferay.portlet.bookmarks.service.spring
Class BookmarksEntryLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portlet.bookmarks.service.spring.BookmarksEntryLocalServiceUtil

public class BookmarksEntryLocalServiceUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
BookmarksEntryLocalServiceUtil()
           
 
Method Summary
static BookmarksEntry addEntry(java.lang.String userId, java.lang.String folderId, java.lang.String name, java.lang.String url, java.lang.String comments, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addEntryResources(BookmarksFolder folder, BookmarksEntry entry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addEntryResources(java.lang.String folderId, java.lang.String entryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void deleteEntries(java.lang.String folderId)
           
static void deleteEntry(BookmarksEntry entry)
           
static void deleteEntry(java.lang.String entryId)
           
static java.util.List getEntries(java.lang.String folderId, int begin, int end)
           
static int getEntriesCount(java.lang.String folderId)
           
static BookmarksEntry getEntry(java.lang.String entryId)
           
static int getFoldersEntriesCount(java.util.List folderIds)
           
static BookmarksEntry openEntry(java.lang.String entryId)
           
static BookmarksEntry updateEntry(java.lang.String companyId, java.lang.String entryId, java.lang.String folderId, java.lang.String name, java.lang.String url, java.lang.String comments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryLocalServiceUtil

public BookmarksEntryLocalServiceUtil()
Method Detail

addEntry

public static BookmarksEntry addEntry(java.lang.String userId,
                                      java.lang.String folderId,
                                      java.lang.String name,
                                      java.lang.String url,
                                      java.lang.String comments,
                                      boolean addCommunityPermissions,
                                      boolean addGuestPermissions)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

addEntryResources

public static void addEntryResources(java.lang.String folderId,
                                     java.lang.String entryId,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

addEntryResources

public static void addEntryResources(BookmarksFolder folder,
                                     BookmarksEntry entry,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

deleteEntries

public static void deleteEntries(java.lang.String folderId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

deleteEntry

public static void deleteEntry(java.lang.String entryId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteEntry

public static void deleteEntry(BookmarksEntry entry)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getEntries

public static java.util.List getEntries(java.lang.String folderId,
                                        int begin,
                                        int end)
                                 throws SystemException
Throws:
SystemException

getEntriesCount

public static int getEntriesCount(java.lang.String folderId)
                           throws SystemException
Throws:
SystemException

getEntry

public static BookmarksEntry getEntry(java.lang.String entryId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getFoldersEntriesCount

public static int getFoldersEntriesCount(java.util.List folderIds)
                                  throws SystemException
Throws:
SystemException

openEntry

public static BookmarksEntry openEntry(java.lang.String entryId)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

updateEntry

public static BookmarksEntry updateEntry(java.lang.String companyId,
                                         java.lang.String entryId,
                                         java.lang.String folderId,
                                         java.lang.String name,
                                         java.lang.String url,
                                         java.lang.String comments)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException