com.sap.mdm.workflow
Class WorkflowTaskAction

java.lang.Object
  extended bycom.sap.mdm.workflow.WorkflowTaskAction

public class WorkflowTaskAction
extends Object

This class represents action that can be done on workflow task


Field Summary
static int ACCEPT
           
static int ARCHIVE
           
static int ASSIGN
           
static int ASSUME
           
static int DELETE
           
static int DONE
           
static int EMPTY_TRASH
           
static int LAUNCH
           
static int MERGE
           
static int PERFORM
           
static int REPEAT_STEP
           
static int SEND_NEXT_STEP
           
static int SEND_NEXT_USER
           
static int SET_PRIORITY
           
static int SHOW_HISTORY
           
static int SPLIT
           
static int UNACCEPT
           
static int UNDELETE
           
static int VALIDATE
           
 
Constructor Summary
WorkflowTaskAction(WorkflowTask task, int actionType, boolean isEnable, WorkflowActionMenuNode[] actionParameters)
          Constructor with the specified parameters.
 
Method Summary
 WorkflowActionMenuNode[] getActionParameters()
          Returns the action parameters.
 int getType()
          Returns the action type.
 String getTypeName()
          Returns the type name correspondent to the default Locale
 String getTypeName(Locale locale)
          Returns the language specific type name
 WorkflowTask getWorkflowTask()
          Returns the workflow task.
 boolean isEnable()
          Specifies if this action is enabled.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LAUNCH

public static final int LAUNCH
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values

UNDELETE

public static final int UNDELETE
See Also:
Constant Field Values

EMPTY_TRASH

public static final int EMPTY_TRASH
See Also:
Constant Field Values

ACCEPT

public static final int ACCEPT
See Also:
Constant Field Values

ASSUME

public static final int ASSUME
See Also:
Constant Field Values

ASSIGN

public static final int ASSIGN
See Also:
Constant Field Values

DONE

public static final int DONE
See Also:
Constant Field Values

SEND_NEXT_USER

public static final int SEND_NEXT_USER
See Also:
Constant Field Values

SEND_NEXT_STEP

public static final int SEND_NEXT_STEP
See Also:
Constant Field Values

REPEAT_STEP

public static final int REPEAT_STEP
See Also:
Constant Field Values

UNACCEPT

public static final int UNACCEPT
See Also:
Constant Field Values

MERGE

public static final int MERGE
See Also:
Constant Field Values

SPLIT

public static final int SPLIT
See Also:
Constant Field Values

VALIDATE

public static final int VALIDATE
See Also:
Constant Field Values

PERFORM

public static final int PERFORM
See Also:
Constant Field Values

SET_PRIORITY

public static final int SET_PRIORITY
See Also:
Constant Field Values

SHOW_HISTORY

public static final int SHOW_HISTORY
See Also:
Constant Field Values

ARCHIVE

public static final int ARCHIVE
See Also:
Constant Field Values
Constructor Detail

WorkflowTaskAction

public WorkflowTaskAction(WorkflowTask task,
                          int actionType,
                          boolean isEnable,
                          WorkflowActionMenuNode[] actionParameters)
Constructor with the specified parameters.

Parameters:
task - the task relating to this task command
actionType - the type of action
isEnable - indicates if action is enabled
actionParameters - parameters
Method Detail

getWorkflowTask

public WorkflowTask getWorkflowTask()
Returns the workflow task.

Returns:
the workflow task.

getType

public int getType()
Returns the action type.

Returns:
the action type.

isEnable

public boolean isEnable()
Specifies if this action is enabled.

Returns:
true if this action is enabled, false otherwise.

getActionParameters

public WorkflowActionMenuNode[] getActionParameters()
Returns the action parameters.

Returns:
the action parameters. Null if there is no parameters.

getTypeName

public String getTypeName()
Returns the type name correspondent to the default Locale

Returns:
default language type name

getTypeName

public String getTypeName(Locale locale)
Returns the language specific type name

Parameters:
locale - the Locale defining the language for type name
Returns:
the language specific type name

toString

public String toString()
See Also:
Object.toString()


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.