Package com.sun.xml.registry.uddi
Class QueryManagerImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.QueryManagerImpl
-
- All Implemented Interfaces:
QueryManager
- Direct Known Subclasses:
BusinessQueryManagerImpl,DeclarativeQueryManagerImpl
public class QueryManagerImpl extends Object implements QueryManager
Class Declaration for Class1- Author:
-
-
Constructor Summary
Constructors Constructor Description QueryManagerImpl()QueryManagerImpl(RegistryServiceImpl service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegistryObjectgetRegistryObject(String id)Gets the RegistryObject specified by the Id.RegistryObjectgetRegistryObject(String id, String type)Gets the RegistryObject specified by the Id and type of object.BulkResponsegetRegistryObjects()Gets the RegistryObjects owned by the caller.BulkResponsegetRegistryObjects(String objectType)Gets the RegistryObject specified by the Id.BulkResponsegetRegistryObjects(Collection objectKeys)gets the specified RegistryObjectsBulkResponsegetRegistryObjects(Collection ids, String type)Gets the specified RegistryObjects.RegistryServicegetRegistryService()Returns the parent RegistryService that created this object.
-
-
-
Constructor Detail
-
QueryManagerImpl
public QueryManagerImpl()
-
QueryManagerImpl
public QueryManagerImpl(RegistryServiceImpl service)
-
-
Method Detail
-
getRegistryObjects
public BulkResponse getRegistryObjects(Collection objectKeys) throws JAXRException
gets the specified RegistryObjects- Specified by:
getRegistryObjectsin interfaceQueryManager- Parameters:
objectKeys- a Collection of Key objects for the desired objects- Returns:
- BulkResponse containing Collection of RegistryObjects.
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
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.).- Specified by:
getRegistryObjectsin interfaceQueryManager- Returns:
- BulkResponse containing a hetrogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getRegistryObject
public RegistryObject getRegistryObject(String id) throws JAXRException
Gets the RegistryObject specified by the Id.- Specified by:
getRegistryObjectin interfaceQueryManager- Parameters:
id- the id for the desired object- Returns:
- RegistryObject Is the object is returned as their concrete type (e.g. Organization, User etc.).
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getRegistryObjects
public BulkResponse getRegistryObjects(String objectType) throws JAXRException
Gets the RegistryObject specified by the Id.- Specified by:
getRegistryObjectsin interfaceQueryManager- Parameters:
objectType- Is a constant that defines the type of object sought. See LifeCycleManager for constants for object types.- Returns:
- RegistryObject Is the object is returned as their concrete type (e.g. Organization, User etc.).
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
LifeCycleManager.ORGANIZATION
-
getRegistryObject
public RegistryObject getRegistryObject(String id, String type) throws JAXRException
Description copied from interface:QueryManagerGets the RegistryObject specified by the Id and type of object.- Capability Level: 0
- Specified by:
getRegistryObjectin interfaceQueryManager- Parameters:
id- is the id of the Key for a RegistryObject.type- is a constant definition from LifeCycleManager that specifies the type of object desired.- Returns:
- the RegistryObject, returned as its concrete type (e.g. Organization, User etc.).
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getRegistryObjects
public BulkResponse getRegistryObjects(Collection ids, String type) throws JAXRException
Description copied from interface:QueryManagerGets the specified RegistryObjects. The objects are returned as their concrete type (e.g. Organization, User etc.).- Capability Level: 0
- Specified by:
getRegistryObjectsin interfaceQueryManager- Parameters:
ids- a Collection of Key objects for the desired objectstype- a Collection of String objects that allow filtering desired objects by their type- Returns:
- BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getRegistryService
public RegistryService getRegistryService()
Description copied from interface:QueryManagerReturns the parent RegistryService that created this object.- Capability Level: 0
- Specified by:
getRegistryServicein interfaceQueryManager- Returns:
- the RegistryService created this object
-
-