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

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

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

Author:
Max Lukichev

Constructor Summary
ListDirectory(PartnerLink storage, Variable directoryPath, com.intel.gpe.util.xml.Namespaces namespaces)
          Create the action
ListDirectory(PartnerLink storage, Variable directoryPath, Variable includes, Variable excludes, com.intel.gpe.util.xml.Namespaces namespaces)
          Create the action
 
Method Summary
 void emitCode(Scope scope, org.w3c.dom.Element target)
          Emit the piece of code corresponding to the current action.
protected abstract  java.lang.String getBPEL4WSNS()
           
protected abstract  VariableValue getEmptyListValue()
           
 Variable getFiles()
           
protected abstract  VariableValue getInitialIteratorValue()
           
protected abstract  VariableValue getInitialValue()
           
protected abstract  VariableValue getListRequestValue()
          Creates and returns value for the request variable
protected abstract  VariableValue getListResponseValue()
          Creates and returns value for the response variable
protected abstract  java.lang.String getStorageManagementNS()
           
protected abstract  PartnerLinkValue getTSPartnerLinkValue()
           
protected abstract  java.lang.String getUnigridsNS()
           
protected abstract  java.lang.String getWESNS()
           
protected abstract  java.lang.String getWJMSNS()
           
protected abstract  javax.xml.namespace.QName getWTSSPortType()
           
 void setCaseSensitive(Variable caseSensitive)
           
 void setExcludes(Variable excludes)
           
 void setIncludes(Variable includes)
           
 void setSaveDirStruct(Variable saveDirStruct)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListDirectory

public ListDirectory(PartnerLink storage,
                     Variable directoryPath,
                     com.intel.gpe.util.xml.Namespaces namespaces)
Create the action

Parameters:
storage - The partner link to the storage resource
directoryPath - The variable in which the path to the remote directory is stored
namespaces - The namespaces

ListDirectory

public ListDirectory(PartnerLink storage,
                     Variable directoryPath,
                     Variable includes,
                     Variable excludes,
                     com.intel.gpe.util.xml.Namespaces namespaces)
Create the action

Parameters:
storage - The partner link to the storage resource
filePath - The variable in which the path to the remote directory is stored
namespaces - The namespaces
mask - The mask to filter files
Method Detail

setCaseSensitive

public void setCaseSensitive(Variable caseSensitive)

setSaveDirStruct

public void setSaveDirStruct(Variable saveDirStruct)

setIncludes

public void setIncludes(Variable includes)

setExcludes

public void setExcludes(Variable excludes)

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

getFiles

public Variable getFiles()

getStorageManagementNS

protected abstract java.lang.String getStorageManagementNS()
Returns:
Storage Management namespace

getUnigridsNS

protected abstract java.lang.String getUnigridsNS()
Returns:
Unigrids namespace

getListRequestValue

protected abstract VariableValue getListRequestValue()
Creates and returns value for the request variable

Returns:
The VaribleValue for listRequest variable

getListResponseValue

protected abstract VariableValue getListResponseValue()
Creates and returns value for the response variable

Returns:
The VaribleValue for listResponse variable

getWTSSPortType

protected abstract javax.xml.namespace.QName getWTSSPortType()
Returns:
The workflow target system port type

getInitialIteratorValue

protected abstract VariableValue getInitialIteratorValue()

getBPEL4WSNS

protected abstract java.lang.String getBPEL4WSNS()

getWESNS

protected abstract java.lang.String getWESNS()

getWJMSNS

protected abstract java.lang.String getWJMSNS()

getEmptyListValue

protected abstract VariableValue getEmptyListValue()

getInitialValue

protected abstract VariableValue getInitialValue()

getTSPartnerLinkValue

protected abstract PartnerLinkValue getTSPartnerLinkValue()


Copyright © 2008. All Rights Reserved.