Package org.ametys.plugins.workflow
Interface EnhancedFunction
- All Superinterfaces:
com.opensymphony.workflow.FunctionProvider
- All Known Implementing Classes:
AbstractCodeEditionFunction
,AbstractContentFunction
,AbstractCoursePartFunction
,AbstractCreateODFContentByCopyFunction
,AbstractCreateODFContentFunction
,AbstractCreateODFProgramItemFunction
,AbstractCreateProgramItemByCopyFunction
,ActiveEntryFunction
,AddEventFunction
,CheckDuplicateContentsFunction
,CommentStepFunction
,ContainerThematicCodeEditionFunction
,CreateContainerByCopyFunction
,CreateContainerFunction
,CreateContentByCopyFunction
,CreateContentByCopyFunction
,CreateContentFunction
,CreateContentFunction
,CreateCourseByCopyFunction
,CreateCourseFunction
,CreateCourseListByCopyFunction
,CreateCourseListFunction
,CreateCoursePartByCopyFunction
,CreateCoursePartFunction
,CreateExtractionDescriptionFunction
,CreateNewsletterFunction
,CreateOrgUnitByCopyFunction
,CreateOrgUnitFunction
,CreatePersonByCopyFunction
,CreatePersonFunction
,CreateProgramByCopyFunction
,CreateProgramFunction
,CreateReferenceTableContentFunction
,CreateSubProgramByCopyFunction
,CreateSubProgramFunction
,CreateSynchronizedContentFunction
,CreateSynchronizedUserDirectoryContentFunction
,CreateSynchronizedVersionFunction
,CreateVersionFunction
,DeactiveEntryFunction
,DeleteContentFunction
,DeleteRemoteProgramFunction
,DepositCDMFRFunction
,EditContentFunction
,EditEventFunction
,EditSynchronizedContentFunction
,ExtensibleFunction
,ExtractOutgoingReferencesFunction
,FormEditionFunction
,FormSendMailFunction
,InitContentFunction
,MarkContentArchivedFunction
,MoveLiveTagOnCoursePartFunction
,NotifyCopyFunction
,NotifyFunction
,RemoveLiveLabelFunction
,RemoveLiveLabelFunction
,ResetWorkflowIdFunction
,RestoreRevisionFunction
,SendCDMFRFunction
,SendMailFunction
,SendMailFunction
,SendMailFunction
,SendMailFunction
,SendMailToCreatorFunction
,SendMailToPersonInChargeFunction
,SendMailToUserFunction
,SendMailToUserFunction
,SendMailToUserFunction
,SendNewsletterFunction
,SetCurrentStepIdAndNotifyFunction
,SetNotifiedFunction
,SetProposalDateContentFunction
,ThematicCodeEditionFunction
,TranslationAlertFunction
,UnlockContentFunction
,UnpublishCoursePartFunction
,ValidateContentFunction
,ValidateSynchronizedContentFunction
,ValidationStepFunction
,WorkflowFormSendMailFunction
,WorkflowFormSendMailWithCommentFunction
Interface for adding description and arguments to
FunctionProvider
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The order of execution for the function -
Method Summary
Modifier and TypeMethodDescriptiondefault List<WorkflowArgument>
Get the list of accepted arguments for this functiondefault I18nizableText
getFullLabel
(Map<String, String> argumentsValues) Get the function label depending on arguments valuesdefault EnhancedFunction.FunctionType
Return the type for the functiongetLabel()
Get the label for this functiondefault List<WorkflowHelper.WorkflowVisibility>
Get the function's visibilities depending on rightsMethods inherited from interface com.opensymphony.workflow.FunctionProvider
execute
-
Method Details
-
getArguments
Get the list of accepted arguments for this function- Returns:
- a List of argument names and associated description
-
getLabel
Get the label for this function- Returns:
- the label
-
getFullLabel
Get the function label depending on arguments values- Parameters:
argumentsValues
- a map of the arguments with their values in current workflow- Returns:
- a label to display in workflow editor vue
-
getFunctionExecType
Return the type for the function- Returns:
- the type 's code
-
getVisibilities
Get the function's visibilities depending on rights- Returns:
- a list of all the allowed right profiles
-