|
||||||||||
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.1", 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 java.lang.String |
PARAMETER_NAME
|
protected java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> |
permissionsScope
|
Constructor Summary | |
---|---|
WorkflowTransitionConfig(WorkflowStateConfig initialState,
org.w3c.dom.Node transitionElement)
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the description for this transition. |
java.lang.String |
getFinalStateId()
Returns the identifier for the final state of this transition. |
java.lang.String |
getId()
Returns the identifier for this transition. |
java.lang.String |
getInitialStateId()
Returns the identifier for the initial state of this transition. |
WorkflowTransitionConfig.WorkflowLockAction |
getLockAction()
Returns the lockAction for this transition. |
java.lang.String |
getName()
Returns the name for this transition. |
protected java.util.Collection<java.lang.String> |
getPermissions(java.lang.Enum<?> scope)
Returns all permissions available for a given scope. |
java.util.Collection<java.lang.String> |
getPermissions(TransitionScope transitionScope)
Returns all permissions available for a given scope. |
java.util.Collection<java.lang.String> |
getPermissionsScopeAll()
Deprecated. Since 6.0.2, replaced by getPermissions(Enum) |
java.util.Collection<java.lang.String> |
getPermissionsScopeAssignedTo()
Deprecated. Since 6.0.2, replaced by getPermissions(Enum) |
protected java.util.EnumSet<TransitionScope> |
getScopes()
Returns the scopes for a permission object. |
protected java.util.Set<java.lang.String> |
readPermissionsRoles(org.w3c.dom.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 java.lang.String PARAMETER_NAME
protected java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> permissionsScope
Constructor Detail |
---|
public WorkflowTransitionConfig(WorkflowStateConfig initialState, org.w3c.dom.Node transitionElement) throws PortalException
PortalException
Method Detail |
---|
public java.lang.String getInitialStateId()
public java.lang.String getDescription()
null
if not defined.WorkflowConfig.getResource()
public java.lang.String getFinalStateId()
public java.lang.String getName()
WorkflowConfig.getResource()
public java.lang.String getId()
public WorkflowTransitionConfig.WorkflowLockAction getLockAction()
@Deprecated public java.util.Collection<java.lang.String> getPermissionsScopeAll()
getPermissions(Enum)
@Deprecated public java.util.Collection<java.lang.String> getPermissionsScopeAssignedTo()
getPermissions(Enum)
protected java.util.EnumSet<TransitionScope> getScopes()
public java.util.Collection<java.lang.String> getPermissions(TransitionScope transitionScope)
transitionScope
- the scope to have the permissions returned
protected java.util.Set<java.lang.String> readPermissionsRoles(org.w3c.dom.Node[] permissionNodes) throws PortalException
permissionNodes
- the nodes containing the permissions definition.
PortalException
protected java.util.Collection<java.lang.String> getPermissions(java.lang.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 |