Class CheckPermissionWorkflowCondition
- java.lang.Object
-
- de.uplanet.lucy.server.workflow.condition.AbstractWorkflowCondition
-
- de.uplanet.lucy.server.workflow.condition.CheckPermissionWorkflowCondition
-
- All Implemented Interfaces:
IActivatableWorkflowObject
,INamedWorkflowObject
,INeedWorkflow
,IWorkflowCondition
,IWorkflowObject
,Serializable
public final class CheckPermissionWorkflowCondition extends AbstractWorkflowCondition
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description CheckPermissionWorkflowCondition(String p_strGuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPermissionActions()
String
getPermissionClass()
String
getPermissionName()
String
getTransitionDeny()
String
getTransitionGrant()
WorkflowTransition[]
process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx)
Process a workflow event in the given context.void
setPermissionActions(String p_strActions)
void
setPermissionClass(String p_strClass)
void
setPermissionName(String p_strName)
void
setTransitionDeny(String p_strTransitionDeny)
void
setTransitionGrant(String p_strTransitionGrant)
-
Methods inherited from class de.uplanet.lucy.server.workflow.condition.AbstractWorkflowCondition
getAfferentTransition, getEfferentTransitions, getGuid, getName, getWorkflow, isActive, setActive, setAfferentTransition, setEfferentTransitions, setName, setWorkflow, toString
-
-
-
-
Constructor Detail
-
CheckPermissionWorkflowCondition
public CheckPermissionWorkflowCondition(String p_strGuid)
-
-
Method Detail
-
getPermissionClass
public String getPermissionClass()
-
setPermissionClass
public void setPermissionClass(String p_strClass)
-
getPermissionName
public String getPermissionName()
-
setPermissionName
public void setPermissionName(String p_strName)
-
getPermissionActions
public String getPermissionActions()
-
setPermissionActions
public void setPermissionActions(String p_strActions)
-
getTransitionGrant
public String getTransitionGrant()
-
setTransitionGrant
public void setTransitionGrant(String p_strTransitionGrant)
-
getTransitionDeny
public String getTransitionDeny()
-
setTransitionDeny
public void setTransitionDeny(String p_strTransitionDeny)
-
process
public WorkflowTransition[] process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) throws Exception
Description copied from interface:IWorkflowCondition
Process a workflow event in the given context.The workflow engine will follow the resulting transitions in the order they were returned in the array.
Normally, a workflow condition should return
null
or an empty array if it is notactive
.- Parameters:
p_evt
- The event to be processed.p_wfCtx
- The workflow processing context.p_ctx
- The processing context.- Returns:
- The efferent transitions, or an empty array, or
null
. - Throws:
InterruptedException
- If processing of this condition has been interrupted.Exception
- If an error occurred.
-
-