public IdentityObject createIdentityObject(IdentityStoreInvocationContext invocationCtx, String name, IdentityObjectType identityObjectType) throws IdentityException { IdentityObject io = identityStore.createIdentityObject(invocationCtx, name, identityObjectType); if (io != null) { cacheSupport.invalidateIdentityObjectRelationshipNameSearches(getCacheNS(invocationCtx)); cacheSupport.invalidateIdentityObjectRelationshipSearches(getCacheNS(invocationCtx)); cacheSupport.invalidateIdentityObjectSearches(getCacheNS(invocationCtx)); cacheSupport.invalidateIdentityObjectCount(getCacheNS(invocationCtx), identityObjectType.getName()); } return io; }
public IdentityObject createIdentityObject(IdentityStoreInvocationContext invocationCtx, String name, IdentityObjectType identityObjectType, Map<String, String[]> attributes) throws IdentityException { IdentityObject io = identityStore.createIdentityObject(invocationCtx, name, identityObjectType, attributes); if (io != null) { cacheSupport.invalidateIdentityObjectRelationshipNameSearches(getCacheNS(invocationCtx)); cacheSupport.invalidateIdentityObjectRelationshipSearches(getCacheNS(invocationCtx)); cacheSupport.invalidateIdentityObjectSearches(getCacheNS(invocationCtx)); cacheSupport.invalidateIdentityObjectCount(getCacheNS(invocationCtx), identityObjectType.getName()); } return io; }
public void removeIdentityObject(IdentityStoreInvocationContext invocationCtx, IdentityObject identity) throws IdentityException { identityStore.removeIdentityObject(invocationCtx, identity); cacheSupport.invalidateIdentityObjectRelationshipNameSearches(getCacheNS(invocationCtx)); cacheSupport.invalidateIdentityObjectRelationshipSearches(getCacheNS(invocationCtx)); cacheSupport.invalidateIdentityObjectSearches(getCacheNS(invocationCtx)); cacheSupport.invalidateIdentityObjectAttriubtes(getCacheNS(invocationCtx), identity); cacheSupport.invalidateIdentityObjectCount(getCacheNS(invocationCtx), identity.getIdentityType().getName()); }