|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Transactional public interface EntityLinkManager
| Method Summary | |
|---|---|
java.lang.String |
createLink(java.lang.String fromId,
java.lang.String toId,
java.lang.String type)
Create a link between two linked entities (like person, organization, technical service, endpoint, etc.) |
java.util.List<Link> |
getAllLinksForFrom(java.lang.String fromId,
RequestOptionsTO requestOptions)
Retrieve all links with the specified "from end" |
java.util.List<Link> |
getAllLinksForTo(java.lang.String toId,
RequestOptionsTO requestOptions)
Retrieve all links with the specified "to end" |
void |
removeLink(java.lang.String linkId)
Remove a link from the registry |
| Method Detail |
|---|
java.lang.String createLink(java.lang.String fromId,
java.lang.String toId,
java.lang.String type)
throws CommonException
fromId - identifier of the "from end" of the linktoId - identifier of the "to end" of the linktype - the link type
CommonException - if one of the linked entity doesn't existvoid removeLink(java.lang.String linkId)
linkId - a link identifier
@Transactional(readOnly=true)
java.util.List<Link> getAllLinksForTo(java.lang.String toId,
RequestOptionsTO requestOptions)
toId - the to end identifierrequestOptions - sort, pagination and case sensitive parameters. Could be null.
@Transactional(readOnly=true)
java.util.List<Link> getAllLinksForFrom(java.lang.String fromId,
RequestOptionsTO requestOptions)
fromId - the to end identifierrequestOptions - sort, pagination and case sensitive parameters. Could be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||