com.sun.xml.registry.ebxml
Class QueryManagerImpl

java.lang.Object
  extended bycom.sun.xml.registry.ebxml.QueryManagerImpl
All Implemented Interfaces:
javax.xml.registry.QueryManager
Direct Known Subclasses:
BusinessQueryManagerImpl, DeclarativeQueryManagerImpl

public abstract class QueryManagerImpl
extends java.lang.Object
implements javax.xml.registry.QueryManager

Class Declaration for Class1


Field Summary
protected  javax.xml.registry.infomodel.User callersUser
           
protected  DeclarativeQueryManagerImpl dqm
           
protected  BusinessLifeCycleManagerImpl lcm
           
protected  RegistryServiceImpl regService
           
 
Method Summary
 javax.xml.registry.BulkResponse getCallersRegistryObjects()
          Gets the RegistryObjects owned by the Caller.
 javax.xml.registry.infomodel.User getCallersUser()
           
 javax.xml.registry.infomodel.RegistryObject getRegistryObject(java.lang.String id)
          Gets the RegistryObject specified by the Id.
 javax.xml.registry.infomodel.RegistryObject getRegistryObject(java.lang.String id, java.lang.String objectType)
          Gets the RegistryObject specified by the Id and type of object.
 javax.xml.registry.BulkResponse getRegistryObjects()
          Gets the RegistryObjects owned by the caller.
 javax.xml.registry.BulkResponse getRegistryObjects(java.util.Collection objectKeys)
          Gets the specified RegistryObjects.
 javax.xml.registry.BulkResponse getRegistryObjects(java.util.Collection objectKeys, java.lang.String objectType)
          Gets the specified RegistryObjects of the specified object type.
 javax.xml.registry.BulkResponse getRegistryObjects(java.lang.String objectType)
          Gets the RegistryObjects owned by the caller, that are of the specified type.
 javax.xml.registry.RegistryService getRegistryService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dqm

protected DeclarativeQueryManagerImpl dqm

regService

protected RegistryServiceImpl regService

lcm

protected BusinessLifeCycleManagerImpl lcm

callersUser

protected javax.xml.registry.infomodel.User callersUser
Method Detail

getRegistryObject

public javax.xml.registry.infomodel.RegistryObject getRegistryObject(java.lang.String id,
                                                                     java.lang.String objectType)
                                                              throws javax.xml.registry.JAXRException
Gets the RegistryObject specified by the Id and type of object.

Capability Level: 0

Specified by:
getRegistryObject in interface javax.xml.registry.QueryManager
Parameters:
id - is the id of the Key for a RegistryObject.
objectType - is a constant definition from LifeCycleManager that specifies the type of object desired.
Returns:
RegistryObject Is the object is returned as their concrete type (e.g. Organization, User etc.).
Throws:
javax.xml.registry.JAXRException

getRegistryObject

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

Capability Level: 1

Specified by:
getRegistryObject in interface javax.xml.registry.QueryManager
Returns:
RegistryObject Is the object is returned as their concrete type (e.g. Organization, User etc.).
Throws:
javax.xml.registry.JAXRException

getRegistryObjects

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

Capability Level: 1

Specified by:
getRegistryObjects in interface javax.xml.registry.QueryManager
Returns:
BulkResponse containing a hetrogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
Throws:
javax.xml.registry.JAXRException

getCallersRegistryObjects

public javax.xml.registry.BulkResponse getCallersRegistryObjects()
                                                          throws javax.xml.registry.JAXRException
Gets the RegistryObjects owned by the Caller. The objects are returned as their concrete type (e.g. Organization, User etc.). For to JAXR 2.0??

Capability Level: 1

Returns:
BulkResponse containing a hetrogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
Throws:
javax.xml.registry.JAXRException

getRegistryObjects

public javax.xml.registry.BulkResponse getRegistryObjects(java.util.Collection objectKeys,
                                                          java.lang.String objectType)
                                                   throws javax.xml.registry.JAXRException
Gets the specified RegistryObjects of the specified object type. The objects are returned as their concrete type (e.g. Organization, User etc.).

Capability Level: 0

Specified by:
getRegistryObjects in interface javax.xml.registry.QueryManager
Returns:
BulkResponse containing a hetrogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
Throws:
javax.xml.registry.JAXRException

getRegistryObjects

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

Capability Level: 0

Specified by:
getRegistryObjects in interface javax.xml.registry.QueryManager
Returns:
BulkResponse containing a hetrogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
Throws:
javax.xml.registry.JAXRException

getRegistryObjects

public javax.xml.registry.BulkResponse getRegistryObjects(java.lang.String objectType)
                                                   throws javax.xml.registry.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

Specified by:
getRegistryObjects in interface javax.xml.registry.QueryManager
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.).
Throws:
javax.xml.registry.JAXRException
See Also:
for supported objectTypes

getRegistryService

public javax.xml.registry.RegistryService getRegistryService()
                                                      throws javax.xml.registry.JAXRException
Specified by:
getRegistryService in interface javax.xml.registry.QueryManager
Throws:
javax.xml.registry.JAXRException

getCallersUser

public javax.xml.registry.infomodel.User getCallersUser()
                                                 throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException


Copyright © 2001-2004 OASIS. All Rights Reserved.