com.silverpeas.myLinks.ejb
Interface MyLinksBm
- All Known Implementing Classes:
- MyLinksBmEJB
public interface MyLinksBm
getAllLinks
List<LinkDetail> getAllLinks(String userId)
- See Also:
getAllLinksByUser(String)
getAllLinksByUser
List<LinkDetail> getAllLinksByUser(String userId)
- Gets all the links associated to the user represented by the given id.
The result list is sorted by LinkDetailComparator
.
- Parameters:
userId
- a user identifier.
- Returns:
- a sorted list of links, empty if no link found.
getAllLinksByInstance
List<LinkDetail> getAllLinksByInstance(String instanceId)
getAllLinksByObject
List<LinkDetail> getAllLinksByObject(String instanceId,
String objectId)
createLink
void createLink(LinkDetail link)
getLink
LinkDetail getLink(String linkId)
deleteLinks
void deleteLinks(String[] links)
updateLink
void updateLink(LinkDetail link)
Copyright © 2016 Silverpeas. All Rights Reserved.