com.sun.xml.registry.uddi
Class QueryManagerImpl

java.lang.Object
  extended by 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:
See Also:

Constructor Summary
QueryManagerImpl()
           
QueryManagerImpl(RegistryServiceImpl service)
           
 
Method Summary
 RegistryObject getRegistryObject(String id)
          Gets the RegistryObject specified by the Id.
 RegistryObject getRegistryObject(String id, String type)
          Gets the RegistryObject specified by the Id and type of object.
 BulkResponse getRegistryObjects()
          Gets the RegistryObjects owned by the caller.
 BulkResponse getRegistryObjects(Collection objectKeys)
          gets the specified RegistryObjects
 BulkResponse getRegistryObjects(Collection ids, String type)
          Gets the specified RegistryObjects.
 BulkResponse getRegistryObjects(String objectType)
          Gets the RegistryObject specified by the Id.
 RegistryService getRegistryService()
          Returns the parent RegistryService that created this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
getRegistryObjects in interface QueryManager
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:
getRegistryObjects in interface QueryManager
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:
getRegistryObject in interface QueryManager
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:
getRegistryObjects in interface QueryManager
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: QueryManager
Gets the RegistryObject specified by the Id and type of object.

Capability Level: 0

Specified by:
getRegistryObject in interface QueryManager
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: QueryManager
Gets the specified RegistryObjects. The objects are returned as their concrete type (e.g. Organization, User etc.).

Capability Level: 0

Specified by:
getRegistryObjects in interface QueryManager
Parameters:
ids - a Collection of Key objects for the desired objects
type - 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: QueryManager
Returns the parent RegistryService that created this object.

Capability Level: 0

Specified by:
getRegistryService in interface QueryManager
Returns:
the RegistryService created this object


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.