Package eu.planets_project.ifr.core.wdt.api

Examples of eu.planets_project.ifr.core.wdt.api.WorkflowBean


  * @return the currently selected workflowBean implementation
  */
  protected WorkflowBean getCurrentWorkflowBean() {
    TemplateContainer templateContainer = (TemplateContainer) JSFUtil.getManagedObject("templateContainer");
    WFTemplate currentTemplate = templateContainer.getCurrentTemplate();
    WorkflowBean wfBean = (WorkflowBean) JSFUtil.getManagedObject(currentTemplate.getBeanInstance());
    return wfBean;
  }
View Full Code Here


   
  /*
  * Inject input data
  */ 
  public void addInputData(String localFileRef) {
    WorkflowBean wfBean = getCurrentWorkflowBean();
    wfBean.addInputData(localFileRef);
  }
View Full Code Here

 
  /*
  * Remove input data
  */ 
  public void resetInputData() {
    WorkflowBean wfBean = getCurrentWorkflowBean();
    wfBean.resetInputData();
  }
View Full Code Here

 
  /*
  * Inject services
  */
  public void lookupServices() {
    WorkflowBean wfBean = getCurrentWorkflowBean();
    wfBean.lookupServices();
 
View Full Code Here

  /*
  * Reset services
  */
  public void resetServices() {
    WorkflowBean wfBean = getCurrentWorkflowBean();
    wfBean.resetServices();
  }
View Full Code Here

 
  /*
  * Execute service method
  */
  public String invokeService() {
    WorkflowBean wfBean = getCurrentWorkflowBean();
    return wfBean.invokeService();
  }
View Full Code Here

TOP

Related Classes of eu.planets_project.ifr.core.wdt.api.WorkflowBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.