com.centrasite.jaxr
Interface CentraSiteBulkResponse

All Superinterfaces:
javax.xml.registry.BulkResponse, javax.xml.registry.JAXRResponse

public interface CentraSiteBulkResponse
extends javax.xml.registry.BulkResponse

CentraSite extensions of the JAXR BulkResponse interface.


Field Summary
 
Fields inherited from interface javax.xml.registry.JAXRResponse
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING
 
Method Summary
 void addException(javax.xml.registry.JAXRException exc)
          Add an exception.
 void close()
          Releases any resources allocated to this CentraSiteBulkResponse.
 java.util.Collection getKeys()
          Returns a collection of Key objects (javax.xml.registry.infomodel.Key) for this BulkResponse.
 java.lang.String getQuery()
          Return the query string that was used to create this CentraSiteBulkResponse.
 
Methods inherited from interface javax.xml.registry.BulkResponse
getCollection, getExceptions, isPartialResponse
 
Methods inherited from interface javax.xml.registry.JAXRResponse
getRequestId, getStatus, isAvailable
 

Method Detail

getKeys

java.util.Collection getKeys()
                             throws javax.xml.registry.JAXRException
Returns a collection of Key objects (javax.xml.registry.infomodel.Key) for this BulkResponse.

Returns:
the collection of Key objects. The Collection may be empty but not null.
Throws:
javax.xml.registry.JAXRException

close

void close()
           throws javax.xml.registry.JAXRException
Releases any resources allocated to this CentraSiteBulkResponse. Should be called when processing is done to enforce giving up resources early.

Throws:
javax.xml.registry.JAXRException

getQuery

java.lang.String getQuery()
Return the query string that was used to create this CentraSiteBulkResponse.

Returns:
the query string, or null if the BulkResponse was not created by a query.

addException

void addException(javax.xml.registry.JAXRException exc)
Add an exception.

Parameters:
exc - the exception to be added