|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.adf.web.ags.data.gp.AGSGPFunctionality
| Constructor Summary | |
AGSGPFunctionality()
|
|
| Method Summary | |
void |
destroyFunctionality()
The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. |
GPResult |
executeTask()
|
GPResult |
executeTask(GPParam[] inParams,
GPParam[] outParams)
|
GPTaskConfig |
getConfig()
|
GPToolInfo |
getGPTask()
|
GPParam[] |
getInputParams()
|
JobMessage[] |
getJobMessages(java.lang.String jobID)
|
GPParam[] |
getOutputParams()
|
GISResource |
getResource()
Returns the GISResource associated with this functionality. |
java.lang.Object |
getTaskContent(java.lang.String contentId)
|
com.esri.adf.web.ags.data.gp.GPTaskInfo |
getTaskInfo()
|
java.lang.String |
getTaskName()
|
EsriJobStatus |
getTaskStatus(java.lang.String jobID,
GPParam[] inParams,
GPParam[] outParams)
|
void |
initFunctionality(GISResource res)
The initialization chores for the functionality must be performed in this method. |
void |
initGPTask(GPToolInfo useAsInput)
|
boolean |
isAsyncExecution()
|
boolean |
isDrawResultsOnServer()
|
boolean |
isShowMessages()
|
void |
runTask(TaskEvent event)
|
void |
setAsyncExecution(boolean asyncExecution)
|
void |
setConfig(GPTaskConfig config)
|
void |
setDrawResultsOnServer(boolean drawResultsOnServer)
|
void |
setShowMessages(boolean showMessages)
|
void |
setTaskContent(java.lang.String contentId,
java.lang.Object content)
|
void |
setTaskName(java.lang.String taskName)
|
java.lang.String |
submitTask()
|
java.lang.String |
submitTask(GPParam[] inParams,
GPParam[] outParams)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AGSGPFunctionality()
| Method Detail |
public void initFunctionality(GISResource res)
GISFunctionality
The initialization chores for the functionality must be performed in this method. This method is called by the
resource when the functionality needs to be initialized. This happens either when the resource
itself is being initialized or if users add this functionality to the resource using the
GISResource.addFunctionality(String, GISFunctionality) method after the resource has already
been initialized.
Classes which implement this method should maintain the resource as a class instance variable and
return the same in the GISFunctionality.getResource() method. The functionality is ready for use only after this method has
been called.
initFunctionality in interface GISFunctionalityres - the GISResource that this functionality supportsGISResource.init(WebContext)public void destroyFunctionality()
GISFunctionality
The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. This
method is called by the GISResource when the resource itself is being destroyed.
The functionality is no longer usable after this method has been called.
destroyFunctionality in interface GISFunctionalityGISResource.destroy()public GPToolInfo getGPTask()
public void initGPTask(GPToolInfo useAsInput)
public void runTask(TaskEvent event)
public GPResult executeTask()
public GPResult executeTask(GPParam[] inParams,
GPParam[] outParams)
public java.lang.String submitTask()
public java.lang.String submitTask(GPParam[] inParams,
GPParam[] outParams)
public EsriJobStatus getTaskStatus(java.lang.String jobID,
GPParam[] inParams,
GPParam[] outParams)
public JobMessage[] getJobMessages(java.lang.String jobID)
public GISResource getResource()
GISFunctionality
Returns the GISResource associated with this functionality.
The resource passed to GISFunctionality.initFunctionality(GISResource) is maintained as a class variable and is accessible
through this method.
getResource in interface GISFunctionalityGISResource associated with this functionalitypublic java.lang.String getTaskName()
public void setTaskName(java.lang.String taskName)
public GPParam[] getInputParams()
public GPParam[] getOutputParams()
public void setAsyncExecution(boolean asyncExecution)
public boolean isAsyncExecution()
public boolean isShowMessages()
public void setShowMessages(boolean showMessages)
public GPTaskConfig getConfig()
public void setConfig(GPTaskConfig config)
public boolean isDrawResultsOnServer()
public void setDrawResultsOnServer(boolean drawResultsOnServer)
public void setTaskContent(java.lang.String contentId,
java.lang.Object content)
public java.lang.Object getTaskContent(java.lang.String contentId)
public java.lang.String toString()
public com.esri.adf.web.ags.data.gp.GPTaskInfo getTaskInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||