|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataAccessService
This class is the service interface for a data service. It allows invoking data service operations (functions and procedures) using a dynamic interface.
Example: DataAccessService das = DataAccessServiceFactory.newDataAccessService(ctx,"Demo_Application","ld:customerproj/customerView");
DASResult
Method Summary | |
---|---|
boolean |
clearResultCache(java.lang.String operation,
int arity)
Purge result cache for the operation on this Data Service with this name and arity. |
commonj.sdo.helper.HelperContext |
getHelperContext()
Return the SDO HelperContext associated with this DataAccessService. |
DASResult<java.lang.Object> |
invoke(java.lang.String operation,
java.lang.Object[] args)
The dynamic method for invoking data service operations. |
DASResult<java.lang.Object> |
invoke(java.lang.String operation,
java.lang.Object[] args,
RequestConfig config)
The dynamic method for invoking data service operations. |
Method Detail |
---|
DASResult<java.lang.Object> invoke(java.lang.String operation, java.lang.Object[] args) throws DASException
operation
- The name of the operation in the data service
to be invoked.args
- The arguments to the operation. For operations
which have zero arguments, use null or an empty array.
DASException
DASResult<java.lang.Object> invoke(java.lang.String operation, java.lang.Object[] args, RequestConfig config) throws DASException
operation
- The name of the operation in the data service
to be invoked.args
- The arguments to the operation. For operations
which have zero arguments, use null or an empty array.config
- A RequestConfig for controlling how the server
will invoke this function, and for allowing return of
out-of-band results such as server audit information.
DASException
commonj.sdo.helper.HelperContext getHelperContext()
boolean clearResultCache(java.lang.String operation, int arity) throws DASException
operation
- Operation name.arity
- Arity (# args) of operation.
DASException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |