Class QueryManagerImpl

    • Constructor Detail

      • QueryManagerImpl

        public QueryManagerImpl()
    • 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