public int getIdentityObjectsCount(IdentityStoreInvocationContext invocationCtx, IdentityObjectType identityType) throws IdentityException { return defaultIdentityStore.getIdentityObjectsCount(resolveIdentityStoreInvocationContext(invocationCtx), identityType); }
public int getIdentityObjectsCount(IdentityStoreInvocationContext invocationCtx, IdentityObjectType identityType) throws IdentityException { IdentityStore targetStore = resolveIdentityStore(identityType); IdentityStoreInvocationContext targetCtx = resolveInvocationContext(targetStore, invocationCtx); return targetStore.getIdentityObjectsCount(targetCtx, identityType); }
public int getIdentityObjectsCount(IdentityStoreInvocationContext invocationCtx, IdentityObjectType identityType) throws IdentityException { int count = cacheSupport.getIdentityObjectCountFromCache(identityType); if (count == -1) { count = identityStore.getIdentityObjectsCount(invocationCtx, identityType); cacheSupport.putIdentityObjectCountIntoCache(identityType, count); } return count; }