com.intel.gpe.clients.api.workflow
Class Workflow

java.lang.Object
  extended by com.intel.gpe.clients.api.workflow.Workflow

public abstract class Workflow
extends java.lang.Object

The wrapper for the namespace mappings and the root method for emitting the workflow code.

Version:
$Id: Workflow.java,v 1.10 2006/10/20 13:16:55 mlukichev Exp $
Author:
Alexander Lukichev

Field Summary
static java.lang.String PARTNERLINKS
           
static java.lang.String PROCESS
           
static java.lang.String SEQUENCE
           
static java.lang.String VARIABLES
           
 
Constructor Summary
Workflow(com.intel.gpe.util.xml.Namespaces namespaces)
          Create the workflow.
 
Method Summary
 void emitWorkflow(Action action, Scope scope, org.w3c.dom.Element process)
          Emit the workflow.
protected abstract  java.lang.String getBPEL4WSNS()
           
protected abstract  java.lang.String getJobManagementNS()
           
protected abstract  java.lang.String getJSDLNS()
           
protected abstract  java.lang.String getJSDLPosixNS()
           
 com.intel.gpe.util.xml.Namespaces getNamespaces()
          Get the workflow namespace mapping
protected abstract  java.lang.String getStorageManagementNS()
           
protected abstract  java.lang.String getTargetSystemNS()
           
protected abstract  java.lang.String getUnigridsTypesNS()
           
protected abstract  java.lang.String getWorkflowNS()
           
protected abstract  java.lang.String getWorkflowTSSNS()
           
protected abstract  java.lang.String getWSNotificationsSchemaNS()
           
protected abstract  java.lang.String getWSNotificationsWSDLNS()
           
protected abstract  java.lang.String getWSResourceLifetimeWSDLNS()
           
protected abstract  java.lang.String getWSResourcePropertiesWSDLNS()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROCESS

public static final java.lang.String PROCESS
See Also:
Constant Field Values

PARTNERLINKS

public static final java.lang.String PARTNERLINKS
See Also:
Constant Field Values

VARIABLES

public static final java.lang.String VARIABLES
See Also:
Constant Field Values

SEQUENCE

public static final java.lang.String SEQUENCE
See Also:
Constant Field Values
Constructor Detail

Workflow

public Workflow(com.intel.gpe.util.xml.Namespaces namespaces)
Create the workflow. Add some namespaces to the namespace mappings.

Parameters:
namespaces - the predefined namespaces
Method Detail

getWSResourcePropertiesWSDLNS

protected abstract java.lang.String getWSResourcePropertiesWSDLNS()

getWSResourceLifetimeWSDLNS

protected abstract java.lang.String getWSResourceLifetimeWSDLNS()

getWSNotificationsSchemaNS

protected abstract java.lang.String getWSNotificationsSchemaNS()

getWSNotificationsWSDLNS

protected abstract java.lang.String getWSNotificationsWSDLNS()

getJobManagementNS

protected abstract java.lang.String getJobManagementNS()

getTargetSystemNS

protected abstract java.lang.String getTargetSystemNS()

getStorageManagementNS

protected abstract java.lang.String getStorageManagementNS()

getBPEL4WSNS

protected abstract java.lang.String getBPEL4WSNS()

getJSDLNS

protected abstract java.lang.String getJSDLNS()

getUnigridsTypesNS

protected abstract java.lang.String getUnigridsTypesNS()

getWorkflowNS

protected abstract java.lang.String getWorkflowNS()

getJSDLPosixNS

protected abstract java.lang.String getJSDLPosixNS()

getWorkflowTSSNS

protected abstract java.lang.String getWorkflowTSSNS()

emitWorkflow

public void emitWorkflow(Action action,
                         Scope scope,
                         org.w3c.dom.Element process)
                  throws java.lang.Exception
Emit the workflow.

Parameters:
action - the root action
scope - the variable scope
process - the target XML element
Throws:
java.lang.Exception

getNamespaces

public com.intel.gpe.util.xml.Namespaces getNamespaces()
Get the workflow namespace mapping

Returns:
the namespace mapping


Copyright © 2008. All Rights Reserved.