|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.content.workflow.WorkflowTransitionConfig
@StableMinor(version="6.2", sinceVersion="4.0") public class WorkflowTransitionConfig
A transition between two workflow states.
Nested Class Summary | |
---|---|
static class |
WorkflowTransitionConfig.WorkflowLockAction
Defines the possible actions that should be taken regarding lock in the ContentLocale. |
Field Summary | |
---|---|
static String |
PARAMETER_NAME
|
protected Map<String,Collection<String>> |
permissionsScope
|
Constructor Summary | |
---|---|
WorkflowTransitionConfig(WorkflowStateConfig initialState,
Node transitionElement)
|
Method Summary | |
---|---|
String |
getDescription()
Returns the description for this transition. |
String |
getFinalStateId()
Returns the identifier for the final state of this transition. |
String |
getId()
Returns the identifier for this transition. |
String |
getInitialStateId()
Returns the identifier for the initial state of this transition. |
WorkflowTransitionConfig.WorkflowLockAction |
getLockAction()
Returns the lockAction for this transition. |
String |
getName()
Returns the name for this transition. |
protected Collection<String> |
getPermissions(Enum<?> scope)
Returns all permissions available for a given scope. |
Collection<String> |
getPermissions(TransitionScope transitionScope)
Returns all permissions available for a given scope. |
Collection<String> |
getPermissionsScopeAll()
Deprecated. Since 6.0.2, replaced by getPermissions(TransitionScope) . |
Collection<String> |
getPermissionsScopeAssignedTo()
Deprecated. Since 6.0.2, replaced by getPermissions(TransitionScope) . |
protected EnumSet<TransitionScope> |
getScopes()
Returns the scopes for a permission object. |
protected Set<String> |
readPermissionsRoles(Node[] permissionNodes)
Returns an unmodifiable permission roles set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PARAMETER_NAME
protected Map<String,Collection<String>> permissionsScope
Constructor Detail |
---|
public WorkflowTransitionConfig(WorkflowStateConfig initialState, Node transitionElement) throws PortalException
PortalException
Method Detail |
---|
public String getInitialStateId()
public String getDescription()
null
if not defined.WorkflowConfig.getResource()
public String getFinalStateId()
public String getName()
WorkflowConfig.getResource()
public String getId()
public WorkflowTransitionConfig.WorkflowLockAction getLockAction()
@Deprecated public Collection<String> getPermissionsScopeAll()
getPermissions(TransitionScope)
.
@Deprecated public Collection<String> getPermissionsScopeAssignedTo()
getPermissions(TransitionScope)
.
protected EnumSet<TransitionScope> getScopes()
public Collection<String> getPermissions(TransitionScope transitionScope)
transitionScope
- the scope to have the permissions returned
protected Set<String> readPermissionsRoles(Node[] permissionNodes) throws PortalException
permissionNodes
- the nodes containing the permissions definition.
PortalException
protected Collection<String> getPermissions(Enum<?> scope)
scope
- the scope to have the permissions returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |