Class BusinessLifeCycleManagerImpl

    • Constructor Detail

      • BusinessLifeCycleManagerImpl

        public BusinessLifeCycleManagerImpl()
      • BusinessLifeCycleManagerImpl

        public BusinessLifeCycleManagerImpl​(RegistryServiceImpl service)
    • Method Detail

      • saveOrganizations

        public BulkResponse saveOrganizations​(Collection organizations)
                                       throws JAXRException
        Adds or updates (replaces) specified Organizations. Partial commits are allowed. Processing stops on first SaveException encountered.
        Specified by:
        saveOrganizations in interface BusinessLifeCycleManager
        Parameters:
        organizations - the Collection of Organization objects to be saved
        Returns:
        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

        public BulkResponse saveServices​(Collection services)
                                  throws JAXRException
        Adds or updates (replaces) specified Services. Partial commits are allowed. Processing stops on first SaveException encountered.
        Specified by:
        saveServices in interface BusinessLifeCycleManager
        Parameters:
        services - the Collection of Service objects to be saved
        Returns:
        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

        public BulkResponse saveServiceBindings​(Collection bindings)
                                         throws JAXRException
        Adds or updates (replaces) specified ServiceInterfaceBindings. Partial commits are allowed. Processing stops on first SaveException encountered.
        Specified by:
        saveServiceBindings in interface BusinessLifeCycleManager
        Parameters:
        bindings - the Collection of ServiceBinding objects to be saved
        Returns:
        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

        public BulkResponse saveConcepts​(Collection concepts)
                                  throws JAXRException
        Adds or updates (replaces) specified Concepts. Partial commits are allowed. Processing stops on first SaveException encountered.
        Specified by:
        saveConcepts in interface BusinessLifeCycleManager
        Parameters:
        concepts - the Collection of Concept objects to be saved
        Returns:
        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

        public BulkResponse saveClassificationSchemes​(Collection schemes)
                                               throws JAXRException
        Saves specified ClassificationScheme instances. If the object is not in the registry, then it is created in the registry. If it already exists in the registry and has been modified, then its state is updated (replaced) in the registry. Partial commits are allowed. Processing stops on first SaveException encountered.

        Capability Level: 0
        Specified by:
        saveClassificationSchemes in interface BusinessLifeCycleManager
        Parameters:
        schemes - the Collection of ClassificationScheme objects to be saved
        Returns:
        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

        public BulkResponse deleteOrganizations​(Collection organizationKeys)
                                         throws JAXRException
        Delete the organizations corresponding to specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.
        Specified by:
        deleteOrganizations in interface BusinessLifeCycleManager
        Parameters:
        organizationKeys - the Collection of keys for the Organization objects to be deleted
        Returns:
        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

        public BulkResponse deleteServices​(Collection serviceKeys)
                                    throws JAXRException
        Delete the services corresponding to specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.
        Specified by:
        deleteServices in interface BusinessLifeCycleManager
        Parameters:
        serviceKeys - the Collection of keys for the Service objects to be deleted
        Returns:
        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

        public BulkResponse deleteServiceBindings​(Collection interfaceKeys)
                                           throws JAXRException
        Delete the ServiceInterfaceBindings corresponding to specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.
        Specified by:
        deleteServiceBindings in interface BusinessLifeCycleManager
        Parameters:
        interfaceKeys - the Collection of keys for the ServiceBinding objects to be deleted
        Returns:
        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

        public BulkResponse deleteConcepts​(Collection conceptKeys)
                                    throws JAXRException
        Delete the Concepts corresponding to specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.
        Specified by:
        deleteConcepts in interface BusinessLifeCycleManager
        Parameters:
        conceptKeys - the Collection of keys for the Concept objects to be deleted
        Returns:
        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

        public BulkResponse deleteClassificationSchemes​(Collection schemeKeys)
                                                 throws JAXRException
        Delete the ClassificationSchemes corresponding to the specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.

        Capability Level: 0
        Specified by:
        deleteClassificationSchemes in interface BusinessLifeCycleManager
        Parameters:
        schemeKeys - the Collection of keys for the ClassificationScheme objects to be deleted
        Returns:
        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
      • saveAssociations

        public BulkResponse saveAssociations​(Collection associations,
                                             boolean replace)
                                      throws JAXRException
        Saves specified Association instances. If the object is not in the registry, then it is created in the registry. If it already exists in the registry and has been modified, then its state is updated (replaced) in the registry. Partial commits are allowed. Processing stops on first SaveException encountered.

        Capability Level: 0
        Specified by:
        saveAssociations in interface BusinessLifeCycleManager
        Parameters:
        replace - If set to true then the specified associations replace any existing associations owned by the caller. If set to false specif8ied associations are saved while preserving any existing associations that are not being updated by this call.
        associations - the Collection of Association objects to be saved
        Returns:
        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
      • deleteAssociations

        public BulkResponse deleteAssociations​(Collection schemeKeys)
                                        throws JAXRException
        Delete the Associations corresponding to the specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.

        Capability Level: 0
        Specified by:
        deleteAssociations in interface BusinessLifeCycleManager
        Parameters:
        schemeKeys - the Collection of keys for the Association objects to be deleted
        Returns:
        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

        public void confirmAssociation​(Association association)
                                throws JAXRException
        Description copied from interface: BusinessLifeCycleManager
        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
        Specified by:
        confirmAssociation in interface BusinessLifeCycleManager
        Parameters:
        association - 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

        public void unConfirmAssociation​(Association association)
                                  throws JAXRException
        Description copied from interface: BusinessLifeCycleManager
        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
        Specified by:
        unConfirmAssociation in interface BusinessLifeCycleManager
        Parameters:
        association - 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