com.liferay.portlet.bookmarks.service
Interface BookmarksEntryService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface BookmarksEntryService

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.BookmarksEntryServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
BookmarksEntryServiceUtil

Method Summary
 BookmarksEntry addEntry(long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, ServiceContext serviceContext)
           
 void deleteEntry(long entryId)
           
 BookmarksEntry getEntry(long entryId)
           
 BookmarksEntry openEntry(long entryId)
           
 BookmarksEntry updateEntry(long entryId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, ServiceContext serviceContext)
           
 

Method Detail

addEntry

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

void deleteEntry(long entryId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
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

openEntry

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

updateEntry

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