com.esri.adf.web.ags.faces.event
Class GPAsyncTaskResultsPhaseListener
java.lang.Object
com.esri.adf.web.ags.faces.event.GPAsyncTaskResultsPhaseListener
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener
public class GPAsyncTaskResultsPhaseListener
- extends java.lang.Object
- implements javax.faces.event.PhaseListener
Phase listener to handle Ajax requests to work with GP Task results. The list of functionality includes: getting
status of result, saving a result to an xml and retrieving stored results based on uploaded xml.
Required parameters :
gpAsyncTaskResults=gpAsyncTaskResults : Identifier for phase listener to process request
formId=[value] : Id of form within which toc is rendered
tocId=[value] : Id of results toc
Optional parameters :
status=status : Get status of executing GP tasks
Javascript functions :
Request sender : EsriTask_GPAsyncTaskResultsTimer.sendGpAsyncRequest()
Response handling : EsriControls.processPostBack()
Optional parameters :
getResult=getResult : Get GP task results from file
id=[value] : Upload id to load as to display saved GP results
Javascript functions :
Request sender : esriOpenResultHandler()
Response handling : EsriControls.processPostBack()
Optional parameters :
saveResult=saveResult : Save GP task results to file
key=[value] : Toc node key representing GP result to be saved to file
Javascript functions :
Request sender : EsriToc.saveGpResultRequestHandler()
Response handling : EsriToc.saveGpResultResponseHandler()
- See Also:
- Serialized Form
|
Method Summary |
void |
afterPhase(javax.faces.event.PhaseEvent phaseEvent)
|
void |
beforePhase(javax.faces.event.PhaseEvent phaseEvent)
|
javax.faces.event.PhaseId |
getPhaseId()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GPAsyncTaskResultsPhaseListener
public GPAsyncTaskResultsPhaseListener()
getPhaseId
public javax.faces.event.PhaseId getPhaseId()
- Specified by:
getPhaseId in interface javax.faces.event.PhaseListener
beforePhase
public void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
- Specified by:
beforePhase in interface javax.faces.event.PhaseListener
afterPhase
public void afterPhase(javax.faces.event.PhaseEvent phaseEvent)
- Specified by:
afterPhase in interface javax.faces.event.PhaseListener