Description
    WMAOILayerTask class to access Workflow Manager (Classic) AOI layer information.
    Class hierarchy
    workflowmanager/BaseTask
|_workflowmanager/WMAOILayerTask
    Constructors
        
    Properties
      
        |
        | disableClientCaching | Boolean | The indicator to disable client browser caching. | 
        | proxyURL | String | The proxy URL. | 
        | token | String | The token string if security is on. | 
        | url | String | The base URL for Workflow Manager (Classic) service. | 
      
    Methods
      
    Constructor Details
      
        
        Constructor for WMAOILayerTask. Disable client caching is default to be true.
      Parameters:
        
          | <String>url | Required | The base Workflow Manager (Classic) REST URL. | 
        
        Sample: 
require([
    "workflowmanager/WMAOILayerTask", ...
], function(WMAOILayerTask, ...) {
    var wmAOILayerTask = new wmAOILayerTask("http://myserver/arcgis/rest/services/WMService/WMServer");
    });
    ...
});
   
         
       
     Property Details
      
        <Boolean> disableClientCaching
The indicator to disable client browser caching.
       
      
        
        
        The token string if security is on.
       
        
        
        The base URL for Workflow Manager (Classic) Service.
       
     Method Details
      
        getServiceInfo(callback, errback)
Gets the Workflow Manager (Classic) AOI layer information.
      
      Input Parameters:
        
          | <function> callback | Optional | The success callback function name. | 
          | <function> errback | Optional | The error callback function name. | 
        
        Sample: 
require([
    "workflowmanager/WMAOILayerTask", ...
], function(WMAOILayerTask, ...) {
    
    var wmAOILayerTask = new WMAOILayerTask("http://myserver/arcgis/rest/services/WMService/WMServer");
    var serviceInfo = null;
    wmAOILayerTask.getServiceInfo(function(data){
        serviceInfo = data;
    }, function (errData) {
        console.log("error:" + errData);
    });
    ...
});
        
                 
        
       
        getJobIdField(callback, errback)
Gets the Workflow Manager (Classic) job Id field.
      
      Input Parameters:
        
          | <function> callback | Optional | The success callback function name. | 
          | <function> errback | Optional | The error callback function name. | 
        
        Sample: 
require([
    "workflowmanager/WMAOILayerTask", ...
], function(WMAOILayerTask, ...) {
    
    var wmAOILayerTask = new WMAOILayerTask("http://myserver/arcgis/rest/services/WMService/WMServer");
    var jobIdField = null;
    wmAOILayerTask.getJobIdField(function(data){
        jobIdField = data;
    }, function (errData) {
        console.log("error:" + errData);
    });
    ...
});