Package org.ametys.cms.workflow
package org.ametys.cms.workflow
-
ClassDescriptionAbstract workflow function working on a Content, which provides common content methods.Abstract class for easily retrieving environment components in a condition or a function and especially a content.Object for storing binding and validation errors.Action for archiving a content.Function setting the user comment into the step before it's stored.Condition for checking rights of an user for the current action using the right content context.OSWorkflow condition to test the current step of a content The following configuration have to be used:This action returns the workflow history of a contentAction for firing a transition on a content's workflow.A component to do workflow actions on ContentCondition for checking if an user has the right to create a content of the requested type.OSWorkflow function for creating a content.Condition for checking if an user has the right to create a content of the requested type.OSWorkflow function for creating a entry of reference table.Workflow function creating a new content version.
Enumerator
for the default workflow stepsOSWorkflow function to edit a content.
Values are set either programmatically, or parsed from form submission by theirElementType
s according to theContent
model.
The required transient variables:
- AbstractContentWorkflowComponent.RESULT_MAP_KEY - Map<String, Object> The map containing the results of the function.
- AbstractContentWorkflowComponent.RESULT_MAP_KEY.result - String "true" when everything goes fine.OSWorkflow function to extract outgoing references in a content.Action for initializing a transition on a content's workflow.WorkflowException
which can be thrown in aFunctionProvider
if the input is invalid.OSWorkflow condition for testing the lock state of a content.Workflow function which marks a content archived.Annotation forValidator
needing to validate at once all values of a given attribute, even in a case of APPEND or REMOVE edition.OSWorkflow function to restore an old revision of a content.OS workflow function to send mail after an action is triggered.OS workflow function to send mail after an action is triggered.OS workflow function to set the current step idFunction setting or removing the date at which the content was proposed for validation, i.e.Generates the tasks listUnarchive a content.OSWorkflow function to unlock a content.OSWorkflow condition to check all content metadata are validOSWorkflow function for setting the "validate" flag on steps, indicating they represent a validation step.
This function MUST be used as a post-function of the validation function.Component for saxing tasks specific to an user.
The algorithm is the following : First, we get all granted sites for the user with the right manager.Workflow tasks generator.