Class BusinessLifeCycleManagerImpl

  • All Implemented Interfaces:
    javax.xml.registry.BusinessLifeCycleManager, javax.xml.registry.LifeCycleManager

    public class BusinessLifeCycleManagerImpl
    extends LifeCycleManagerImpl
    implements javax.xml.registry.BusinessLifeCycleManager
    Class Declaration for Class1
    Author:
    • Constructor Detail

      • BusinessLifeCycleManagerImpl

        public BusinessLifeCycleManagerImpl()
      • BusinessLifeCycleManagerImpl

        public BusinessLifeCycleManagerImpl​(RegistryServiceImpl service)
    • Method Detail

      • saveOrganizations

        public javax.xml.registry.BulkResponse saveOrganizations​(Collection organizations)
                                                          throws javax.xml.registry.JAXRException
        Adds or updates (replaces) specified Organizations. Partial commits are allowed. Processing stops on first SaveException encountered.
        Specified by:
        saveOrganizations in interface javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • saveServices

        public javax.xml.registry.BulkResponse saveServices​(Collection services)
                                                     throws javax.xml.registry.JAXRException
        Adds or updates (replaces) specified Services. Partial commits are allowed. Processing stops on first SaveException encountered.
        Specified by:
        saveServices in interface javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • saveServiceBindings

        public javax.xml.registry.BulkResponse saveServiceBindings​(Collection bindings)
                                                            throws javax.xml.registry.JAXRException
        Adds or updates (replaces) specified ServiceInterfaceBindings. Partial commits are allowed. Processing stops on first SaveException encountered.
        Specified by:
        saveServiceBindings in interface javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • saveConcepts

        public javax.xml.registry.BulkResponse saveConcepts​(Collection concepts)
                                                     throws javax.xml.registry.JAXRException
        Adds or updates (replaces) specified Concepts. Partial commits are allowed. Processing stops on first SaveException encountered.
        Specified by:
        saveConcepts in interface javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • saveClassificationSchemes

        public javax.xml.registry.BulkResponse saveClassificationSchemes​(Collection schemes)
                                                                  throws javax.xml.registry.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 javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • deleteOrganizations

        public javax.xml.registry.BulkResponse deleteOrganizations​(Collection organizationKeys)
                                                            throws javax.xml.registry.JAXRException
        Delete the organizations corresponding to specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.
        Specified by:
        deleteOrganizations in interface javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • deleteServices

        public javax.xml.registry.BulkResponse deleteServices​(Collection serviceKeys)
                                                       throws javax.xml.registry.JAXRException
        Delete the services corresponding to specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.
        Specified by:
        deleteServices in interface javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • deleteServiceBindings

        public javax.xml.registry.BulkResponse deleteServiceBindings​(Collection interfaceKeys)
                                                              throws javax.xml.registry.JAXRException
        Delete the ServiceInterfaceBindings corresponding to specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.
        Specified by:
        deleteServiceBindings in interface javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • deleteConcepts

        public javax.xml.registry.BulkResponse deleteConcepts​(Collection conceptKeys)
                                                       throws javax.xml.registry.JAXRException
        Delete the Concepts corresponding to specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.
        Specified by:
        deleteConcepts in interface javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • deleteClassificationSchemes

        public javax.xml.registry.BulkResponse deleteClassificationSchemes​(Collection schemeKeys)
                                                                    throws javax.xml.registry.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 javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • saveAssociations

        public javax.xml.registry.BulkResponse saveAssociations​(Collection associations,
                                                                boolean replace)
                                                         throws javax.xml.registry.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 javax.xml.registry.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.
        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:
        javax.xml.registry.JAXRException
      • deleteAssociations

        public javax.xml.registry.BulkResponse deleteAssociations​(Collection schemeKeys)
                                                           throws javax.xml.registry.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 javax.xml.registry.BusinessLifeCycleManager
        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:
        javax.xml.registry.JAXRException
      • confirmAssociation

        public void confirmAssociation​(javax.xml.registry.infomodel.Association association)
                                throws javax.xml.registry.JAXRException
        Specified by:
        confirmAssociation in interface javax.xml.registry.BusinessLifeCycleManager
        Throws:
        javax.xml.registry.JAXRException
      • unConfirmAssociation

        public void unConfirmAssociation​(javax.xml.registry.infomodel.Association association)
                                  throws javax.xml.registry.JAXRException
        Specified by:
        unConfirmAssociation in interface javax.xml.registry.BusinessLifeCycleManager
        Throws:
        javax.xml.registry.JAXRException