javax.xml.registry
Interface QueryManager

All Known Subinterfaces:
BusinessQueryManager, DeclarativeQueryManager

public interface QueryManager

This is the common base interface for all QueryManagers in the API.


Method Summary
 CataloguedObject getCataloguedObject(java.lang.String id)
          Gets the CataloguedObject specified by the id.
 BulkResponse getCataloguedObjects(java.util.Collection objectKeys)
          Gets the specified CataloguedObjects.
 RegistryObject getRegistryObject(java.lang.String id)
          Gets the RegistryObject specified by the Id.
 BulkResponse getRegistryObjects()
          Gets the RegistryObjects owned by the caller.
 BulkResponse getRegistryObjects(java.util.Collection objectKeys)
          Gets the specified RegistryObjects.
 BulkResponse getRegistryObjects(java.lang.String objectType)
          Gets the RegistryObjects owned by the caller, that are of the specified type.
 

Method Detail

getRegistryObject

public RegistryObject getRegistryObject(java.lang.String id)
                                 throws JAXRException
Gets the RegistryObject specified by the Id.

Capability Level: 0
Returns:
RegistryObject Is the object is returned as their concrete type (e.g. Organization, User etc.).

getRegistryObjects

public BulkResponse getRegistryObjects(java.util.Collection objectKeys)
                                throws JAXRException
Gets the specified RegistryObjects. The objects are returned as their concrete type (e.g. Organization, User etc.).

Capability Level: 0
Returns:
BulkResponse containing a hetrogeneous Collection of RegistryObjects (e.g. Organization, User etc.).

getRegistryObjects

public BulkResponse getRegistryObjects()
                                throws JAXRException
Gets the RegistryObjects owned by the caller. The objects are returned as their concrete type (e.g. Organization, User etc.).

Capability Level: 0
Returns:
BulkResponse containing a hetrogeneous Collection of RegistryObjects (e.g. Organization, User etc.).

getRegistryObjects

public BulkResponse getRegistryObjects(java.lang.String objectType)
                                throws JAXRException
Gets the RegistryObjects owned by the caller, that are of the specified type. The objects are returned as their concrete type (e.g. Organization, User etc.).

Capability Level: 0
Parameters:
objectType - Is a constant that defines the type of object sought. See LifeCycleManager for constants for object types.
Returns:
BulkResponse containing a hetrogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
See Also:
for supported objectTypes

getCataloguedObject

public CataloguedObject getCataloguedObject(java.lang.String id)
                                     throws JAXRException
Gets the CataloguedObject specified by the id. Level 0 JAXR providers should throw UnsupportedCapabilityException.

Capability Level: 1
Returns:
CataloguedObject containing the RegistryObject and the RepositoryItems request.

getCataloguedObjects

public BulkResponse getCataloguedObjects(java.util.Collection objectKeys)
                                  throws JAXRException
Gets the specified CataloguedObjects. Level 0 JAXR providers should throw UnsupportedCapabilityException.

Capability Level: 1
Returns:
BulkResponse containing homogenous Collection of CataloguedObjects containing the RegistryObject and the RepositoryItems request.