public Set<String> getRelationshipNames(IdentityStoreInvocationContext ctx, IdentityObject identity, IdentityObjectSearchCriteria criteria) throws IdentityException, OperationNotSupportedException { return defaultIdentityStore.getRelationshipNames(resolveIdentityStoreInvocationContext(ctx), identity, criteria); }
public Set<String> getRelationshipNames(IdentityStoreInvocationContext ctx, IdentityObjectSearchCriteria criteria) throws IdentityException, OperationNotSupportedException { Set<String> results = cacheSupport.getRelationshipNamesSearchFromCache(criteria); if (results == null) { results = identityStore.getRelationshipNames(ctx, criteria); cacheSupport.putRelationshipNamesSearchIntoCache(criteria, results); } return results; }
public Set<String> getRelationshipNames(IdentityStoreInvocationContext ctx, IdentityObject identity, IdentityObjectSearchCriteria criteria) throws IdentityException, OperationNotSupportedException { Set<String> results = cacheSupport.getRelationshipNamesSearchFromCache(identity, criteria); if (results == null) { results = identityStore.getRelationshipNames(ctx, identity, criteria); cacheSupport.putRelationshipNamesSearchIntoCache(identity, criteria, results); } return results; }
public Set<String> getRelationshipNames(IdentityStoreInvocationContext ctx, IdentityObjectSearchCriteria criteria) throws IdentityException, OperationNotSupportedException { Set<String> results = new HashSet<String>(); // For any IdentityStore that supports named relationships... for (IdentityStore identityStore : configuredIdentityStores) { if (identityStore.getSupportedFeatures().isNamedRelationshipsSupported()) { IdentityStoreInvocationContext storeCtx = resolveInvocationContext(identityStore, ctx); results.addAll(identityStore.getRelationshipNames(storeCtx, criteria)); } } return results; }
public Set<String> getRelationshipNames(IdentityStoreInvocationContext ctx, IdentityObject identity, IdentityObjectSearchCriteria criteria) throws IdentityException, OperationNotSupportedException { IdentityStore toStore = resolveIdentityStore(identity); IdentityStoreInvocationContext targetCtx = resolveInvocationContext(toStore, ctx); if (toStore.getSupportedFeatures().isNamedRelationshipsSupported()) { return toStore.getRelationshipNames(targetCtx, identity, criteria); } IdentityStoreInvocationContext defaultCtx = resolveInvocationContext(defaultIdentityStore, ctx); return defaultIdentityStore.getRelationshipNames(defaultCtx, identity, criteria); }