com.plumtree.uiinfrastructure.opener.types
Class ClassTypeManager

java.lang.Object
  extended by com.plumtree.uiinfrastructure.opener.types.ClassTypeManager
All Implemented Interfaces:
IClassTypeManager
Direct Known Subclasses:
ClassTypeDescManager

public class ClassTypeManager
extends java.lang.Object
implements IClassTypeManager

TODO: Document

Author:
DonH

Field Summary
protected  IClassTypeDesc[] m_aIClassTypes
          An array of all loaded IClassType objects.
protected  XPHashtable m_mapClassTypes
          A map of loaded ClassTypeDescriptors.
 
Constructor Summary
ClassTypeManager(CachingManager cmCachingManager)
           
 
Method Summary
protected  IClassTypeDesc GetClassTypeDescItem(java.lang.String _strClassKey)
          Returns IClassTypeDesc for the particular ClassKey.
 int GetDefaultOpenerMode(java.lang.String _strClassKey)
          Returns the default opener mode for this class type.
 Redirect GetOpenerRedirect(java.lang.String _strClassKey, int _nOpenerMode, XPHashtable _htArguments, AActivitySpace _asParent, java.lang.Object _userSession)
          Returns the Opener redirect for this class type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_mapClassTypes

protected XPHashtable m_mapClassTypes
A map of loaded ClassTypeDescriptors. The key is the ClassID for PTClassTypeDesc objects and ClassName for UIClassTypeDesc objects.


m_aIClassTypes

protected IClassTypeDesc[] m_aIClassTypes
An array of all loaded IClassType objects.

Constructor Detail

ClassTypeManager

public ClassTypeManager(CachingManager cmCachingManager)
Parameters:
cmCachingManager -
Method Detail

GetDefaultOpenerMode

public int GetDefaultOpenerMode(java.lang.String _strClassKey)
Description copied from interface: IClassTypeManager
Returns the default opener mode for this class type.

Specified by:
GetDefaultOpenerMode in interface IClassTypeManager
Returns:
The default opener mode for this class type.
See Also:
com.plumtree.uiinfrastructure.opener.types.IOpenerTypeManager#GetDefaultOpenerMode(java.lang.String)

GetOpenerRedirect

public Redirect GetOpenerRedirect(java.lang.String _strClassKey,
                                  int _nOpenerMode,
                                  XPHashtable _htArguments,
                                  AActivitySpace _asParent,
                                  java.lang.Object _userSession)
Description copied from interface: IClassTypeManager
Returns the Opener redirect for this class type.

Specified by:
GetOpenerRedirect in interface IClassTypeManager
Returns:
The redirect for this request.
See Also:
com.plumtree.uiinfrastructure.opener.types.IOpenerTypeManager#GetOpenerRedirect(java.lang.String, int, com.plumtree.openfoundation.util.XPHashtable, com.plumtree.uiinfrastructure.activityspace.AActivitySpace, java.lang.Object)

GetClassTypeDescItem

protected IClassTypeDesc GetClassTypeDescItem(java.lang.String _strClassKey)
Returns IClassTypeDesc for the particular ClassKey.

Parameters:
_strClassKey - For PTClassTypes, this is the ClassID, for UIClassTypes, this is the ClassName.
Returns:
IClassTypeDesc for the particular ClassKey.



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.