|
|||||||||
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
public class 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. |
com.esri.arcgisws.GPResult |
executeTask()
|
com.esri.arcgisws.GPResult |
executeTask(GPParam[] inParams,
GPParam[] outParams)
|
GPTaskConfig |
getConfig()
|
com.esri.arcgisws.GPToolInfo |
getGPTask()
|
GPParam[] |
getInputParams()
|
com.esri.arcgisws.JobMessage[] |
getJobMessages(String jobID)
|
int |
getLastFeatureIdAssigned()
|
GPParam[] |
getOutputParams()
|
AGSGPResource |
getResource()
Returns the GISResource associated with this functionality. |
Object |
getTaskContent(String contentId)
|
com.esri.adf.web.ags.data.gp.GPTaskInfo |
getTaskInfo()
|
String |
getTaskName()
|
com.esri.arcgisws.EsriJobStatus |
getTaskStatus(String jobID,
GPParam[] inParams,
GPParam[] outParams)
|
void |
initFunctionality(GISResource res)
The initialization chores for the functionality must be performed in this method. |
void |
initGPTask(com.esri.arcgisws.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 |
setLastFeatureIdAssigned(int nextFeatureId)
|
void |
setShowMessages(boolean showMessages)
|
void |
setTaskContent(String contentId,
Object content)
|
void |
setTaskName(String taskName)
|
String |
submitTask()
|
String |
submitTask(GPParam[] inParams,
GPParam[] outParams)
|
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 GISFunctionality
res
- 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 GISFunctionality
GISResource.destroy()
public com.esri.arcgisws.GPToolInfo getGPTask()
public void initGPTask(com.esri.arcgisws.GPToolInfo useAsInput)
public void runTask(TaskEvent event)
public com.esri.arcgisws.GPResult executeTask()
public com.esri.arcgisws.GPResult executeTask(GPParam[] inParams, GPParam[] outParams)
public String submitTask()
public String submitTask(GPParam[] inParams, GPParam[] outParams)
public com.esri.arcgisws.EsriJobStatus getTaskStatus(String jobID, GPParam[] inParams, GPParam[] outParams)
public com.esri.arcgisws.JobMessage[] getJobMessages(String jobID)
public AGSGPResource 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 GISFunctionality
GISResource
associated with this functionalitypublic String getTaskName()
public void setTaskName(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(String contentId, Object content)
public Object getTaskContent(String contentId)
public void setLastFeatureIdAssigned(int nextFeatureId)
nextFeatureId
- the nextFeatureId to setpublic int getLastFeatureIdAssigned()
public String toString()
toString
in class Object
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 |