com.ibm.ftt.services.impl
Class ServicesUtil

java.lang.Object
  extended by com.ibm.ftt.services.impl.ServicesUtil

public class ServicesUtil
extends Object


Field Summary
static String COPY_RIGHT
           
 
Constructor Summary
ServicesUtil()
           
 
Method Summary
 ISyntaxCheckProperties populatePropertiesObject(Object resource)
          Utility method to collect a set of properties associated with a resource and return them in a properties object.
 String submitGeneratedJCL(Object resource)
          Utility method to submit a JCL file created by services such as RemoteSyntaxCheck and GetDependencies.
 

Field Detail

COPY_RIGHT

public static final String COPY_RIGHT
See Also:
Constant Field Values
Constructor Detail

ServicesUtil

public ServicesUtil()
Method Detail

submitGeneratedJCL

public String submitGeneratedJCL(Object resource)
                          throws OperationFailedException
Utility method to submit a JCL file created by services such as RemoteSyntaxCheck and GetDependencies.

Parameters:
resource - An IPhysicalResource or ILogicalResource representing the file to be submitted
Returns:
The jobId of the submitted job.
Throws:
OperationFailedException

populatePropertiesObject

public ISyntaxCheckProperties populatePropertiesObject(Object resource)
Utility method to collect a set of properties associated with a resource and return them in a properties object. This method is used by the syntax check and get dependencies services.

Parameters:
resource - The resource for which the properties are being collected
Returns:
An object containing the collected properties