com.esri.core.tasks.ags.find
Class FindTask

java.lang.Object
  extended by com.esri.core.tasks.ags.find.FindTask

public class FindTask
extends Object


Constructor Summary
FindTask(String url)
          Instantiates a new find task.
FindTask(String url, UserCredentials credentials)
          Instantiates a new find task.
 
Method Summary
 List<FindResult> execute(FindParameters find)
          Execute the find task.
 void executeAsync(FindParameters find, CallbackListener<List<FindResult>> callback)
          Execute the find task asynchronously.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindTask

public FindTask(String url)
Instantiates a new find task.

Parameters:
url - the URL

FindTask

public FindTask(String url,
                UserCredentials credentials)
         throws EsriSecurityException
Instantiates a new find task.

Parameters:
url - the url
credentials - the user credentials
Throws:
EsriSecurityException - the esri security exception
Method Detail

execute

public List<FindResult> execute(FindParameters find)
                         throws Exception
Execute the find task.

Parameters:
query - the find options
Returns:
the find result
Throws:
Exception

executeAsync

public void executeAsync(FindParameters find,
                         CallbackListener<List<FindResult>> callback)
Execute the find task asynchronously.

Parameters:
find - the find options
callback - the call back


Copyright © 2012. All Rights Reserved.