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

java.lang.Object
  extended by com.intel.gpe.clients.api.workflow.FileExportFromExpression
All Implemented Interfaces:
Action

public abstract class FileExportFromExpression
extends java.lang.Object
implements Action

The complex action for creating a file transfer (export) resource. The action generates an invocation of StorageManagement.ExportFile operation. The name of the remote file is taken from the expression.

Version:
$Id: FileExportFromExpression.java,v 1.5 2006/02/17 08:15:37 serduk Exp $
Author:
Alexander Lukichev

Constructor Summary
FileExportFromExpression(PartnerLink storageManagement, java.lang.String protocol, java.lang.String expression, com.intel.gpe.util.xml.Namespaces namespaces)
          Create the FileExportFromExpression action.
 
Method Summary
 void emitCode(Scope scope, org.w3c.dom.Element target)
          Emit the piece of code corresponding to the current action.
protected abstract  VariableValue getFileExportRequestValue(java.lang.String protocol, java.lang.String dest)
           
protected abstract  VariableValue getFileExportResponseValue()
           
 PartnerLink getFileTransfer()
          Get the partner link to the created file transfer resource.
protected abstract  PartnerLinkValue getFileTransferValue()
           
protected abstract  java.lang.String getStorageManagementNS()
           
protected abstract  javax.xml.namespace.QName getStorageManagementPortType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileExportFromExpression

public FileExportFromExpression(PartnerLink storageManagement,
                                java.lang.String protocol,
                                java.lang.String expression,
                                com.intel.gpe.util.xml.Namespaces namespaces)
Create the FileExportFromExpression action.

Parameters:
storageManagement - The partner link to the storage management resource
protocol - The name of the protocol
expression - The expression which results in the name of the remote file
namespaces - The namespaces
Method Detail

getFileExportResponseValue

protected abstract VariableValue getFileExportResponseValue()

getFileExportRequestValue

protected abstract VariableValue getFileExportRequestValue(java.lang.String protocol,
                                                           java.lang.String dest)

getFileTransferValue

protected abstract PartnerLinkValue getFileTransferValue()

getStorageManagementNS

protected abstract java.lang.String getStorageManagementNS()

getStorageManagementPortType

protected abstract javax.xml.namespace.QName getStorageManagementPortType()

emitCode

public void emitCode(Scope scope,
                     org.w3c.dom.Element target)
              throws java.lang.Exception
Description copied from interface: Action
Emit the piece of code corresponding to the current action.

Specified by:
emitCode in interface Action
Parameters:
scope - The variable scope of the workflow
target - The XML DOM element to append the action code to
Throws:
java.lang.Exception - In a case of error

getFileTransfer

public PartnerLink getFileTransfer()
Get the partner link to the created file transfer resource.

Returns:
the partner link to the created file transfer resource


Copyright © 2008. All Rights Reserved.