Package org.apache.oodt.cas.webcomponents.workflow

Examples of org.apache.oodt.cas.webcomponents.workflow.WorkflowMgrConn


  private final WorkflowMgrConn wm;

  public WorkflowViewer(String id, String wmUrlStr, final String workflowId,
      final Class<? extends WebPage> taskPage) {
    super(id);
    this.wm = new WorkflowMgrConn(wmUrlStr);
    final IModel<Workflow> wModel = new LoadableDetachableModel<Workflow>() {

      @Override
      protected Workflow load() {
        return wm.safeGetWorkflowById(workflowId);
View Full Code Here


      final String lifecycleFilePath, final String metInstanceFilePath,
      final Class<? extends WebPage> workflowViewer,
      final Class<? extends WebPage> workflowTaskViewer,
      final Class<? extends WebPage> workflowInstViewer) {
    super(id);
    this.wm = new WorkflowMgrConn(workflowUrlStr);
    this.pageNum = pageNum;
    WorkflowInstancePage page = null;
    System.out.println("STATUS IS "+status);
    if (status.equals("ALL")) {
      page = this.wm.safeGetWorkflowInstPageByStatus(pageNum);
View Full Code Here

 
  private final List<Workflow> workflows;
 
  public EventToWorkflowViewer(String id, String workflowUrlStr, final Class<? extends WebPage> viewerPage) {
    super(id);
    this.wm = new WorkflowMgrConn(workflowUrlStr);
    this.workflows = new Vector<Workflow>();
    WebMarkupContainer wTable = new WebMarkupContainer("wtable");
    wTable.setVisible(false);
    PropertyModel<List<Workflow>> workflowsModel = new PropertyModel<List<Workflow>>(this, "workflows");
    ListView<Workflow> workflowView = new ListView<Workflow>("workflow_list", workflowsModel) {
View Full Code Here

  private WorkflowMgrConn wm;

  public WorkflowConditionViewer(String id, String wmUrlStr, String conditionId) {
    super(id);
    this.wm = new WorkflowMgrConn(wmUrlStr);
    final WorkflowCondition cond = this.wm.safeGetConditionById(conditionId);
    add(new Label("condition_id", cond.getConditionId()));
    add(new Label("condition_name", cond.getConditionName()));
    add(new Label("condition_class", cond.getConditionInstanceClassName()));
    final WorkflowConditionConfiguration config = cond.getCondConfig() != null ?
View Full Code Here

  private final WorkflowMgrConn wm;

  public WorkflowViewer(String id, String wmUrlStr, final String workflowId,
      final Class<? extends WebPage> taskPage) {
    super(id);
    this.wm = new WorkflowMgrConn(wmUrlStr);
    final IModel<Workflow> wModel = new LoadableDetachableModel<Workflow>() {

      @Override
      protected Workflow load() {
        return wm.safeGetWorkflowById(workflowId);
View Full Code Here

   * @param id
   */
  public WorkflowsViewer(String id, String workflowUrlStr,
      final Class<? extends WebPage> wViewerPage) {
    super(id);
    this.wm = new WorkflowMgrConn(workflowUrlStr);

    List<Workflow> workflows = this.wm.safeGetWorkflows();
    add(new ListView<Workflow>("workflow_list", workflows) {

      @Override
View Full Code Here

  /**
   * @param id
   */
  public WorkflowTaskViewer(String id, String wmUrlStr, String taskId, final Class<? extends WebPage> conditionPage) {
    super(id);
    this.wm = new WorkflowMgrConn(wmUrlStr);
    final WorkflowTask task = this.wm.safeGetTaskById(taskId);

    add(new Label("workflow_task_id", task.getTaskId()));
    add(new Label("workflow_task_name", task.getTaskName()));
    add(new Label("workflow_task_class", task.getTaskInstanceClassName()));
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.webcomponents.workflow.WorkflowMgrConn

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.