atg.svc.ui.treetable
Class View

java.lang.Object
  extended by atg.svc.ui.treetable.View

public class View
extends java.lang.Object


Field Summary
static java.lang.String ATTRIBUTE_SUFFIX
           
static java.lang.String CLASS_VERSION
           
 
Method Summary
 void collateItems(java.util.List pItems)
           
static View createNewView(javax.servlet.http.HttpServletRequest pRequest, java.lang.Object pFormHandler, ImplementationWrapper pImplementation)
           
static java.lang.String findOperation(java.lang.Object pFormHandler)
           
static Parameters findParameters(java.lang.Object pFormHandler)
           
static StateContainer findStateContainer(javax.servlet.http.HttpServletRequest pRequest, java.lang.Object pFormHandler, java.lang.String pTreeTableId)
           
static java.lang.String findTreeTableId(java.lang.Object pFormHandler)
           
static View findView(atg.servlet.DynamoHttpServletRequest pRequest, java.lang.String pTreeTableId, java.lang.String pTreeTableBean)
           
static java.lang.String generateAttributeName(java.lang.String pTreeTableId)
           
 boolean getAreAllKeysChecked()
           
 ExpandInfo getExpandInfo(java.lang.Object pItem)
           
 boolean getHasItems()
           
 ImplementationWrapper getImplementation()
           
 boolean getIsInitialized()
           
 java.util.Collection getItemsByColumn(int pColumnIndex)
           
 MoveInfo getMoveInfoByItem(java.lang.Object pItem)
           
 MoveInfo getMoveInfoByKey(java.lang.Object pKey)
           
 NavigateInfo getNavigateInfoByItem(java.lang.Object pItem)
           
 NavigateInfo getNavigateInfoByKey(java.lang.Object pKey)
           
 java.lang.String getOperation()
           
 Parameters getParameters()
           
 StateContainer getState()
           
 java.lang.String getTreeTableId()
           
 java.lang.String getViewId()
           
 void initialize()
           
 void setImplementation(ImplementationWrapper pImplementation)
           
 void setOperation(java.lang.String pOperation)
           
 void setParameters(Parameters pParameters)
           
 void setState(StateContainer pState)
           
 void setTreeTableId(java.lang.String pTreeTableId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION

ATTRIBUTE_SUFFIX

public static final java.lang.String ATTRIBUTE_SUFFIX
See Also:
Constant Field Values
Method Detail

createNewView

public static View createNewView(javax.servlet.http.HttpServletRequest pRequest,
                                 java.lang.Object pFormHandler,
                                 ImplementationWrapper pImplementation)
                          throws java.lang.Exception
Throws:
java.lang.Exception

findOperation

public static java.lang.String findOperation(java.lang.Object pFormHandler)

findParameters

public static Parameters findParameters(java.lang.Object pFormHandler)

findStateContainer

public static StateContainer findStateContainer(javax.servlet.http.HttpServletRequest pRequest,
                                                java.lang.Object pFormHandler,
                                                java.lang.String pTreeTableId)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

findTreeTableId

public static java.lang.String findTreeTableId(java.lang.Object pFormHandler)

findView

public static View findView(atg.servlet.DynamoHttpServletRequest pRequest,
                            java.lang.String pTreeTableId,
                            java.lang.String pTreeTableBean)

generateAttributeName

public static java.lang.String generateAttributeName(java.lang.String pTreeTableId)

collateItems

public void collateItems(java.util.List pItems)
Parameters:
pItems - The new subset of the backing collection that is currently about to be displayed by the tree table for the current request.

getAreAllKeysChecked

public boolean getAreAllKeysChecked()
Returns:
Indicates whether every item in the collection is in the checked state.

getHasItems

public boolean getHasItems()
Returns:
Indicates whether the view has any items.

setImplementation

public void setImplementation(ImplementationWrapper pImplementation)
Parameters:
pImplementation - The new delegating or non-delegating reference implementation for data management.

getImplementation

public ImplementationWrapper getImplementation()
Returns:
The delegating or non-delegating reference implementation for data management.

getIsInitialized

public boolean getIsInitialized()
Returns:
Indicates whether the view is initialized by determining whether the current operation is NONE or the view has no items.

getItemsByColumn

public java.util.Collection getItemsByColumn(int pColumnIndex)
Returns:
The subset of the backing collection that is currently about to be displayed by the tree table for the current request by column.

getExpandInfo

public ExpandInfo getExpandInfo(java.lang.Object pItem)
Returns:
Retrieves meta data about the expandability of the current item for EXPAND operations, including the depth of the item in the hierarchy and whether the item has child nodes.

getMoveInfoByItem

public MoveInfo getMoveInfoByItem(java.lang.Object pItem)
Returns:
Retrieves meta data about the movability of the current item for MOVE operations, including whether the item is positioned first or last.

getMoveInfoByKey

public MoveInfo getMoveInfoByKey(java.lang.Object pKey)
Returns:
Retrieves meta data about the movability of the current item by key for MOVE operations, including whether the item is positioned first or last.

getNavigateInfoByItem

public NavigateInfo getNavigateInfoByItem(java.lang.Object pItem)
Returns:
Retrieves meta data about the navigability of the current item for NAVIGATE operations, including the depth of the item in the hierarchy and path info.

getNavigateInfoByKey

public NavigateInfo getNavigateInfoByKey(java.lang.Object pKey)
Returns:
Retrieves meta data about the navigability of the current item by key for NAVIGATE operations, including the depth of the item in the hierarchy and path info.

setOperation

public void setOperation(java.lang.String pOperation)
Parameters:
pOperation - The new tree table operation for the current request.

getOperation

public java.lang.String getOperation()
Returns:
The tree table operation for the current request.

setParameters

public void setParameters(Parameters pParameters)
Parameters:
pParameters - The new tree table parameters for the current operation.

getParameters

public Parameters getParameters()
Returns:
The tree table parameters for the current operation.

setState

public void setState(StateContainer pState)
Parameters:
pState - The new current tree table state.

getState

public StateContainer getState()
Returns:
The current tree table state.

setTreeTableId

public void setTreeTableId(java.lang.String pTreeTableId)
Parameters:
pTreeTableId - The new unique tree table identifier.

getTreeTableId

public java.lang.String getTreeTableId()
Returns:
The unique tree table identifier.

getViewId

public java.lang.String getViewId()
Returns:
The unique view identifier.

initialize

public void initialize()