|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.infoglue.cms.util.workflow.OwnerStepFilter
Filters steps according to owner. If a step has no owner, it is assumed that anyone can view it. An administrator can view all steps regardless of owner.
| Constructor Summary | |
OwnerStepFilter()
Constructs an OwnerStepFilter from the user associated with the current session/action context |
|
OwnerStepFilter(InfoGluePrincipal userPrincipal)
Constructs an owner step filter with the given user principal |
|
| Method Summary | |
boolean |
isAllowed(WorkflowStepVO step)
Indicates whether the step is allowed |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OwnerStepFilter()
public OwnerStepFilter(InfoGluePrincipal userPrincipal)
userPrincipal - an InfoGluePrincipal representing a user| Method Detail |
public boolean isAllowed(WorkflowStepVO step)
isAllowed in interface StepFilterstep - a workflow step.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||