Interface BusinessLifeCycleManager
- All Superinterfaces:
LifeCycleManager
- Author:
- Farrukh S. Najmi
- 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
confirmAssociation
(Association assoc) Confirms this Association by the User associated with the caller.deleteAssociations
(Collection associationKeys) Deletes the Associations corresponding to the specified Keys.deleteClassificationSchemes
(Collection schemeKeys) Deletes the ClassificationSchemes corresponding to the specified Keys.deleteConcepts
(Collection conceptKeys) Deletes the Concepts corresponding to the specified Keys.deleteOrganizations
(Collection organizationKeys) Deletes the organizations corresponding to the specified Keys.deleteServiceBindings
(Collection bindingKeys) Deletes the ServiceBindings corresponding to the specified Keys.deleteServices
(Collection serviceKeys) Deletes the services corresponding to the specified Keys.saveAssociations
(Collection associations, boolean replace) Saves the specified Association instances.saveClassificationSchemes
(Collection schemes) Saves the specified ClassificationScheme instances.saveConcepts
(Collection concepts) Saves the specified Concepts.saveOrganizations
(Collection organizations) Saves the specified Organizations.saveServiceBindings
(Collection bindings) Saves the specified ServiceBindings.saveServices
(Collection services) Saves the specified Services.void
unConfirmAssociation
(Association assoc) Undoes a previous confirmation of this Association by the User associated with the caller.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 Details
-
saveOrganizations
Saves the specified Organizations.If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.
Partial commits are allowed. Processing stops on first SaveException encountered.
- Capability Level: 0
- Parameters:
organizations
- the Collection of Organization objects to be saved- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
saveServices
Saves the specified Services.If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.
Partial commits are allowed. Processing stops on first SaveException encountered.
- Capability Level: 0
- Parameters:
services
- the Collection of Service objects to be saved- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
saveServiceBindings
Saves the specified ServiceBindings.If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.
Partial commits are allowed. Processing stops on first SaveException encountered.
- Capability Level: 0
- Parameters:
bindings
- the Collection of ServiceBinding objects to be saved- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
saveConcepts
Saves the specified Concepts.If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.
Partial commits are allowed. Processing stops on first SaveException encountered.
- Capability Level: 0
- Parameters:
concepts
- the Collection of Concept objects to be saved- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
saveClassificationSchemes
Saves the specified ClassificationScheme instances.If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.
Partial commits are allowed. Processing stops on first SaveException encountered.
- Capability Level: 0
- Parameters:
schemes
- the Collection of ClassificationScheme objects to be saved- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
saveAssociations
Saves the specified Association instances.If the object is not in the registry, it is created in the registry. If it already exists in the registry and has been modified, its state is updated (replaced) in the registry.
Partial commits are allowed. Processing stops on first SaveException encountered.
- Capability Level: 0
- Parameters:
associations
- the Collection of Association objects to be savedreplace
- If set to true, the specified associations replace any existing associations owned by the caller. If set to false, the specified associations are saved, while any existing associations not being updated by this call are preserved.- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
deleteOrganizations
Deletes the organizations corresponding to the specified Keys.Partial commits are allowed. Processing stops on first DeleteException encountered.
- Capability Level: 0
- Parameters:
organizationKeys
- the Collection of keys for the Organization objects to be deleted- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
deleteServices
Deletes the services corresponding to the specified Keys.Partial commits are allowed. Processing stops on first DeleteException encountered.
- Capability Level: 0
- Parameters:
serviceKeys
- the Collection of keys for the Service objects to be deleted- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
deleteServiceBindings
Deletes the ServiceBindings corresponding to the specified Keys.Partial commits are allowed. Processing stops on first DeleteException encountered.
- Capability Level: 0
- Parameters:
bindingKeys
- the Collection of keys for the ServiceBinding objects to be deleted- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
deleteConcepts
Deletes the Concepts corresponding to the specified Keys.Partial commits are allowed. Processing stops on first DeleteException encountered.
- Capability Level: 0
- Parameters:
conceptKeys
- the Collection of keys for the Concept objects to be deleted- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
deleteClassificationSchemes
Deletes the ClassificationSchemes corresponding to the specified Keys.Partial commits are allowed. Processing stops on first DeleteException encountered.
- Capability Level: 0
- Parameters:
schemeKeys
- the Collection of keys for the ClassificationScheme objects to be deleted- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
deleteAssociations
Deletes the Associations corresponding to the specified Keys.Partial commits are allowed. Processing stops on first DeleteException encountered.
- Capability Level: 0
- Parameters:
associationKeys
- the Collection of keys for the Association objects to be deleted- Returns:
- a 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 Jakarta XML Registries provider encounters an internal error
-
confirmAssociation
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.- If the Association is intramural, this method does nothing and returns.
- If the Association is extramural and already confirmed (isConfirmed returns true), this method does nothing and returns.
- If the Association is extramural and not already confirmed, this method confirms the association for the User associated with the caller.
The details of confirming an extramural Association are registry-specific. For UDDI and ebXML registries, the registry-specific details are described in the Jakarta XML Registries specification.
- Capability Level: 0
- Parameters:
assoc
- the Association object to be confirmed- Throws:
JAXRException
- if the Jakarta XML Registries provider encounters an internal errorInvalidRequestException
- if the User is not the owner of the sourceObject or the targetObject
-
unConfirmAssociation
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.- If the Association is intramural, this method does nothing and returns.
- If the Association is extramural and already confirmed (isConfirmed returns true), this method unconfirms it for the requestor.
- If the Association is extramural and not already confirmed, this method does nothing and returns.
The details of unconfirming an extramural Association are registry-specific. For UDDI and ebXML registries, the registry-specific details are described in the Jakarta XML Registries specification.
- Capability Level: 0
- Parameters:
assoc
- the Association object to be unconfirmed- Throws:
JAXRException
- if the Jakarta XML Registries provider encounters an internal errorInvalidRequestException
- if the User is not the owner of the sourceObject or the targetObject
-