com.ptc.windchill.esi.map
Class ESIGroupInfoManager

java.lang.Object
  extended bycom.ptc.windchill.esi.map.ESIGroupInfoManager

public final class ESIGroupInfoManager
extends Object

Manages all ESIGroupInfo objects in a virtual machine. Implements the Singleton pattern to insure that only one instance exists in a VM.

Supported API: true

Extendable: false


Field Summary
private static ESIGroupInfoManager _instance
           
private static String CLASSNAME
           
private  LinkedHashMap groupInfoMap
           
private static String OBJECT_ID
           
private static String RESOURCE
           
 
Constructor Summary
protected ESIGroupInfoManager()
          Hide the constructor to force access via the class' instance method.
 
Method Summary
private  void addGroupInfo(String groupName, ESIMapInfo mapInfo, boolean isReleaseActivityNeeded, String releaseClass)
           
 ESIGroupInfo getGroupInfo(String groupName)
          Returns the ESIGroupInfo for the supplied group name.
 Collection getGroupInfos()
          Returns an ordered collection of all ESIGroupInfo objects.
private  void initializeGroupInfo()
           
static ESIGroupInfoManager instance()
          Get the value of the _instance attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

_instance

private static ESIGroupInfoManager _instance

OBJECT_ID

private static String OBJECT_ID

groupInfoMap

private LinkedHashMap groupInfoMap
Constructor Detail

ESIGroupInfoManager

protected ESIGroupInfoManager()
Hide the constructor to force access via the class' instance method.

Supported API: true

Method Detail

getGroupInfo

public ESIGroupInfo getGroupInfo(String groupName)
Returns the ESIGroupInfo for the supplied group name.

Supported API: true

Parameters:
groupName -
Returns:
ESIGroupInfo

getGroupInfos

public Collection getGroupInfos()
Returns an ordered collection of all ESIGroupInfo objects.

Supported API: true

Returns:
Collection

instance

public static final ESIGroupInfoManager instance()
Get the value of the _instance attribute. If the attribute is null, create an instance and store it in the attribute before returning its value.

Supported API: false

Returns:
ESIGroupInfoManager

addGroupInfo

private void addGroupInfo(String groupName,
                          ESIMapInfo mapInfo,
                          boolean isReleaseActivityNeeded,
                          String releaseClass)

initializeGroupInfo

private void initializeGroupInfo()