| com.flexive.shared.interfaces.StepDefinitionEngine
All known Subclasses: com.flexive.ejb.beans.workflow.StepDefinitionEngineBean,
StepDefinitionEngine | public interface StepDefinitionEngine (Code) | | Interface to the step definition engine.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Method Summary | |
long | create(StepDefinition stepDefinition) Creates a new step definition. | void | remove(long id) Removes a step definition. | void | update(StepDefinition stepDefinition) Modifies a existing StepDefinition.
The caller must be within ROLE_WORKFLOWMANAGEMENT.
If the modification adds/modifies a unique target all workflows are checked if a step with this definition
exists, and if the new unqique target is defined. |
update | void update(StepDefinition stepDefinition) throws FxApplicationException(Code) | | Modifies a existing StepDefinition.
The caller must be within ROLE_WORKFLOWMANAGEMENT.
If the modification adds/modifies a unique target all workflows are checked if a step with this definition
exists, and if the new unqique target is defined. If the unqique target is missing in any workflow,
it will be created using the ACL of the parent step.
Parameters: stepDefinition - the stepdefinition to be stored throws: FxApplicationException - TODO throws: FxNotFoundException - if the StepDefinition referenced by the parameter id does not exist throws: FxNoAccessException - if the caller lacks the permissions to modify the step throws: FxInvalidParameterException - if the uniqueTarget id is invalid throws: FxUpdateException - if the function failed to modify the step definition |
|
|