Ontimize Document Management 0.032EN

com.ontimize.dms.client.gui
Interface ComponentContext

All Superinterfaces:
ContextValues
All Known Subinterfaces:
SearcherComponent
All Known Implementing Classes:
DefaultViewerComponent, ODMSComponent

public interface ComponentContext
extends ContextValues

Component context.

Contains all needed information to

Since:
01/07/2009 Allowed actions., 09/02/2010 Create internal context model., 16/02/2010 Added action list.

Method Summary
 java.util.Map createContext(javax.swing.tree.TreePath path)
          Creates a Map with the information that needs server to execute operations.
 java.util.List getActions(ComponentSelection parent)
          Returns a list with all available actions.
 java.util.List getAllowedActions()
          Returns a list with the enabled actions.
 java.lang.Object getAttribute()
           
 InternalConfigModel getConfiguration()
           
 Document getDocument(java.util.Map node)
          Deprecated. use instead new ODMSDocument(ContextValues context, Map node);
 java.util.List getExtraFields()
           
 java.util.List getFields()
           
 java.util.List getHiddenFields()
           
 java.util.List getKeys()
           
 java.lang.String getName()
           
 Document[] getSelectedDocument()
           
 TreeNode getSelectedLeaf()
           
 javax.swing.tree.TreePath getSelectedPath()
           
 java.util.List getVersionColumns()
           
 
Methods inherited from interface com.ontimize.dms.client.ContextValues
createContext, getAction, getBase, getCurrentExtraFields, getCurrentFields, getCurrentKeys, getParentFields, getWorkingDirectory, isFileNameGenerationEnabled
 

Method Detail

getAttribute

java.lang.Object getAttribute()

getName

java.lang.String getName()

getKeys

java.util.List getKeys()

getFields

java.util.List getFields()

getExtraFields

java.util.List getExtraFields()

getHiddenFields

java.util.List getHiddenFields()

getVersionColumns

java.util.List getVersionColumns()

getConfiguration

InternalConfigModel getConfiguration()

getSelectedLeaf

TreeNode getSelectedLeaf()

getSelectedPath

javax.swing.tree.TreePath getSelectedPath()

getSelectedDocument

Document[] getSelectedDocument()

getDocument

Document getDocument(java.util.Map node)
Deprecated. use instead new ODMSDocument(ContextValues context, Map node);


getActions

java.util.List getActions(ComponentSelection parent)

Returns a list with all available actions.

Returns:
List
See Also:
ComponentPopupItem

getAllowedActions

java.util.List getAllowedActions()

Returns a list with the enabled actions.

Returns:
List with the enabled actions.
See Also:
ComponentActions

createContext

java.util.Map createContext(javax.swing.tree.TreePath path)

Creates a Map with the information that needs server to execute operations.

Context is given as a parameter in all server operations.

Parameters:
path - The current selected path in the tree.
Returns:
Map with the component context keys.

Ontimize Document Management