public void removeRelationship(IdentityStoreInvocationContext invocationCxt, IdentityObject fromIdentity, IdentityObject toIdentity, IdentityObjectRelationshipType relationshipType, String relationshipName) throws IdentityException { defaultIdentityStore.removeRelationship(resolveIdentityStoreInvocationContext(invocationCxt), fromIdentity, toIdentity, relationshipType, relationshipName); }
public void removeRelationship(IdentityStoreInvocationContext invocationCxt, IdentityObject fromIdentity, IdentityObject toIdentity, IdentityObjectRelationshipType relationshipType, String relationshipName) throws IdentityException { identityStore.removeRelationship(invocationCxt, fromIdentity, toIdentity, relationshipType, relationshipName); cacheSupport.invalidateIdentityObjectRelationshipNameSearches(getCacheNS(invocationCxt)); cacheSupport.invalidateIdentityObjectRelationshipSearches(getCacheNS(invocationCxt)); cacheSupport.invalidateIdentityObjectSearches(getCacheNS(invocationCxt)); IdentityObjectRelationship relationship = new SimpleIdentityObjectRelationship(fromIdentity, toIdentity, relationshipName, relationshipType); cacheSupport.invalidateRelationshipProperties(getCacheNS(invocationCxt), relationship); }
(relationshipName != null && fromStore.getSupportedFeatures().isNamedRelationshipsSupported())) fromStore.removeRelationship(toTargetCtx, fromIdentity, toIdentity, relationshipType, relationshipName); return; removeRelationship(defaultTargetCtx, fromIdentity, toIdentity, relationshipType, relationshipName);