Class DeleteVideoWorkitemHandler

  • All Implemented Interfaces:
    org.kie.api.runtime.process.WorkItemHandler

    @Wid(widfile="DeleteVimeoDefinitions.wid",
         name="DeleteVimeo",
         displayName="DeleteVimeo",
         defaultHandler="mvel: new org.jbpm.process.workitem.vimeo.DeleteVideoWorkitemHandler(\"accessToken\")",
         documentation="vimeo-workitem/index.html",
         category="vimeo-workitem",
         icon="DeleteVimeo.png",
         parameters=@WidParameter(name="VideoEndpoint",required=true),
         results=@WidResult(name="ResponseStatusCode",runtimeType="java.lang.Integer"),
         mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="vimeo-workitem",version="7.73.0-SNAPSHOT"),
         serviceInfo=@WidService(category="Vimeo",description="Interact with videos on Vimeo",keywords="vimeo,video,delete",action=@WidAction(title="Delete an existing video"),authinfo=@WidAuth(required=true,params="accessToken",paramsdescription="Vimeo access token",referencesite="https://developer.vimeo.com/api/authentication")))
    public class DeleteVideoWorkitemHandler
    extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String RESULT  
      • Fields inherited from class org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler

        handlingProcessId, handlingStrategy, logThrownException, retries
    • Constructor Detail

      • DeleteVideoWorkitemHandler

        public DeleteVideoWorkitemHandler​(String accessToken)
    • Method Detail

      • executeWorkItem

        public void executeWorkItem​(org.kie.api.runtime.process.WorkItem workItem,
                                    org.kie.api.runtime.process.WorkItemManager workItemManager)
      • abortWorkItem

        public void abortWorkItem​(org.kie.api.runtime.process.WorkItem workItem,
                                  org.kie.api.runtime.process.WorkItemManager manager)