com.liferay.portlet.bookmarks.service
Class BookmarksEntryServiceUtil

java.lang.Object
  extended by com.liferay.portlet.bookmarks.service.BookmarksEntryServiceUtil

public class BookmarksEntryServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.bookmarks.service.BookmarksEntryService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
BookmarksEntryService

Constructor Summary
BookmarksEntryServiceUtil()
           
 
Method Summary
static BookmarksEntry addEntry(long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, ServiceContext serviceContext)
           
static void deleteEntry(long entryId)
           
static BookmarksEntry getEntry(long entryId)
           
static BookmarksEntryService getService()
           
static BookmarksEntry openEntry(long entryId)
           
 void setService(BookmarksEntryService service)
           
static BookmarksEntry updateEntry(long entryId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryServiceUtil

public BookmarksEntryServiceUtil()
Method Detail

addEntry

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

deleteEntry

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

getEntry

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

openEntry

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

updateEntry

public static BookmarksEntry updateEntry(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

getService

public static BookmarksEntryService getService()

setService

public void setService(BookmarksEntryService service)