|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IStep represents a step in the approval workflow.
The workflow can consist of several steps, and each step can have
several approvers.
It is used in the user interface to define and display the
workflow for a resource.
IStepList | Method Summary | |
void |
addApprover(IApprover impApprover)
Adds one approver to the step. |
boolean |
appendApproverStringToStep(java.lang.String impApproverString)
Adds one approver to the step by using a string from the list which is returned by getApproverStringsOfStep()
The list which is returned by getApproverStringsOfStep()
contains strings, each of which represents a single approver entry assigned to the step.
|
boolean |
containsApprover(com.sapportals.portal.security.usermanagement.IUser impUser)
Checks whether a IUser is contained in the approver list of the step.
|
java.util.List |
deleteSelectedApprovers()
Removes the selected approvers. |
java.util.List |
getApproverOfStep()
Returns a list of approvers for one step. |
java.util.List |
getApproverStringsOfStep()
Returns a list of strings representing the approvers of the step. |
java.lang.String |
getDisplayName()
Returns a description of the Step .
|
boolean |
isEmpty()
Checks whether approvers are assigned to the step. |
boolean |
isSelected()
Checks whether the step has been selected. |
void |
setDisplayName(java.lang.String impName)
Sets a description for the Step .
|
void |
setSelected(boolean impSelected)
Sets the selected flag. |
| Method Detail |
public void addApprover(IApprover impApprover)
impApprover is added to the current step. Duplicate
entries are prevented, which means that the approver is only added, if there
is no other IApprover that equals the imApprover
already assigend to the step.impApprover - the approver to be added to the listpublic boolean isSelected()
public boolean isEmpty()
IStepList before the steplist can be used.public void setSelected(boolean impSelected)
impSelected - Boolean flag to select or deselect the steppublic java.lang.String getDisplayName()
Step .
A step can have a meaningful name to be displayed in the user
interface.public void setDisplayName(java.lang.String impName)
Step .
A step can have a meaningful name to be displayed in the user
interface.impName - display name of the steppublic java.util.List getApproverOfStep()
List returned contains only IApprover
objects.IApprover objectsIApproverpublic java.util.List getApproverStringsOfStep()
IStep into a list of string values. The IStep
can be deserialized using the appendApproverStringToStep
for each element contained in the List returned by this method. IApprovers IApprover
public boolean appendApproverStringToStep(java.lang.String impApproverString)
throws WcmException
getApproverStringsOfStep()
The list which is returned by getApproverStringsOfStep()
contains strings, each of which represents a single approver entry assigned to the step.
The name of the step is also encoded in each string.
This method checks if the name of the step in the string matches the name
of the current step, and returns false if it does not match.impApproverString - string for a single approver within the stepWcmException - exception raised in failure situationpublic java.util.List deleteSelectedApprovers()
IApprovers that are removed is returned.IApprovers - WcmExceptionpublic boolean containsApprover(com.sapportals.portal.security.usermanagement.IUser impUser)
IUser is contained in the approver list of the step.
An approver can be a single user, or a group or role.
This method checks all approvers assigned to this step. If the approver is a group or
role, the method checks if the user is contained in this group or role.impUser - user that is checkedIApprover
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||