Package org.ametys.plugins.workflow
Interface EnhancedFunction
- All Superinterfaces:
com.opensymphony.workflow.FunctionProvider
- All Known Implementing Classes:
AbstractContentFunction,AbstractCoursePartFunction,AbstractCreateODFContentByCopyFunction,AbstractCreateODFContentFunction,AbstractCreateODFProgramItemFunction,AbstractCreateProgramItemByCopyFunction,ActiveEntryFunction,AddEventFunction,CheckDuplicateContentsFunction,CommentStepFunction,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,InitContentFunction,MarkContentArchivedFunction,MoveLiveTagOnCoursePartFunction,NotifyCopyFunction,RemoveLiveLabelFunction,RemoveLiveLabelFunction,ResetWorkflowIdFunction,RestoreRevisionFunction,SendCDMFRFunction,SendMailFunction,SendMailFunction,SendMailFunction,SendMailFunction,SendMailToCreatorFunction,SendMailToPersonInChargeFunction,SendMailToUserFunction,SendMailToUserFunction,SendMailToUserFunction,SendNewsletterFunction,SetCurrentStepIdAndNotifyFunction,SetNotifiedFunction,SetProposalDateContentFunction,UnpublishCoursePartFunction,ValidateContentFunction,ValidateSynchronizedContentFunction,ValidationStepFunction
Interface for adding description and arguments to
FunctionProvider-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordRecord of the function argument -
Method Summary
Modifier and TypeMethodDescriptiondefault List<EnhancedFunction.FunctionArgument>Get the list of accepted arguments for this functiondefault I18nizableTextgetDescription(Map<String, String> argumentsValues) Get the function descriptions depending on arguments valuesMethods 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
-
getDescription
Get the function descriptions depending on arguments values- Parameters:
argumentsValues- a map of the arguments with their values in current workflow- Returns:
- a description to display in workflow editor vue
-