public interface RelationshipManager
| Modifier and Type | Method and Description |
|---|---|
void |
add(Relationship relationship)
Adds the given
Relationship instance to the configured identity store. |
<T extends Relationship> |
createRelationshipQuery(Class<T> relationshipType)
Creates an
RelationshipQuery that can be used to query for Relationship instances. |
void |
remove(Relationship relationship)
Removes the given
Relationship instance. |
void |
update(Relationship relationship)
Updates the given
Relationship instance. |
void add(Relationship relationship)
Adds the given Relationship instance to the configured identity store.
relationship - IdentityManagementException - If cannot add the provided Relationship instance.void update(Relationship relationship)
Updates the given Relationship instance. The instance must have an identifier, otherwise a exception will be
thrown.
relationship - IdentityManagementException - If cannot update the provided Relationship instance.void remove(Relationship relationship)
Removes the given Relationship instance. The instance must have an identifier, otherwise a exception will be
thrown.
relationship - IdentityManagementException - If cannot remove the provided Relationship instance.<T extends Relationship> RelationshipQuery<T> createRelationshipQuery(Class<T> relationshipType)
Creates an RelationshipQuery that can be used to query for Relationship instances.
The first argument tells which Relationship type should be returned. If you provide the Relationship base
interface any Relationship instance that matches the provided query parameters will be returned.
identityType - Copyright © 2013. All Rights Reserved.