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
This interface defines the service. The default implementation is
BookmarksFolderServiceImpl.
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.
- See Also:
BookmarksFolderServiceUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
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