Class WorkplaceFunctionsManager

java.lang.Object
org.eclnt.workplace.WorkplaceFunctionsManager
All Implemented Interfaces:
Serializable, ICCComponentProperties

public class WorkplaceFunctionsManager extends Object implements Serializable, ICCComponentProperties
Transfers a workplace-functions-definition (see WorkplaceFunctionTreeInfoManager) into a "visible workplace" - containing an outlook bar + a collection of workplace functions trees.
See Also:
  • Constructor Details

    • WorkplaceFunctionsManager

      public WorkplaceFunctionsManager(IWorkpageDispatcher owningDispatcher)
      This constructor is typically not called by a dispatcher instance, but is called by the WorkpageContainer. As consequence the dispatcher that is passed is the main dispatcher ("#{d}-dispatcher").
  • Method Details

    • initFunctionTreeClass

      public static void initFunctionTreeClass(Class clazz)
      You may define the class that is responsible for building up the workplace function tree (FunctionTree) from the node info (WorkplaceFunctionTreeInfoNode).
    • initCheckIfToRenderNodeClass

      public static void initCheckIfToRenderNodeClass(Class clazz)
      You may define a class to filter out nodes on a section level (outlookbar-item-level). For each instance of WorkpalceFunctionsManager instance one corresponding instance will be created using a constructor without parameter.
    • prepare

      public void prepare()
      Loads function tree of current user. The user is taken from the IUserAccess interface.
    • importWorkplaceFunctionTreeInfoNode

      public void importWorkplaceFunctionTreeInfoNode(WorkplaceFunctionTreeInfoNode nodeToImport)
    • setFunctionNodeActionListener

      public void setFunctionNodeActionListener(WorkplaceFunctionTree.IFunctionNodeActionListener functionNodeActionListener)
      Sets listener that is invoked with all user actions on a node of a function tree.
    • getFunctionNodeActionListener

      public WorkplaceFunctionTree.IFunctionNodeActionListener getFunctionNodeActionListener()
    • getFunctionNodeDefaultDropReceive

      public String getFunctionNodeDefaultDropReceive()
      Sets DROPRECEIVE for all nodes of the contained function trees.
    • setFunctionNodeDefaultDropReceive

      public void setFunctionNodeDefaultDropReceive(String functionNodeDefaultDropReceive)
    • importWorkplaceFunctionTreeInfoNode

      public void importWorkplaceFunctionTreeInfoNode(String treeName)
    • getTrees

    • getObIndex

      public int getObIndex()
    • setObIndex

      public void setObIndex(int obIndex)
    • getObRenderedMap

      public WorkplaceFunctionsManager.ObrenderedMap getObRenderedMap()
    • getContent

      public ROWDYNAMICCONTENTBinding getContent()
    • getFunctionTreeStyleVariant

      public String getFunctionTreeStyleVariant()
    • setFunctionTreeStyleVariant

      public void setFunctionTreeStyleVariant(String functionTreeStyleVariant)
    • preselectTopNodeId

      public void preselectTopNodeId(String topNodeId)
    • getCurrentTopNodeId

      public String getCurrentTopNodeId()
    • getRootNode

      public WorkplaceFunctionTreeInfoNode getRootNode()