com.sun.xml.registry.uddi
Class BusinessLifeCycleManagerImpl

java.lang.Object
  extended by com.sun.xml.registry.uddi.LifeCycleManagerImpl
      extended by com.sun.xml.registry.uddi.BusinessLifeCycleManagerImpl
All Implemented Interfaces:
BusinessLifeCycleManager, LifeCycleManager

public class BusinessLifeCycleManagerImpl
extends LifeCycleManagerImpl
implements BusinessLifeCycleManager

Class Declaration for Class1

Author:
See Also:

Field Summary
 
Fields inherited from interface javax.xml.registry.LifeCycleManager
ASSOCIATION, AUDITABLE_EVENT, CLASSIFICATION, CLASSIFICATION_SCHEME, CONCEPT, EMAIL_ADDRESS, EXTERNAL_IDENTIFIER, EXTERNAL_LINK, EXTRINSIC_OBJECT, INTERNATIONAL_STRING, KEY, LOCALIZED_STRING, ORGANIZATION, PERSON_NAME, POSTAL_ADDRESS, REGISTRY_ENTRY, REGISTRY_PACKAGE, SERVICE, SERVICE_BINDING, SLOT, SPECIFICATION_LINK, TELEPHONE_NUMBER, USER, VERSIONABLE
 
Constructor Summary
BusinessLifeCycleManagerImpl()
           
BusinessLifeCycleManagerImpl(RegistryServiceImpl service)
           
 
Method Summary
 void confirmAssociation(Association association)
          Confirms this Association by the User associated with the caller.
 BulkResponse deleteAssociations(Collection schemeKeys)
          Delete the Associations corresponding to the specified Keys.
 BulkResponse deleteClassificationSchemes(Collection schemeKeys)
          Delete the ClassificationSchemes corresponding to the specified Keys.
 BulkResponse deleteConcepts(Collection conceptKeys)
          Delete the Concepts corresponding to specified Keys.
 BulkResponse deleteOrganizations(Collection organizationKeys)
          Delete the organizations corresponding to specified Keys.
 BulkResponse deleteServiceBindings(Collection interfaceKeys)
          Delete the ServiceInterfaceBindings corresponding to specified Keys.
 BulkResponse deleteServices(Collection serviceKeys)
          Delete the services corresponding to specified Keys.
 BulkResponse saveAssociations(Collection associations, boolean replace)
          Saves specified Association instances.
 BulkResponse saveClassificationSchemes(Collection schemes)
          Saves specified ClassificationScheme instances.
 BulkResponse saveConcepts(Collection concepts)
          Adds or updates (replaces) specified Concepts.
 BulkResponse saveOrganizations(Collection organizations)
          Adds or updates (replaces) specified Organizations.
 BulkResponse saveServiceBindings(Collection bindings)
          Adds or updates (replaces) specified ServiceInterfaceBindings.
 BulkResponse saveServices(Collection services)
          Adds or updates (replaces) specified Services.
 void unConfirmAssociation(Association association)
          Undoes a previous confirmation of this Association by the User associated with the caller.
 
Methods inherited from class com.sun.xml.registry.uddi.LifeCycleManagerImpl
createAssociation, createClassification, createClassification, createClassification, createClassificationScheme, createClassificationScheme, createClassificationScheme, createConcept, createConcept, createConceptEquivalence, createEmailAddress, createEmailAddress, createExternalIdentifier, createExternalIdentifier, createExternalLink, createExternalLink, createExtrinsicObject, createExtrinsicObject, createInternationalString, createInternationalString, createInternationalString, createKey, createLocalizedString, createLocalizedString, createObject, createOrganization, createOrganization, createPersonName, createPersonName, createPostalAddress, createRegistryPackage, createRegistryPackage, createService, createService, createServiceBinding, createSlot, createSlot, createSpecificationLink, createTelephoneNumber, createUser, deleteConceptEquivalence, deleteObjects, deleteObjects, deprecateObjects, getRegistryService, saveObjects, unDeprecateObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.registry.LifeCycleManager
createAssociation, createClassification, createClassification, createClassification, createClassificationScheme, createClassificationScheme, createClassificationScheme, createConcept, createConcept, createEmailAddress, createEmailAddress, createExternalIdentifier, createExternalIdentifier, createExternalLink, createExternalLink, createExtrinsicObject, createInternationalString, createInternationalString, createInternationalString, createKey, createLocalizedString, createLocalizedString, createObject, createOrganization, createOrganization, createPersonName, createPersonName, createPostalAddress, createRegistryPackage, createRegistryPackage, createService, createService, createServiceBinding, createSlot, createSlot, createSpecificationLink, createTelephoneNumber, createUser, deleteObjects, deleteObjects, deprecateObjects, getRegistryService, saveObjects, unDeprecateObjects
 

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.

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.

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


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.