org.ow2.bonita.facade
Interface QueryAPIAccessor

All Superinterfaces:
org.ow2.bonita.facade.remote.RemoteQueryAPIAccessor
All Known Subinterfaces:
APIAccessor

public interface QueryAPIAccessor
extends org.ow2.bonita.facade.remote.RemoteQueryAPIAccessor

Helper class giving access to QueryDefinitionAPI and QueryRuntimeAPI interfaces.


Method Summary
 QueryDefinitionAPI getQueryDefinitionAPI()
          To get the QueryDefinitionAPI interface.
 QueryRuntimeAPI getQueryRuntimeAPI()
          To get the QueryRuntimeAPI interface.
 int getRetries()
           
 void setRetries(int retries)
          Sets the number of times the API call will be re executed if an exception occurs.
 

Method Detail

getQueryRuntimeAPI

QueryRuntimeAPI getQueryRuntimeAPI()
To get the QueryRuntimeAPI interface.

Specified by:
getQueryRuntimeAPI in interface org.ow2.bonita.facade.remote.RemoteQueryAPIAccessor
Returns:
the interface QueryRuntimeAPI.

getQueryDefinitionAPI

QueryDefinitionAPI getQueryDefinitionAPI()
To get the QueryDefinitionAPI interface.

Specified by:
getQueryDefinitionAPI in interface org.ow2.bonita.facade.remote.RemoteQueryAPIAccessor
Returns:
the interface QueryDefinitionAPI.

getRetries

int getRetries()
Returns:
the number of times the API call will be re executed if an exception occurs.

setRetries

void setRetries(int retries)
Sets the number of times the API call will be re executed if an exception occurs.

Parameters:
retries - number of retries.