javax.xml.registry
Interface BusinessLifeCycleManager

All Superinterfaces:
LifeCycleManager

public interface BusinessLifeCycleManager
extends LifeCycleManager

This is the interface exposed by the Registry Service that implements the life cycle management functionality of the Registry as part of a business level API. Note that there is no authentication information provided as the Connection interface keeps that state and context on behalf of the client.

See Also:
LifeCycleManager

Fields inherited from interface javax.xml.registry.LifeCycleManager
ASSOCIATION, AUDITABLE_EVENT, CLASSIFICATION, CLASSIFICATION_SCHEME, CONCEPT, EMAIL_ADDRESS, EXTENSIBLE_OBJECT, 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
 BulkResponse deleteAssociations(java.util.Collection schemeKeys)
          Delete the Associations corresponding to the specified Keys.
 BulkResponse deleteClassificationSchemes(java.util.Collection schemeKeys)
          Delete the ClassificationSchemes corresponding to the specified Keys.
 BulkResponse deleteConcepts(java.util.Collection conceptKeys)
          Delete the Concepts corresponding to the specified Keys.
 BulkResponse deleteOrganizations(java.util.Collection organizationKeys)
          Deletes the organizations corresponding to the specified Keys.
 BulkResponse deleteServiceBindings(java.util.Collection bindingKeys)
          Delete the ServiceBindings corresponding to the specified Keys.
 BulkResponse deleteServices(java.util.Collection serviceKeys)
          Delete the services corresponding to the specified Keys.
 BulkResponse saveAssociations(java.util.Collection associations, boolean replace)
          Saves specified Association instances.
 BulkResponse saveClassificationSchemes(java.util.Collection schemes)
          Saves specified ClassificationScheme instances.
 BulkResponse saveConcepts(java.util.Collection concepts)
          Saves specified Concepts.
 BulkResponse saveOrganizations(java.util.Collection organizations)
          Saves specified Organizations.
 BulkResponse saveServiceBindings(java.util.Collection bindings)
          Saves specified ServiceBindings.
 BulkResponse saveServices(java.util.Collection services)
          Saves specified Services.
 
Methods inherited from interface javax.xml.registry.LifeCycleManager
createAssociation, createClassification, createClassification, createClassificationScheme, createClassificationScheme, createConcept, createConceptEquivalence, createEmailAddress, createEmailAddress, createExternalIdentifier, createExternalLink, createExtrinsicObject, createInternationalString, createInternationalString, createInternationalString, createKey, createLocalizedString, createObject, createOrganization, createPersonName, createPersonName, createPostalAddress, createRegistryPackage, createService, createServiceBinding, createSlot, createSlot, createSpecificationLink, createTelephoneNumber, createUser, deleteConceptEquivalence, deleteObjects, deprecateObjects, saveObjects, unDeprecateObjects
 

Method Detail

saveOrganizations

public BulkResponse saveOrganizations(java.util.Collection organizations)
                               throws 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
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.

saveServices

public BulkResponse saveServices(java.util.Collection services)
                          throws 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
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.

saveServiceBindings

public BulkResponse saveServiceBindings(java.util.Collection bindings)
                                 throws 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
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.

saveConcepts

public BulkResponse saveConcepts(java.util.Collection concepts)
                          throws 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
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.

saveClassificationSchemes

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

saveAssociations

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

deleteOrganizations

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

Capability Level: 0
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.

deleteServices

public BulkResponse deleteServices(java.util.Collection serviceKeys)
                            throws JAXRException
Delete the services corresponding to the specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.

Capability Level: 0
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.

deleteServiceBindings

public BulkResponse deleteServiceBindings(java.util.Collection bindingKeys)
                                   throws JAXRException
Delete the ServiceBindings corresponding to the specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.

Capability Level: 0
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.

deleteConcepts

public BulkResponse deleteConcepts(java.util.Collection conceptKeys)
                            throws JAXRException
Delete the Concepts corresponding to the specified Keys. Partial commits are allowed. Processing stops on first DeleteException encountered.

Capability Level: 0
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.

deleteClassificationSchemes

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

deleteAssociations

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