Name
QueryManager
Synopsis
public interface QueryManager {
// Public Instance Methods
public abstract javax.xml.registry.infomodel.RegistryObject
getRegistryObject(String id)
throws JAXRException; // L1
public abstract javax.xml.registry.infomodel.RegistryObject getRegistryObject(String id,
String objectType)
throws JAXRException; // L0
public abstract BulkResponse getRegistryObjects( ) throws JAXRException; // L0
public abstract BulkResponse getRegistryObjects(String objectType)
throws JAXRException; // L0
public abstract BulkResponse getRegistryObjects(Collection objectKeys)
throws JAXRException; // L1
public abstract BulkResponse getRegistryObjects(Collection objectKeys,
String objectTypes)
throws JAXRException; // L0
public abstract RegistryService getRegistryService( )
throws JAXRException; // L0
}QueryManager provides methods that allow objects
in the registry to be retrieved based on type and/or identifier. The
only way to obtain a QueryManager object is by
calling the getBusinessQueryManager( ) or the
getDeclarativeQueryManager( ) method on
RegistryService, which both return one of the two
derived interfaces of QueryManager defined by the
API. The QueryManager
getRegistryService( ) method returns the RegistryService
object from which it was obtained.
The zero-argument getRegistryObjects( ) returns a
BulkResponse containing all of the objects in the
registry belonging to the calling user, while
getRegistryObject(String
objectType) returns the subset of those objects that are ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access