com.polarion.alm.tracker.model.IWorkflowAction
METHODS
Modifiers and Type | Name | Description |
---|---|---|
String | getNativeActionId() | Returns the action id as defined in workflow configuration. |
int | getActionId() | Returns the aplication internal action id. |
String | getActionName() | Returns the name of this action. |
String[] | getRequiredFeatures() | Returns the keys of fields that have to be set to perform this action. |
String[] | getSuggestedFeatures() | Returns the keys that should be edited before performing the action. |
String[] | getCleanedFeatures() | Returns the keys that will be (set to null) during the action. |
String[] | getRequiredRoles() | Returns the ids of roles that the user has to have to perform this action. It is enough to have just one of these roles, there is OR connection among them. |
boolean | hasCurrentUserRequiredRoles(IContextId) | Returns whether current user has at least one of the roles required to perform this action. Note that special roles 'workitem.author' and 'workitem.assignee' are not treated as required by this method. |
IEnumOption | getTargetStatus() | Returns the target status of this action. The target status is the status a work item will have after the action was executed on it. |
boolean | isSignatureRequired() | Returns true if this action requires signature by some users. For {@link IWorkItem} actions this means that the user will have to e-sign (using pop up dialog) the transition when performing this action in the UI. For {@link IModule} actions this means that the users can add their {@link ISignature} s for the action and the action may become unavailable depending on a signature policy and the present signatures. If this action automatically adds signature by current user (see {@link #isAddingSignature()} ), the user will have to e-sign (using pop up dialog) the transition when performing this action in the UI. |
boolean | isAddingSignature() | Returns true if a signature ( {@link ISignature} ) by current user is automatically added when the action is performed. |
Back to Index