com.sun.xml.registry.ebxml
Class BusinessLifeCycleManagerImpl

java.lang.Object
  extended bycom.sun.xml.registry.ebxml.LifeCycleManagerImpl
      extended bycom.sun.xml.registry.ebxml.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


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
 
Method Summary
 void confirmAssociation(javax.xml.registry.infomodel.Association association)
           
 javax.xml.registry.BulkResponse deleteAssociations(java.util.Collection assKeys)
          Delete the Associations corresponding to the specified Keys.
 javax.xml.registry.BulkResponse deleteClassificationSchemes(java.util.Collection schemeKeys)
          Delete the ClassificationSchemes corresponding to the specified Keys.
 javax.xml.registry.BulkResponse deleteConcepts(java.util.Collection conceptKeys)
          Delete the Concepts corresponding to the specified Keys.
 javax.xml.registry.BulkResponse deleteOrganizations(java.util.Collection organizationKeys)
          Deletes the organizations corresponding to the specified Keys.
 javax.xml.registry.BulkResponse deleteServiceBindings(java.util.Collection bindingKeys)
          Delete the ServiceBindings corresponding to the specified Keys.
 javax.xml.registry.BulkResponse deleteServices(java.util.Collection serviceKeys)
          Delete the services corresponding to the specified Keys.
 javax.xml.registry.BulkResponse saveAssociations(java.util.Collection associations, boolean replace)
          Saves specified Association instances.
 javax.xml.registry.BulkResponse saveClassificationSchemes(java.util.Collection schemes)
          Saves specified ClassificationScheme instances.
 javax.xml.registry.BulkResponse saveConcepts(java.util.Collection concepts)
          Saves specified Concepts.
 javax.xml.registry.BulkResponse saveOrganizations(java.util.Collection organizations)
          Saves specified Organizations.
 javax.xml.registry.BulkResponse saveServiceBindings(java.util.Collection bindings)
          Saves specified ServiceBindings.
 javax.xml.registry.BulkResponse saveServices(java.util.Collection services)
          Saves specified Services.
 void unConfirmAssociation(javax.xml.registry.infomodel.Association association)
           
 
Methods inherited from class com.sun.xml.registry.ebxml.LifeCycleManagerImpl
addModifiedObject, createAssociation, createClassification, createClassification, createClassification, createClassificationScheme, createClassificationScheme, createClassificationScheme, createConcept, createConcept, createConceptEquivalence, createEmailAddress, createEmailAddress, createExternalIdentifier, createExternalIdentifier, createExternalLink, createExternalLink, createExtrinsicObject, createExtrinsicObject, createId, createInternationalString, createInternationalString, createInternationalString, createKey, createKey, createLocalizedString, createLocalizedString, createObject, createOrganization, createOrganization, createPersonName, createPersonName, createPostalAddress, createRegistryPackage, createRegistryPackage, createService, createService, createServiceBinding, createSlot, createSlot, createSpecificationLink, createTelephoneNumber, createUser, deleteConceptEquivalence, deleteObjects, deleteObjects, deprecateObjects, getObjectTypesMap, getRegistryService, processObject, processRegistryObject, processRegistryObjectRef, removeModifiedObject, saveAllObjects, 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
 

Method Detail

saveOrganizations

public javax.xml.registry.BulkResponse saveOrganizations(java.util.Collection organizations)
                                                  throws javax.xml.registry.JAXRException
Saves specified Organizations. 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:
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(java.util.Collection services)
                                             throws javax.xml.registry.JAXRException
Saves specified Services. 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:
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(java.util.Collection bindings)
                                                    throws javax.xml.registry.JAXRException
Saves specified ServiceBindings. 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:
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(java.util.Collection concepts)
                                             throws javax.xml.registry.JAXRException
Saves specified Concepts. 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:
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(java.util.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

saveAssociations

public javax.xml.registry.BulkResponse saveAssociations(java.util.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

deleteOrganizations

public javax.xml.registry.BulkResponse deleteOrganizations(java.util.Collection organizationKeys)
                                                    throws javax.xml.registry.JAXRException
Deletes the organizations corresponding to the specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.

Capability Level: 0

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(java.util.Collection serviceKeys)
                                               throws javax.xml.registry.JAXRException
Delete the services corresponding to the specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.

Capability Level: 0

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(java.util.Collection bindingKeys)
                                                      throws javax.xml.registry.JAXRException
Delete the ServiceBindings corresponding to the specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.

Capability Level: 0

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(java.util.Collection conceptKeys)
                                               throws javax.xml.registry.JAXRException
Delete the Concepts corresponding to the specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.

Capability Level: 0

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(java.util.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

deleteAssociations

public javax.xml.registry.BulkResponse deleteAssociations(java.util.Collection assKeys)
                                                   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,
                               javax.xml.registry.InvalidRequestException
Specified by:
confirmAssociation in interface javax.xml.registry.BusinessLifeCycleManager
Throws:
javax.xml.registry.JAXRException
javax.xml.registry.InvalidRequestException

unConfirmAssociation

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


Copyright © 2001-2004 OASIS. All Rights Reserved.