|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BusinessLifeCycleManager
The BusinessLifeCycleManager interface, which is exposed by the Registry Service, implements the life cycle management functionality of the Registry as part of a business level API. Note that there is no authentication information provided, because the Connection interface keeps that state and context on behalf of the client.
LifeCycleManager
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(Association assoc)
Confirms this Association by the User associated with the caller. |
BulkResponse |
deleteAssociations(java.util.Collection associationKeys)
Deletes the Associations corresponding to the specified Keys. |
BulkResponse |
deleteClassificationSchemes(java.util.Collection schemeKeys)
Deletes the ClassificationSchemes corresponding to the specified Keys. |
BulkResponse |
deleteConcepts(java.util.Collection conceptKeys)
Deletes 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)
Deletes the ServiceBindings corresponding to the specified Keys. |
BulkResponse |
deleteServices(java.util.Collection serviceKeys)
Deletes the services corresponding to the specified Keys. |
BulkResponse |
saveAssociations(java.util.Collection associations,
boolean replace)
Saves the specified Association instances. |
BulkResponse |
saveClassificationSchemes(java.util.Collection schemes)
Saves the specified ClassificationScheme instances. |
BulkResponse |
saveConcepts(java.util.Collection concepts)
Saves the specified Concepts. |
BulkResponse |
saveOrganizations(java.util.Collection organizations)
Saves the specified Organizations. |
BulkResponse |
saveServiceBindings(java.util.Collection bindings)
Saves the specified ServiceBindings. |
BulkResponse |
saveServices(java.util.Collection services)
Saves the specified Services. |
void |
unConfirmAssociation(Association assoc)
Undoes a previous confirmation of this Association by the User associated with the caller. |
Method Detail |
---|
BulkResponse saveOrganizations(java.util.Collection organizations) throws JAXRException
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.
organizations
- the Collection of Organization objects to be saved
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse saveServices(java.util.Collection services) throws JAXRException
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.
services
- the Collection of Service objects to be saved
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse saveServiceBindings(java.util.Collection bindings) throws JAXRException
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.
bindings
- the Collection of ServiceBinding objects to be saved
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse saveConcepts(java.util.Collection concepts) throws JAXRException
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.
concepts
- the Collection of Concept objects to be saved
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse saveClassificationSchemes(java.util.Collection schemes) throws JAXRException
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.
schemes
- the Collection of ClassificationScheme objects to be saved
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse saveAssociations(java.util.Collection associations, boolean replace) throws JAXRException
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.
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.
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse deleteOrganizations(java.util.Collection organizationKeys) throws JAXRException
Partial commits are allowed. Processing stops on first DeleteException encountered.
organizationKeys
- the Collection of keys for the Organization objects to be deleted
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse deleteServices(java.util.Collection serviceKeys) throws JAXRException
Partial commits are allowed. Processing stops on first DeleteException encountered.
serviceKeys
- the Collection of keys for the Service objects to be deleted
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse deleteServiceBindings(java.util.Collection bindingKeys) throws JAXRException
Partial commits are allowed. Processing stops on first DeleteException encountered.
bindingKeys
- the Collection of keys for the ServiceBinding objects to be deleted
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse deleteConcepts(java.util.Collection conceptKeys) throws JAXRException
Partial commits are allowed. Processing stops on first DeleteException encountered.
conceptKeys
- the Collection of keys for the Concept objects to be deleted
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse deleteClassificationSchemes(java.util.Collection schemeKeys) throws JAXRException
Partial commits are allowed. Processing stops on first DeleteException encountered.
schemeKeys
- the Collection of keys for the ClassificationScheme objects to be deleted
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse deleteAssociations(java.util.Collection associationKeys) throws JAXRException
Partial commits are allowed. Processing stops on first DeleteException encountered.
associationKeys
- the Collection of keys for the Association objects to be deleted
JAXRException
- if the JAXR provider encounters an internal errorvoid confirmAssociation(Association assoc) throws JAXRException, InvalidRequestException
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.
assoc
- the Association object to be confirmed
JAXRException
- if the JAXR provider encounters an internal error
InvalidRequestException
- if the User is not the owner of the
sourceObject or the targetObjectvoid unConfirmAssociation(Association assoc) throws JAXRException, InvalidRequestException
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.
assoc
- the Association object to be unconfirmed
JAXRException
- if the JAXR provider encounters an internal error
InvalidRequestException
- if the User is not the owner of the
sourceObject or the targetObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41