com.silverpeas.myLinks.ejb
Class MyLinksBmEJB
java.lang.Object
com.silverpeas.myLinks.ejb.MyLinksBmEJB
- All Implemented Interfaces:
- MyLinksBm
public class MyLinksBmEJB
- extends Object
- implements MyLinksBm
- Author:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyLinksBmEJB
public MyLinksBmEJB()
getAllLinks
public List<LinkDetail> getAllLinks(String userId)
- Specified by:
getAllLinks
in interface MyLinksBm
- See Also:
MyLinksBm.getAllLinksByUser(String)
getAllLinksByUser
public List<LinkDetail> getAllLinksByUser(String userId)
- Description copied from interface:
MyLinksBm
- Gets all the links associated to the user represented by the given id.
The result list is sorted by LinkDetailComparator
.
- Specified by:
getAllLinksByUser
in interface MyLinksBm
- Parameters:
userId
- a user identifier.
- Returns:
- a sorted list of links, empty if no link found.
getAllLinksByInstance
public List<LinkDetail> getAllLinksByInstance(String instanceId)
- Specified by:
getAllLinksByInstance
in interface MyLinksBm
getAllLinksByObject
public List<LinkDetail> getAllLinksByObject(String instanceId,
String objectId)
- Specified by:
getAllLinksByObject
in interface MyLinksBm
createLink
public void createLink(LinkDetail link)
- Specified by:
createLink
in interface MyLinksBm
deleteLinks
public void deleteLinks(String[] links)
- Specified by:
deleteLinks
in interface MyLinksBm
updateLink
public void updateLink(LinkDetail link)
- Specified by:
updateLink
in interface MyLinksBm
getLink
public LinkDetail getLink(String linkId)
- Specified by:
getLink
in interface MyLinksBm
initCon
protected Connection initCon()
Copyright © 2016 Silverpeas. All Rights Reserved.