uPortal 2.3.2
API Documentation

org.jasig.portal.groups
Class EntityTypes

java.lang.Object
  extended byorg.jasig.portal.groups.EntityTypes

Deprecated. As of uPortal 2.1, replaced by EntityTypes

public class EntityTypes
extends java.lang.Object

This class provides access to the entity types used by IEntityGroups. Type, to a group, is like Class to an Array. It specifies what kind of entities the IEntityGroup contains.

Each type is associated with an Integer which is used to store the type in the portal data store. This class translates between the Integer and Class values.

Version:
$Revision: 1.8 $
Author:
Dan Ellentuck

Field Summary
static java.lang.Class GROUP_ENTITY_TYPE
          Deprecated.  
static int NULL_TYPE_ID
          Deprecated.  
 
Constructor Summary
EntityTypes()
          Deprecated. EntityTypes constructor comment.
 
Method Summary
 java.util.Iterator getAllEntityTypeIDs()
          Deprecated.  
 java.util.Iterator getAllEntityTypes()
          Deprecated.  
 java.lang.Integer getEntityIDFromType(java.lang.Class type)
          Deprecated. Interface to the entity types cache.
static java.lang.Class getEntityType(java.lang.Integer typeID)
          Deprecated. Interface to the entity types cache.
 java.lang.Class getEntityTypeFromID(java.lang.Integer typeID)
          Deprecated. Interface to the entity types cache.
static java.lang.Integer getEntityTypeID(java.lang.Class type)
          Deprecated. Interface to the entity types cache.
static EntityTypes singleton()
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_TYPE_ID

public static int NULL_TYPE_ID
Deprecated. 

GROUP_ENTITY_TYPE

public static java.lang.Class GROUP_ENTITY_TYPE
Deprecated. 
Constructor Detail

EntityTypes

public EntityTypes()
Deprecated. 
EntityTypes constructor comment.

Method Detail

getAllEntityTypeIDs

public java.util.Iterator getAllEntityTypeIDs()
Deprecated. 
Returns:
java.util.Iterator

getAllEntityTypes

public java.util.Iterator getAllEntityTypes()
Deprecated. 
Returns:
java.util.Iterator

getEntityIDFromType

public java.lang.Integer getEntityIDFromType(java.lang.Class type)
Deprecated. 
Interface to the entity types cache.

Returns:
java.lang.Integer

getEntityType

public static java.lang.Class getEntityType(java.lang.Integer typeID)
Deprecated. 
Interface to the entity types cache.

Returns:
java.lang.Class

getEntityTypeFromID

public java.lang.Class getEntityTypeFromID(java.lang.Integer typeID)
Deprecated. 
Interface to the entity types cache.

Returns:
java.lang.Class

getEntityTypeID

public static java.lang.Integer getEntityTypeID(java.lang.Class type)
Deprecated. 
Interface to the entity types cache.

Returns:
java.lang.Class

singleton

public static EntityTypes singleton()
Deprecated. 
Returns:
org.jasig.portal.groups.EntityTypes

uPortal 2.3.2
API Documentation