javax.xml.registry

Interface BusinessLifeCycleManager

  • All Superinterfaces:
    LifeCycleManager

    public interface BusinessLifeCycleManager
    extends LifeCycleManager
    The BusinessLifeCycleManager interface, which is exposed by the Registry Service, implements the life cycle management functionality of the Registry as part of a business level API. Note that there is no authentication information provided, because the Connection interface keeps that state and context on behalf of the client.
    Author:
    Farrukh S. Najmi
    See Also:
    LifeCycleManager
    • Method Detail

      • saveOrganizations

        BulkResponse saveOrganizations(Collection organizations)
                                throws JAXRException
        Saves the specified Organizations.

        If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.

        Partial commits are allowed. Processing stops on first SaveException encountered.

        Capability Level: 0
        Parameters:
        organizations - the Collection of Organization objects to be saved
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were saved successfully and any SaveException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • saveServices

        BulkResponse saveServices(Collection services)
                           throws JAXRException
        Saves the specified Services.

        If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.

        Partial commits are allowed. Processing stops on first SaveException encountered.

        Capability Level: 0
        Parameters:
        services - the Collection of Service objects to be saved
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were saved successfully and any SaveException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • saveServiceBindings

        BulkResponse saveServiceBindings(Collection bindings)
                                  throws JAXRException
        Saves the specified ServiceBindings.

        If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.

        Partial commits are allowed. Processing stops on first SaveException encountered.

        Capability Level: 0
        Parameters:
        bindings - the Collection of ServiceBinding objects to be saved
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were saved successfully and any SaveException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • saveConcepts

        BulkResponse saveConcepts(Collection concepts)
                           throws JAXRException
        Saves the specified Concepts.

        If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.

        Partial commits are allowed. Processing stops on first SaveException encountered.

        Capability Level: 0
        Parameters:
        concepts - the Collection of Concept objects to be saved
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were saved successfully and any SaveException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • saveClassificationSchemes

        BulkResponse saveClassificationSchemes(Collection schemes)
                                        throws JAXRException
        Saves the specified ClassificationScheme instances.

        If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.

        Partial commits are allowed. Processing stops on first SaveException encountered.

        Capability Level: 0
        Parameters:
        schemes - the Collection of ClassificationScheme objects to be saved
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were saved successfully and any SaveException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • saveAssociations

        BulkResponse saveAssociations(Collection associations,
                                      boolean replace)
                               throws JAXRException
        Saves the specified Association instances.

        If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.

        Partial commits are allowed. Processing stops on first SaveException encountered.

        Capability Level: 0
        Parameters:
        associations - the Collection of Association objects to be saved
        replace - If set to true, the specified associations replace any existing associations owned by the caller. If set to false, the specified associations are saved, while any existing associations not being updated by this call are preserved.
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were saved successfully and any SaveException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • deleteOrganizations

        BulkResponse deleteOrganizations(Collection organizationKeys)
                                  throws JAXRException
        Deletes the organizations corresponding to the specified Keys.

        Partial commits are allowed. Processing stops on first DeleteException encountered.

        Capability Level: 0
        Parameters:
        organizationKeys - the Collection of keys for the Organization objects to be deleted
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were deleted successfully and any DeleteException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • deleteServices

        BulkResponse deleteServices(Collection serviceKeys)
                             throws JAXRException
        Deletes the services corresponding to the specified Keys.

        Partial commits are allowed. Processing stops on first DeleteException encountered.

        Capability Level: 0
        Parameters:
        serviceKeys - the Collection of keys for the Service objects to be deleted
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were deleted successfully and any DeleteException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • deleteServiceBindings

        BulkResponse deleteServiceBindings(Collection bindingKeys)
                                    throws JAXRException
        Deletes the ServiceBindings corresponding to the specified Keys.

        Partial commits are allowed. Processing stops on first DeleteException encountered.

        Capability Level: 0
        Parameters:
        bindingKeys - the Collection of keys for the ServiceBinding objects to be deleted
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were deleted successfully and any DeleteException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • deleteConcepts

        BulkResponse deleteConcepts(Collection conceptKeys)
                             throws JAXRException
        Deletes the Concepts corresponding to the specified Keys.

        Partial commits are allowed. Processing stops on first DeleteException encountered.

        Capability Level: 0
        Parameters:
        conceptKeys - the Collection of keys for the Concept objects to be deleted
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were deleted successfully and any DeleteException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • deleteClassificationSchemes

        BulkResponse deleteClassificationSchemes(Collection schemeKeys)
                                          throws JAXRException
        Deletes the ClassificationSchemes corresponding to the specified Keys.

        Partial commits are allowed. Processing stops on first DeleteException encountered.

        Capability Level: 0
        Parameters:
        schemeKeys - the Collection of keys for the ClassificationScheme objects to be deleted
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were deleted successfully and any DeleteException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • deleteAssociations

        BulkResponse deleteAssociations(Collection associationKeys)
                                 throws JAXRException
        Deletes the Associations corresponding to the specified Keys.

        Partial commits are allowed. Processing stops on first DeleteException encountered.

        Capability Level: 0
        Parameters:
        associationKeys - the Collection of keys for the Association objects to be deleted
        Returns:
        a BulkResponse containing the Collection of keys for those objects that were deleted successfully and any DeleteException that was encountered in case of partial commit
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
      • confirmAssociation

        void confirmAssociation(Association assoc)
                         throws JAXRException,
                                InvalidRequestException
        Confirms this Association by the User associated with the caller. The User must be the owner of the sourceObject or the targetObject in this association.

        • If the Association is intramural, this method does nothing and returns.
        • If the Association is extramural and already confirmed (isConfirmed returns true), this method does nothing and returns.
        • If the Association is extramural and not already confirmed, this method confirms the association for the User associated with the caller.

        The details of confirming an extramural Association are registry-specific. For UDDI and ebXML registries, the registry-specific details are described in the JAXR specification.

        Capability Level: 0
        Parameters:
        assoc - the Association object to be confirmed
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
        InvalidRequestException - if the User is not the owner of the sourceObject or the targetObject
      • unConfirmAssociation

        void unConfirmAssociation(Association assoc)
                           throws JAXRException,
                                  InvalidRequestException
        Undoes a previous confirmation of this Association by the User associated with the caller. The User must be the owner of the sourceObject or the targetObject in this association.

        • If the Association is intramural, this method does nothing and returns.
        • If the Association is extramural and already confirmed (isConfirmed returns true), this method unconfirms it for the requestor.
        • If the Association is extramural and not already confirmed, this method does nothing and returns.

        The details of unconfirming an extramural Association are registry-specific. For UDDI and ebXML registries, the registry-specific details are described in the JAXR specification.

        Capability Level: 0
        Parameters:
        assoc - the Association object to be unconfirmed
        Throws:
        JAXRException - if the JAXR provider encounters an internal error
        InvalidRequestException - if the User is not the owner of the sourceObject or the targetObject

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/xml/registry/businesslifecyclemanager.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.