com.ibm.ccd.ui.dataobjects.workflow
Class WorkflowHelper

java.lang.Object
  extended by com.ibm.ccd.ui.dataobjects.workflow.WorkflowHelper
All Implemented Interfaces:
IWorkflowHelper

public class WorkflowHelper
extends java.lang.Object
implements IWorkflowHelper

WorkflowHelper class All methods for processing the requests for Business Portlet


Constructor Summary
WorkflowHelper()
           
 
Method Summary
 java.util.Map getAttributes(WPSContext context, java.lang.String catalogId, MessageMap messageMap)
          Getting attributes from the selected catalog
static IWorkflowHelper getInstance()
          getting instance
 void getUserRoles(WorkFlowTO workflowObj, MessageMap messageMap, WPSContext context)
          Method for executing the request for user roles
 void process(WorkFlowTO workflowObj, MessageMap messageMap, WPSContext context)
          Method for executing the request for fetching the data in workflow
 void processAction(WorkFlowTO workflowObj, MessageMap messageMap, WPSContext context)
          Method for executing the request for the actions done on items
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowHelper

public WorkflowHelper()
Method Detail

getInstance

public static IWorkflowHelper getInstance()
getting instance


process

public void process(WorkFlowTO workflowObj,
                    MessageMap messageMap,
                    WPSContext context)
Method for executing the request for fetching the data in workflow

Specified by:
process in interface IWorkflowHelper
Parameters:
workflowObj - Data object carrying all parameters for executing the request
messageMap - Map for adding information
context - user context object

processAction

public void processAction(WorkFlowTO workflowObj,
                          MessageMap messageMap,
                          WPSContext context)
                   throws WPCMediatorException
Method for executing the request for the actions done on items

Specified by:
processAction in interface IWorkflowHelper
Parameters:
workflowObj - Data object carrying all parameters for executing the request
messageMap - Map for adding information
context - user context object
Throws:
WPCMediatorException

getUserRoles

public void getUserRoles(WorkFlowTO workflowObj,
                         MessageMap messageMap,
                         WPSContext context)
                  throws WPCMediatorException
Method for executing the request for user roles

Specified by:
getUserRoles in interface IWorkflowHelper
Parameters:
workflowObj - Data object carrying all parameters for executing the request
messageMap - Map for adding information
context - user context object
Throws:
WPCMediatorException

getAttributes

public java.util.Map getAttributes(WPSContext context,
                                   java.lang.String catalogId,
                                   MessageMap messageMap)
Getting attributes from the selected catalog

Specified by:
getAttributes in interface IWorkflowHelper
Parameters:
context -
catalogId -
Returns:
map
Throws:
UIException