|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class is the service interface for a data service.
Example: DataService ds = DataServiceFactory.newDataService(ctx,"Demo_Application","ld:customerproj/customerView");
ds.invoke("getCustomerBySSN", new Object[] { "303-04-5643" });
| Method Summary | |
com.bea.xml.XmlObject |
invoke(java.lang.String method,
java.lang.Object[] args)
Deprecated. The dynamic method for invoking data service functions. |
void |
setFilterCondition(FilterXQuery filterXQuery)
Deprecated. Sets a filtering condition to be applied to the results of data service function execution. |
void |
setQueryAttributes(QueryAttributes qattributes)
Deprecated. Sets the query attributes. |
void |
setSortCriteria(java.lang.String appliesTo,
java.lang.String field,
java.lang.String sort)
Deprecated. Sets a sorting criteria on the results of data service function execution. |
java.util.Properties[] |
submit(commonj.sdo.DataObject dataObject)
Deprecated. Submits data object changes for updates to back-end systems. |
void |
writeOutputToFile(java.lang.String method,
java.lang.Object[] args,
java.lang.String fileName)
Deprecated. Writes the results of method invocation to the specified file. |
| Method Detail |
public void setFilterCondition(FilterXQuery filterXQuery)
filterXQuery - The filter XQuery expression
public void setSortCriteria(java.lang.String appliesTo,
java.lang.String field,
java.lang.String sort)
throws java.lang.Exception
appliesTo - - String XPath relative to document element.field - - String fieldName (relative (not the full path) to 'appliesTo' object).sort - - sort criteria (ascending/descending).
java.lang.Exceptionpublic void setQueryAttributes(QueryAttributes qattributes)
qattributes - The query attributes
public java.util.Properties[] submit(commonj.sdo.DataObject dataObject)
throws java.lang.Exception
dataObject - The data object to be submitted.
java.lang.Exception
public com.bea.xml.XmlObject invoke(java.lang.String method,
java.lang.Object[] args)
throws SDOMediatorException
null
method - The name of the method in the data service to be invoked.args - The arguments to the method. For non-argument functions, use null.
SDOMediatorException
public void writeOutputToFile(java.lang.String method,
java.lang.Object[] args,
java.lang.String fileName)
throws StreamingException
method - The data service method to be invoked.args - The arguments to the function.fileName - The file name.
StreamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||