edu.internet2.middleware.grouper.entity
Class EntitySubject

java.lang.Object
  extended by edu.internet2.middleware.grouper.entity.EntitySubject

public class EntitySubject
extends Object

logic to help with entity subjects

Author:
mchyzer

Constructor Summary
EntitySubject()
           
 
Method Summary
static void assignEntityIdInCache(String id, String entityAttributeId)
          if we are looking up the entity ids ahead of time, then put in cache so they dont have to be looked up again
static String entityIdAttributeValue(String id)
          get the id from a cache, or look it up and add to cache
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntitySubject

public EntitySubject()
Method Detail

entityIdAttributeValue

public static String entityIdAttributeValue(String id)
get the id from a cache, or look it up and add to cache

Parameters:
id -
Returns:
the id

assignEntityIdInCache

public static void assignEntityIdInCache(String id,
                                         String entityAttributeId)
if we are looking up the entity ids ahead of time, then put in cache so they dont have to be looked up again

Parameters:
id -
entityAttributeId -