lumis.content.workflow
Class WorkflowTransitionConfig

Package class diagram package WorkflowTransitionConfig
java.lang.Object
  extended by lumis.content.workflow.WorkflowTransitionConfig

@StableMinor(version="4.1",
             sinceVersion="4.0")
public class WorkflowTransitionConfig
extends Object

A transition between two workflow states.

Since:
4.0.0

Field Summary
static String PARAMETER_NAME
           
 
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.
 String getName()
          Returns the name for this transition.
 Collection<String> getPermissionsScopeAll()
           
 Collection<String> getPermissionsScopeAssignedTo()
           
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

PARAMETER_NAME

public static final String PARAMETER_NAME
See Also:
Constant Field Values
Constructor Detail

WorkflowTransitionConfig

public WorkflowTransitionConfig(WorkflowStateConfig initialState,
                                Node transitionElement)
                         throws PortalException
Throws:
PortalException
Method Detail

getInitialStateId

public String getInitialStateId()
Returns the identifier for the initial state of this transition.

Returns:
the identifier for the initial state of this transition.

getDescription

public String getDescription()
Returns the description for this transition.

Returns:
this transition's description, localizable using its workflow's string resource, or null if not defined.
See Also:
WorkflowConfig.getResource()

getFinalStateId

public String getFinalStateId()
Returns the identifier for the final state of this transition.

Returns:
the identifier for the final state of this transition.

getName

public String getName()
Returns the name for this transition.

Returns:
this transition's name, localizable using its workflow's string resource.
See Also:
WorkflowConfig.getResource()

getId

public String getId()
Returns the identifier for this transition.

Returns:
the identifier for this transition.

readPermissionsRoles

protected Set<String> readPermissionsRoles(Node[] permissionNodes)
                                    throws PortalException
Returns an unmodifiable permission roles set.

Parameters:
permissionNodes - the nodes containing the permissions definition.
Throws:
PortalException

getPermissionsScopeAll

public Collection<String> getPermissionsScopeAll()

getPermissionsScopeAssignedTo

public Collection<String> getPermissionsScopeAssignedTo()


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.