com.waveset.adapter
Class ResourceUIConfig

java.lang.Object
  extended bycom.waveset.adapter.ResourceUIConfig

public class ResourceUIConfig
extends java.lang.Object

A class that provides a catalog of available ResourceAdapter objects. See comments in PolicyManager.


Field Summary
static java.lang.String code_id
           
static java.lang.String COLUMN_LABEL
           
static java.lang.String COLUMN_SORTBY
           
static java.lang.String COLUMN_WIDTH
           
static java.lang.String DISPLAY_BRACKET_ON_BRANCH
           
static java.lang.String DISPLAY_NAME_LIST_DELIMINATOR
           
static java.lang.String MAX_NUMBER_CHILDREN_PER_NODE
           
static java.lang.String NAME
           
static java.lang.String PAGES_FOR_SEARCH
           
static java.lang.String ROOT_NODE_WINDOW_SIZE
           
static java.lang.String SUBNODE_WINDOW_SIZE
           
static java.lang.String USE_PAGED_RESULTS
           
 
Constructor Summary
ResourceUIConfig(Configuration uiConfig)
           
 
Method Summary
 java.util.Map getListViewAttributes()
           
 java.util.List getReconAppletColumns()
           
 java.util.List getResourceAppletColumns()
           
 java.lang.String getResourceListViewer()
           
 java.lang.String getResourceTypeIcon(java.lang.String resTypeName)
           
static ResourceUIConfig getUIConfig()
          Gets the current configuration for resource UIs.
 void setListViewAttributes(java.util.Map listViewAttributes)
           
 void setResourceListViewer(java.lang.String viewer)
           
static void setupUIConfig(LighthouseContext lhCtx)
          Initializes the configuration data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

COLUMN_LABEL

public static final java.lang.String COLUMN_LABEL
See Also:
Constant Field Values

COLUMN_WIDTH

public static final java.lang.String COLUMN_WIDTH
See Also:
Constant Field Values

COLUMN_SORTBY

public static final java.lang.String COLUMN_SORTBY
See Also:
Constant Field Values

DISPLAY_NAME_LIST_DELIMINATOR

public static final java.lang.String DISPLAY_NAME_LIST_DELIMINATOR
See Also:
Constant Field Values

MAX_NUMBER_CHILDREN_PER_NODE

public static final java.lang.String MAX_NUMBER_CHILDREN_PER_NODE
See Also:
Constant Field Values

PAGES_FOR_SEARCH

public static final java.lang.String PAGES_FOR_SEARCH
See Also:
Constant Field Values

SUBNODE_WINDOW_SIZE

public static final java.lang.String SUBNODE_WINDOW_SIZE
See Also:
Constant Field Values

ROOT_NODE_WINDOW_SIZE

public static final java.lang.String ROOT_NODE_WINDOW_SIZE
See Also:
Constant Field Values

USE_PAGED_RESULTS

public static final java.lang.String USE_PAGED_RESULTS
See Also:
Constant Field Values

DISPLAY_BRACKET_ON_BRANCH

public static final java.lang.String DISPLAY_BRACKET_ON_BRANCH
See Also:
Constant Field Values
Constructor Detail

ResourceUIConfig

public ResourceUIConfig(Configuration uiConfig)
Method Detail

setupUIConfig

public static void setupUIConfig(LighthouseContext lhCtx)
Initializes the configuration data. This should only be called by Server.


getUIConfig

public static ResourceUIConfig getUIConfig()
Gets the current configuration for resource UIs.


getResourceTypeIcon

public java.lang.String getResourceTypeIcon(java.lang.String resTypeName)
Returns:
the name of the icon to use for the given resource type. If one is not specified in the configuration, the default icon will be returned.

getResourceAppletColumns

public java.util.List getResourceAppletColumns()
Returns:
the list of column definitions to use for the resource applet. This list is guaranteed to not contain ill-formed definitions (i.e. no column name) or duplicate columns.

getReconAppletColumns

public java.util.List getReconAppletColumns()
Returns:
the list of column definitions to use for the reconciliation applet. This list is guaranteed to not contain ill-formed definitions (i.e. no column name) or duplicate columns.

setListViewAttributes

public void setListViewAttributes(java.util.Map listViewAttributes)

getListViewAttributes

public java.util.Map getListViewAttributes()

setResourceListViewer

public void setResourceListViewer(java.lang.String viewer)

getResourceListViewer

public java.lang.String getResourceListViewer()