Package com.sun.xml.registry.uddi
Class BusinessLifeCycleManagerImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.LifeCycleManagerImpl
-
- com.sun.xml.registry.uddi.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:
-
-
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
Constructors Constructor Description BusinessLifeCycleManagerImpl()BusinessLifeCycleManagerImpl(RegistryServiceImpl service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfirmAssociation(javax.xml.registry.infomodel.Association association)javax.xml.registry.BulkResponsedeleteAssociations(Collection schemeKeys)Delete the Associations corresponding to the specified Keys.javax.xml.registry.BulkResponsedeleteClassificationSchemes(Collection schemeKeys)Delete the ClassificationSchemes corresponding to the specified Keys.javax.xml.registry.BulkResponsedeleteConcepts(Collection conceptKeys)Delete the Concepts corresponding to specified Keys.javax.xml.registry.BulkResponsedeleteOrganizations(Collection organizationKeys)Delete the organizations corresponding to specified Keys.javax.xml.registry.BulkResponsedeleteServiceBindings(Collection interfaceKeys)Delete the ServiceInterfaceBindings corresponding to specified Keys.javax.xml.registry.BulkResponsedeleteServices(Collection serviceKeys)Delete the services corresponding to specified Keys.javax.xml.registry.BulkResponsesaveAssociations(Collection associations, boolean replace)Saves specified Association instances.javax.xml.registry.BulkResponsesaveClassificationSchemes(Collection schemes)Saves specified ClassificationScheme instances.javax.xml.registry.BulkResponsesaveConcepts(Collection concepts)Adds or updates (replaces) specified Concepts.javax.xml.registry.BulkResponsesaveOrganizations(Collection organizations)Adds or updates (replaces) specified Organizations.javax.xml.registry.BulkResponsesaveServiceBindings(Collection bindings)Adds or updates (replaces) specified ServiceInterfaceBindings.javax.xml.registry.BulkResponsesaveServices(Collection services)Adds or updates (replaces) specified Services.voidunConfirmAssociation(javax.xml.registry.infomodel.Association association)-
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 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:
saveOrganizationsin interfacejavax.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:
saveServicesin interfacejavax.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:
saveServiceBindingsin interfacejavax.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:
saveConceptsin interfacejavax.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:
saveClassificationSchemesin interfacejavax.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:
deleteOrganizationsin interfacejavax.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:
deleteServicesin interfacejavax.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:
deleteServiceBindingsin interfacejavax.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:
deleteConceptsin interfacejavax.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:
deleteClassificationSchemesin interfacejavax.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:
saveAssociationsin interfacejavax.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:
deleteAssociationsin interfacejavax.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:
confirmAssociationin interfacejavax.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:
unConfirmAssociationin interfacejavax.xml.registry.BusinessLifeCycleManager- Throws:
javax.xml.registry.JAXRException
-
-