org.ow2.bonita.facade
Interface QueryAPIAccessor

All Known Subinterfaces:
APIAccessor

public interface QueryAPIAccessor

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.

Returns:
the interface QueryRuntimeAPI.

getQueryDefinitionAPI

QueryDefinitionAPI getQueryDefinitionAPI()
To get the QueryDefinitionAPI interface.

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.


Copyright © 2008 OW2 Consortium. All Rights Reserved.