Class CheckPermissionWorkflowAction
- java.lang.Object
-
- de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
-
- de.uplanet.lucy.server.workflow.action.CheckPermissionWorkflowAction
-
- All Implemented Interfaces:
IActivatableWorkflowObject
,INamedWorkflowObject
,INeedWorkflow
,IWorkflowAction
,IWorkflowObject
,Serializable
public final class CheckPermissionWorkflowAction extends AbstractWorkflowAction
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description CheckPermissionWorkflowAction(String p_strGuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPermissionActions()
String
getPermissionClass()
String
getPermissionName()
boolean
isAlwaysDeny()
boolean
isAlwaysGrant()
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
setAlwaysDeny(boolean p_bAlwaysDeny)
void
setAlwaysGrant(boolean p_bAlwaysGrant)
void
setPermissionActions(String p_strActions)
void
setPermissionClass(String p_strClass)
void
setPermissionName(String p_strName)
-
Methods inherited from class de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
getAfferentTransition, getEfferentTransition, getGuid, getName, getWorkflow, isActive, setActive, setAfferentTransition, setEfferentTransition, setName, setWorkflow, toString
-
-
-
-
Constructor Detail
-
CheckPermissionWorkflowAction
public CheckPermissionWorkflowAction(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)
-
isAlwaysGrant
public boolean isAlwaysGrant()
-
setAlwaysGrant
public void setAlwaysGrant(boolean p_bAlwaysGrant)
-
isAlwaysDeny
public boolean isAlwaysDeny()
-
setAlwaysDeny
public void setAlwaysDeny(boolean p_bAlwaysDeny)
-
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:IWorkflowAction
Process a workflow event in the given context.Normally, a workflow action should return its efferent transition, regardless whether it is
active
, or not.- Parameters:
p_evt
- The event to be processed.p_wfCtx
- The workflow processing context.p_ctx
- The processing context.- Returns:
- The efferent transition, or
null
. - Throws:
InterruptedException
- If processing of this action has been interrupted.Exception
- If an error occurred.
-
-