Top Description Methods
javax.xml.registry

public Interface QueryManager

Known Direct Subinterfaces
javax.xml.registry.BusinessQueryManager, javax.xml.registry.DeclarativeQueryManager
Imports
java.util.*, javax.xml.registry.infomodel.*

This is the common base interface for all QueryManagers in the API.
Author
Farrukh S. Najmi

Method Summary

Modifier and TypeMethod and Description
public RegistryObject

Returns:

the RegistryObject, returned as its concrete type (e.g. Organization, User etc.).
getRegistryObject
(String
is the id of the Key for a RegistryObject.
id
,
String
is a constant definition from LifeCycleManager that specifies the type of object desired.
objectType
)

Gets the RegistryObject specified by the Id and type of object.

public RegistryObject

Returns:

the RegistryObject, returned as its concrete type (e.g. Organization, User etc.).
getRegistryObject
(String
the id for the desired object
id
)

Gets the RegistryObject specified by the Id.

Capability Level: 1
public BulkResponse

Returns:

BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
getRegistryObjects
(Collection<E>
a Collection of Key objects for the desired objects
objectKeys
)

Gets the specified RegistryObjects.

public BulkResponse

Returns:

BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
getRegistryObjects
(Collection<E>
a Collection of Key objects for the desired objects
objectKeys
,
String
a Collection of String objects that allow filtering desired objects by their type
objectTypes
)

Gets the specified RegistryObjects.

public BulkResponse

Returns:

BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
getRegistryObjects
()

Gets the RegistryObjects owned by the caller.

public BulkResponse

Returns:

BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
getRegistryObjects
(String
Is a constant that defines the type of object sought. See LifeCycleManager for constants for object types.
objectType
)

Gets the RegistryObjects owned by the caller, that are of the specified type.

public RegistryService

Returns:

the RegistryService created this object
getRegistryService
()

Returns the parent RegistryService that created this object.

Method Detail

getRegistryObjectback to summary
public RegistryObject getRegistryObject(String id, String objectType) throws JAXRException

Gets the RegistryObject specified by the Id and type of object.

Capability Level: 0
Parameters
id:String

is the id of the Key for a RegistryObject.

objectType:String

is a constant definition from LifeCycleManager that specifies the type of object desired.

Returns:RegistryObject

the RegistryObject, returned as its concrete type (e.g. Organization, User etc.).

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
getRegistryObjectback to summary
public RegistryObject getRegistryObject(String id) throws JAXRException

Gets the RegistryObject specified by the Id.

Capability Level: 1
Parameters
id:String

the id for the desired object

Returns:RegistryObject

the RegistryObject, returned as its concrete type (e.g. Organization, User etc.).

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
getRegistryObjectsback to summary
public BulkResponse getRegistryObjects(Collection<E> objectKeys) throws JAXRException

Gets the specified RegistryObjects. The objects are returned as their concrete type (e.g. Organization, User etc.).

Capability Level: 1
Parameters
objectKeys:Collection<E>

a Collection of Key objects for the desired objects

Returns:BulkResponse

BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
getRegistryObjectsback to summary
public BulkResponse getRegistryObjects(Collection<E> objectKeys, String objectTypes) throws JAXRException

Gets the specified RegistryObjects. The objects are returned as their concrete type (e.g. Organization, User etc.).

Capability Level: 0
Parameters
objectKeys:Collection<E>

a Collection of Key objects for the desired objects

objectTypes:String

a Collection of String objects that allow filtering desired objects by their type

Returns:BulkResponse

BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
getRegistryObjectsback to summary
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

BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
getRegistryObjectsback to summary
public BulkResponse getRegistryObjects(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:String

Is a constant that defines the type of object sought. See LifeCycleManager for constants for object types.

Returns:BulkResponse

BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
See Also
LifeCycleManager#ORGANIZATION
getRegistryServiceback to summary
public RegistryService getRegistryService() throws JAXRException

Returns the parent RegistryService that created this object.

Capability Level: 0
Returns:RegistryService

the RegistryService created this object

Exceptions
JAXRException:
If the Jakarta XML Registries provider encounters an internal error
See Also
javax.xml.registry.RegistryService