Liferay 6.0.5

com.liferay.portlet.bookmarks.service
Interface BookmarksFolderService

All Known Implementing Classes:
BookmarksFolderServiceBaseImpl, BookmarksFolderServiceImpl, BookmarksFolderServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface BookmarksFolderService

The interface for the bookmarks folder remote service.

Never modify or reference this interface directly. Always use BookmarksFolderServiceUtil to access the bookmarks folder remote service. Add custom service methods to BookmarksFolderServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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.

See Also:
BookmarksFolderServiceUtil, BookmarksFolderServiceBaseImpl, BookmarksFolderServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 BookmarksFolder addFolder(long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void deleteFolder(long folderId)
           
 BookmarksFolder getFolder(long folderId)
           
 BookmarksFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 

Method Detail

addFolder

BookmarksFolder addFolder(long parentFolderId,
                          String name,
                          String description,
                          ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

deleteFolder

void deleteFolder(long folderId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getFolder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BookmarksFolder getFolder(long folderId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

updateFolder

BookmarksFolder updateFolder(long folderId,
                             long parentFolderId,
                             String name,
                             String description,
                             boolean mergeWithParentFolder,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5