-
- All Known Subinterfaces:
- BusinessQueryManager, DeclarativeQueryManager
public interface QueryManager
This is the common base interface for all QueryManagers in the API.- Author:
- Farrukh S. Najmi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description RegistryObject
getRegistryObject(String id)
Gets the RegistryObject specified by the Id.RegistryObject
getRegistryObject(String id, String objectType)
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 objectKeys, String objectTypes)
Gets the specified RegistryObjects.BulkResponse
getRegistryObjects(String objectType)
Gets the RegistryObjects owned by the caller, that are of the specified type.RegistryService
getRegistryService()
Returns the parent RegistryService that created this object.
-
-
-
Method Detail
-
getRegistryObject
RegistryObject getRegistryObject(String id, String objectType) throws JAXRException
Gets the RegistryObject specified by the Id and type of object.- Capability Level: 0
- 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:
- the RegistryObject, returned as its concrete type (e.g. Organization, User etc.).
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
getRegistryObject
RegistryObject getRegistryObject(String id) throws JAXRException
Gets the RegistryObject specified by the Id.- Capability Level: 1
- Parameters:
id
- the id for the desired object- Returns:
- the RegistryObject, returned as its concrete type (e.g. Organization, User etc.).
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
getRegistryObjects
BulkResponse getRegistryObjects(Collection 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
- a Collection of Key objects for the desired objects- Returns:
- BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
getRegistryObjects
BulkResponse getRegistryObjects(Collection 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
- a Collection of Key objects for the desired objectsobjectTypes
- 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
-
getRegistryObjects
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 containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
getRegistryObjects
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
- Is a constant that defines the type of object sought. See LifeCycleManager for constants for object types.- Returns:
- BulkResponse containing a heterogeneous Collection of RegistryObjects (e.g. Organization, User etc.).
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
LifeCycleManager.ORGANIZATION
-
getRegistryService
RegistryService getRegistryService() throws JAXRException
Returns the parent RegistryService that created this object.- Capability Level: 0
- Returns:
- the RegistryService created this object
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
21/08/2025 20:15:13 Cette version de la page est en cache (à la date du 21/08/2025 20:15:13) afin d'accélérer le traitement.Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.
Document créé le 18/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/xml/registry/querymanager.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.