com.bea.dsp
Interface SubmitResult

All Superinterfaces:
java.io.Serializable

public interface SubmitResult
extends java.io.Serializable

Bag to hold submit return Properties array and any out-of-band data that the caller requests - i.e., audit information.


Method Summary
 DataServiceAudit getDataServiceAudit()
          Returns filtered data service audit event
 java.util.Properties[] getKeyProperties()
          Returns the keys created, if any, during an insert.
 

Method Detail

getDataServiceAudit

public DataServiceAudit getDataServiceAudit()
Returns filtered data service audit event


getKeyProperties

public java.util.Properties[] getKeyProperties()
Returns the keys created, if any, during an insert.

Returns:
Primary keys. If adds of top level data objects have occurred that have primary keys, then after a successful submit, the values of the primary keys for the inserted tuples will be returned as an array of java Properties, (xpath name/value in string) pairs. This only applies to the primary keys of the top level data object. Nested data objects that have their primary keys computed do not return their values. Returning the top level pkeys of inserted tuples, allows the developer to refetch tuples based on their new primary keys if desired. If one had an array of Customer with primary key CustID in your SDO and inserted two customers, then the submit would return an array of two Properties with the name being CustID, relative to the Customer type and the value in string format being the new primary key value for each inserted Customer.


Copyright © 2006 BEA Systems Inc. All Rights Reserved.