Interface LifeCycleManager
- All Known Subinterfaces:
BusinessLifeCycleManager
The factory methods of this interface must throw an UnsupportedCapabilityException if the client attempts to create an instance of an infomodel interface that is not supported by the capability level of the Jakarta XML Registries provider.
- Author:
- Farrukh S. Najmi
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant representing the javax.xml.registry.infomodel.Association interface.static final StringConstant representing the javax.xml.registry.infomodel.AuditableEvent interface.static final StringConstant representing the javax.xml.registry.infomodel.Classification interface.static final StringConstant representing the javax.xml.registry.infomodel.ClassificationScheme interface.static final StringConstant representing the javax.xml.registry.infomodel.Concept interface.static final StringConstant representing the javax.xml.registry.infomodel.EmailAddress interface.static final StringConstant representing the javax.xml.registry.infomodel.ExternalIdentifier interface.static final StringConstant representing the javax.xml.registry.infomodel.ExternalLink interface.static final StringConstant representing the javax.xml.registry.infomodel.ExternalLink interface.static final StringConstant representing the javax.xml.registry.infomodel.InternationalString interface.static final StringConstant representing the javax.xml.registry.infomodel.Key interface.static final StringConstant representing the javax.xml.registry.infomodel.LocalizedString interface.static final StringConstant representing the javax.xml.registry.infomodel.Organization interface.static final StringConstant representing the javax.xml.registry.infomodel.PersonName interface.static final StringConstant representing the javax.xml.registry.infomodel.PostalAddress interface.static final StringConstant representing the javax.xml.registry.infomodel.RegistryEntry interface.static final StringConstant representing the javax.xml.registry.infomodel.RegistryPackage interface.static final StringConstant representing the javax.xml.registry.infomodel.Service interface.static final StringConstant representing the javax.xml.registry.infomodel.ServiceBinding interface.static final StringConstant representing the javax.xml.registry.infomodel.Slot interface.static final StringConstant representing the javax.xml.registry.infomodel.SpecificationLink interface.static final StringConstant representing the javax.xml.registry.infomodel.TelephoneNumber interface.static final StringConstant representing the javax.xml.registry.infomodel.User interface.static final StringConstant representing the javax.xml.registry.infomodel.Versionable interface. -
Method Summary
Modifier and TypeMethodDescriptioncreateAssociation(RegistryObject targetObject, Concept associationType) Creates an Association instance using the specified parameters.createClassification(ClassificationScheme scheme, String name, String value) Creates a Classification instance for an external Classification using the specified String name and String value that identify a taxonomy element within the specified ClassificationScheme.createClassification(ClassificationScheme scheme, InternationalString name, String value) Creates a Classification instance for an external Classification using the specified InternationalString name and String value that identify a taxonomy element within the specified ClassificationScheme.createClassification(Concept concept) Creates a Classification instance for an internal Classification using the specified Concept that identifies a taxonomy element within an internal ClassificationScheme.createClassificationScheme(String name, String description) Creates a ClassificationScheme given the specified String parameters.createClassificationScheme(Concept concept) Creates a ClassificationScheme from a Concept that has no ClassificationScheme or parent Concept.createClassificationScheme(InternationalString name, InternationalString description) Creates a ClassificationScheme given the specified InternationalString parameters.createConcept(RegistryObject parent, String name, String value) Creates a Concept instance using the specified parameters, where the name is a String.createConcept(RegistryObject parent, InternationalString name, String value) Creates a Concept instance using the specified parameters, where the name is an InternationalString.createEmailAddress(String address) Creates an EmailAddress instance using an address as the parameter.createEmailAddress(String address, String type) Creates an EmailAddress instance using both an address and a type as parameters.createExternalIdentifier(ClassificationScheme identificationScheme, String name, String value) Creates an ExternalIdentifier instance using the specified parameters, where the name is a String.createExternalIdentifier(ClassificationScheme identificationScheme, InternationalString name, String value) Creates an ExternalIdentifier instance using the specified parameters, where the name is an InternationalString.createExternalLink(String externalURI, String description) Creates an ExternalLink instance using the specified parameters, where the description is a String.createExternalLink(String externalURI, InternationalString description) Creates an ExternalLink instance using the specified parameters, where the description is an InternationalString.createExtrinsicObject(javax.activation.DataHandler repositoryItem) Creates an ExtrinsicObject instance using the specified parameters.Creates an empty InternationalString instance.Creates an InternationalString instance using a String parameter and the default Locale.Creates an InternationalString instance using the specified Locale and String parameters.Creates a Key instance from an ID.Creates a LocalizedString instance using the specified Locale and String parameters.createLocalizedString(Locale l, String s, String charSetName) Creates a LocalizedString instance using the specified Locale, String, and character set parameters.createObject(String interfaceName) Creates instances of information model interfaces (factory method).createOrganization(String name) Creates an Organization instance using the specified name, where the name is a String.Creates an Organization instance using the specified name, where the name is an InternationalString.createPersonName(String fullName) Creates a PersonName instance using the specified full name.createPersonName(String firstName, String middleName, String lastName) Creates a PersonName instance using the specified first, middle, and last names.createPostalAddress(String streetNumber, String street, String city, String stateOrProvince, String country, String postalCode, String type) Creates a PostalAddress instance using the specified parameters.createRegistryPackage(String name) Creates a RegistryPackage instance using the specified name, where the name is a String.Creates a RegistryPackage instance using the specified name, where the name is an InternationalString.createService(String name) Creates a Service instance using the specified name, where the name is a String.Creates a Service instance using the specified name, where the name is an InternationalString.Creates an empty ServiceBinding instance.createSlot(String name, String value, String slotType) Creates a Slot instance using the specified parameters, where the value is a String.createSlot(String name, Collection values, String slotType) Creates a Slot instance using the specified parameters, where the value is a Collection of Strings.Creates an empty SpecificationLink instance.Creates an empty TelephoneNumber instance.Creates an empty User instance.deleteObjects(Collection keys) Deletes one or more previously submitted objects from the registry using the object keys.deleteObjects(Collection keys, String objectType) Deletes one or more previously submitted objects from the registry using the object keys and a specified objectType attribute.deprecateObjects(Collection keys) Deprecates one or more previously submitted objects.Returns the parent RegistryService that created this object.saveObjects(Collection objects) Saves one or more Objects to the registry.unDeprecateObjects(Collection keys) Undeprecates one or more previously deprecated objects.
-
Field Details
-
ASSOCIATION
Constant representing the javax.xml.registry.infomodel.Association interface. -
AUDITABLE_EVENT
Constant representing the javax.xml.registry.infomodel.AuditableEvent interface. -
CLASSIFICATION
Constant representing the javax.xml.registry.infomodel.Classification interface. -
CLASSIFICATION_SCHEME
Constant representing the javax.xml.registry.infomodel.ClassificationScheme interface. -
CONCEPT
Constant representing the javax.xml.registry.infomodel.Concept interface. -
EMAIL_ADDRESS
Constant representing the javax.xml.registry.infomodel.EmailAddress interface. -
EXTERNAL_IDENTIFIER
Constant representing the javax.xml.registry.infomodel.ExternalIdentifier interface. -
EXTERNAL_LINK
Constant representing the javax.xml.registry.infomodel.ExternalLink interface. -
EXTRINSIC_OBJECT
Constant representing the javax.xml.registry.infomodel.ExternalLink interface. -
INTERNATIONAL_STRING
Constant representing the javax.xml.registry.infomodel.InternationalString interface. -
KEY
Constant representing the javax.xml.registry.infomodel.Key interface. -
LOCALIZED_STRING
Constant representing the javax.xml.registry.infomodel.LocalizedString interface. -
ORGANIZATION
Constant representing the javax.xml.registry.infomodel.Organization interface. -
PERSON_NAME
Constant representing the javax.xml.registry.infomodel.PersonName interface. -
POSTAL_ADDRESS
Constant representing the javax.xml.registry.infomodel.PostalAddress interface. -
REGISTRY_ENTRY
Constant representing the javax.xml.registry.infomodel.RegistryEntry interface. -
REGISTRY_PACKAGE
Constant representing the javax.xml.registry.infomodel.RegistryPackage interface. -
SERVICE
Constant representing the javax.xml.registry.infomodel.Service interface. -
SERVICE_BINDING
Constant representing the javax.xml.registry.infomodel.ServiceBinding interface. -
SLOT
Constant representing the javax.xml.registry.infomodel.Slot interface. -
SPECIFICATION_LINK
Constant representing the javax.xml.registry.infomodel.SpecificationLink interface. -
TELEPHONE_NUMBER
Constant representing the javax.xml.registry.infomodel.TelephoneNumber interface. -
USER
Constant representing the javax.xml.registry.infomodel.User interface. -
VERSIONABLE
Constant representing the javax.xml.registry.infomodel.Versionable interface.
-
-
Method Details
-
createObject
Object createObject(String interfaceName) throws JAXRException, InvalidRequestException, UnsupportedCapabilityException Creates instances of information model interfaces (factory method). To create an Organization, use this method as follows:Organization org = (Organization) lifeCycleMgr.createObject(LifeCycleManager.ORGANIZATION);- Capability Level: 0
- Parameters:
interfaceName- the unqualified name of an interface in the javax.xml.registry.infomodel package- Returns:
- an Object that can then be cast to an instance of the interface
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal errorInvalidRequestException- if the interface is not an interface in the javax.xml.registry.infomodel packageUnsupportedCapabilityException- if the client attempts to create an instance of an infomodel interface that is not supported by the capability level of the Jakarta XML Registries provider
-
createAssociation
Association createAssociation(RegistryObject targetObject, Concept associationType) throws JAXRException Creates an Association instance using the specified parameters. The sourceObject is left null and will be set when the Association is added to a RegistryObject.Note that for a UDDI provider an Association may only be created between Organizations.
- Capability Level: 0
- Parameters:
targetObject- the target RegistryObject for the associationassociationType- the association type for the Association- Returns:
- the Association instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createClassification
Classification createClassification(ClassificationScheme scheme, String name, String value) throws JAXRException Creates a Classification instance for an external Classification using the specified String name and String value that identify a taxonomy element within the specified ClassificationScheme.- Capability Level: 0
- Parameters:
scheme- the ClassificationScheme to be usedname- the name of the taxonomy element (a String)value- the value of the taxonomy element- Returns:
- the Classification instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createClassification
Classification createClassification(ClassificationScheme scheme, InternationalString name, String value) throws JAXRException Creates a Classification instance for an external Classification using the specified InternationalString name and String value that identify a taxonomy element within the specified ClassificationScheme.- Capability Level: 0
- Parameters:
scheme- the ClassificationScheme to be usedname- the name of the taxonomy element (an InternationalString)value- the value of the taxonomy element- Returns:
- the Classification instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createClassification
Creates a Classification instance for an internal Classification using the specified Concept that identifies a taxonomy element within an internal ClassificationScheme.- Capability Level: 0
- Parameters:
concept- the Concept that identifies the taxonomy element- Returns:
- the Classification instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal errorInvalidRequestException- if the Concept is not under a ClassificationScheme
-
createClassificationScheme
ClassificationScheme createClassificationScheme(String name, String description) throws JAXRException, InvalidRequestException Creates a ClassificationScheme given the specified String parameters.- Capability Level: 0
- Parameters:
name- the name of the ClassificationScheme (a String)description- a description of the ClassificationScheme (a String)- Returns:
- the ClassificationScheme instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal errorInvalidRequestException- if the request was invalid
-
createClassificationScheme
ClassificationScheme createClassificationScheme(InternationalString name, InternationalString description) throws JAXRException, InvalidRequestException Creates a ClassificationScheme given the specified InternationalString parameters.- Capability Level: 0
- Parameters:
name- the name of the ClassificationScheme (an InternationalString)description- a description of the ClassificationScheme (an InternationalString)- Returns:
- the ClassificationScheme instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal errorInvalidRequestException- if the request was invalid
-
createClassificationScheme
ClassificationScheme createClassificationScheme(Concept concept) throws JAXRException, InvalidRequestException Creates a ClassificationScheme from a Concept that has no ClassificationScheme or parent Concept.This method is a special-case method to do a type-safe conversion from Concept to ClassificationScheme.
This method is provided to allow for Concepts returned by the BusinessQueryManager findConcepts call to be safely cast to ClassificationScheme. It is up to the programmer to make sure that the Concept is indeed semantically a ClassificationScheme.
This method is necessary because in the UDDI specification a tModel may serve multiple purposes, and there is no way to know when a tModel maps to a Concept and when it maps to a ClassificationScheme. The UDDI specification leaves the determination to the programmer, and consequently so does this method.
- Capability Level: 0
- Parameters:
concept- the Concept to be used- Returns:
- the ClassificationScheme instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal errorInvalidRequestException- if the Concept has a parent Concept or is under a ClassificationScheme
-
createConcept
Creates a Concept instance using the specified parameters, where the name is a String.- Capability Level: 0
- Parameters:
parent- a reference either to a parent ClassificationScheme or to a Conceptname- the name of the concept (a String)value- the value of the concept- Returns:
- the Concept instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createConcept
Concept createConcept(RegistryObject parent, InternationalString name, String value) throws JAXRException Creates a Concept instance using the specified parameters, where the name is an InternationalString.- Capability Level: 0
- Parameters:
parent- a reference either to a parent ClassificationScheme or to a Conceptname- the name of the concept (an InternationalString)value- the value of the concept- Returns:
- the Concept instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createEmailAddress
Creates an EmailAddress instance using an address as the parameter.- Capability Level: 0
- Parameters:
address- the email address- Returns:
- the EmailAddress instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createEmailAddress
Creates an EmailAddress instance using both an address and a type as parameters.- Capability Level: 0
- Parameters:
address- the email addresstype- the type of the address- Returns:
- the EmailAddress instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createExternalIdentifier
ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, String name, String value) throws JAXRException Creates an ExternalIdentifier instance using the specified parameters, where the name is a String.- Capability Level: 0
- Parameters:
identificationScheme- the ClassificationScheme usedname- the name of the external identifier (a String)value- the value of the external identifier- Returns:
- the ExternalIdentifier instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createExternalIdentifier
ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, InternationalString name, String value) throws JAXRException Creates an ExternalIdentifier instance using the specified parameters, where the name is an InternationalString.- Capability Level: 0
- Parameters:
identificationScheme- the ClassificationScheme usedname- the name of the external identifier (an InternationalString)value- the value of the external identifier- Returns:
- the ExternalIdentifier instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createExternalLink
Creates an ExternalLink instance using the specified parameters, where the description is a String.- Capability Level: 0
- Parameters:
externalURI- the external URIdescription- a description of the link (a String)- Returns:
- the ExternalLink instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createExternalLink
ExternalLink createExternalLink(String externalURI, InternationalString description) throws JAXRException Creates an ExternalLink instance using the specified parameters, where the description is an InternationalString.- Capability Level: 0
- Parameters:
externalURI- the external URIdescription- a description of the link (an InternationalString)- Returns:
- the ExternalLink instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createExtrinsicObject
ExtrinsicObject createExtrinsicObject(javax.activation.DataHandler repositoryItem) throws JAXRException Creates an ExtrinsicObject instance using the specified parameters.- Capability Level: 1
- Parameters:
repositoryItem- the DataHandler for the repository item. Must not be null.- Returns:
- the ExtrinsicObject instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createInternationalString
Creates an empty InternationalString instance.- Capability Level: 0
- Returns:
- the InternationalString instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createInternationalString
Creates an InternationalString instance using a String parameter and the default Locale.- Capability Level: 0
- Parameters:
s- the String from which to create the InternationalString- Returns:
- the InternationalString instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createInternationalString
Creates an InternationalString instance using the specified Locale and String parameters.- Capability Level: 0
- Parameters:
l- the Locale in which to create the InternationalStrings- the String from which to create the InternationalString- Returns:
- the InternationalString instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createKey
Creates a Key instance from an ID.- Capability Level: 0
- Parameters:
id- the ID string from which to create the Key- Returns:
- the Key instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createLocalizedString
Creates a LocalizedString instance using the specified Locale and String parameters.- Capability Level: 0
- Parameters:
l- the Locale in which to create the LocalizedStrings- the String from which to create the LocalizedString- Returns:
- the LocalizedString instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createLocalizedString
Creates a LocalizedString instance using the specified Locale, String, and character set parameters.- Capability Level: 0
- Parameters:
l- the Locale in which to create the LocalizedStrings- the String from which to create the LocalizedStringcharSetName- the name of the character set to use- Returns:
- the LocalizedString instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createOrganization
Creates an Organization instance using the specified name, where the name is a String.- Capability Level: 0
- Parameters:
name- the name of the Organization- Returns:
- the Organization instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createOrganization
Creates an Organization instance using the specified name, where the name is an InternationalString.- Capability Level: 0
- Parameters:
name- the name of the Organization- Returns:
- the Organization instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createPersonName
PersonName createPersonName(String firstName, String middleName, String lastName) throws JAXRException Creates a PersonName instance using the specified first, middle, and last names.- Capability Level: 1
- Parameters:
firstName- the person's first namemiddleName- the person's middle namelastName- the person's last name- Returns:
- the PersonName instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createPersonName
Creates a PersonName instance using the specified full name.- Capability Level: 0
- Parameters:
fullName- the person's full name- Returns:
- the PersonName instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createPostalAddress
PostalAddress createPostalAddress(String streetNumber, String street, String city, String stateOrProvince, String country, String postalCode, String type) throws JAXRException Creates a PostalAddress instance using the specified parameters.- Capability Level: 0
- Parameters:
streetNumber- the street numberstreet- the street namecity- the city namestateOrProvince- the state or province namecountry- the country namepostalCode- the postal code (such as a US ZIP code)type- the type of the address- Returns:
- the PostalAddress instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createRegistryPackage
Creates a RegistryPackage instance using the specified name, where the name is a String.- Capability Level: 1
- Parameters:
name- the name of the registry package (a String)- Returns:
- the RegistryPackage instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createRegistryPackage
Creates a RegistryPackage instance using the specified name, where the name is an InternationalString.- Capability Level: 1
- Parameters:
name- the name of the registry package (an InternationalString)- Returns:
- the RegistryPackage instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createService
Creates a Service instance using the specified name, where the name is a String.- Capability Level: 0
- Parameters:
name- the name of the Service (a String)- Returns:
- the Service instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createService
Creates a Service instance using the specified name, where the name is an InternationalString.- Capability Level: 0
- Parameters:
name- the name of the Service (an InternationalString)- Returns:
- the Service instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createServiceBinding
Creates an empty ServiceBinding instance.- Capability Level: 0
- Returns:
- the ServiceBinding instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createSlot
Creates a Slot instance using the specified parameters, where the value is a String.- Capability Level: 0
- Parameters:
name- the name of the Slotvalue- the value (a String)slotType- the slot type- Returns:
- the Slot instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createSlot
Creates a Slot instance using the specified parameters, where the value is a Collection of Strings.- Capability Level: 0
- Parameters:
name- the name of the Slotvalues- the value (a Collection of Strings)slotType- the slot type- Returns:
- the Slot instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createSpecificationLink
Creates an empty SpecificationLink instance.- Capability Level: 0
- Returns:
- the SpecificationLink instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createTelephoneNumber
Creates an empty TelephoneNumber instance.- Capability Level: 0
- Returns:
- the TelephoneNumber instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
createUser
Creates an empty User instance.- Capability Level: 0
- Returns:
- the User instance created
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
saveObjects
Saves one or more Objects to the registry. An object may be a RegistryObject subclass instance.If an object is not in the registry, 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.
- Capability Level: 0
- Parameters:
objects- a potentially heterogeneous Collection of RegistryObject instances- 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
-
deprecateObjects
Deprecates one or more previously submitted objects. Deprecation marks an object as "soon to be deleted". Once an object is deprecated, the Jakarta XML Registries provider must not allow any new references (e.g. new Associations, Classifications and ExternalLinks) to that object to be submitted. If a client makes an API call that results in a new reference to a deprecated object, the Jakarta XML Registries provider must throw a java.lang.IllegalStateException within a JAXRException. However, existing references to a deprecated object continue to function normally.- Capability Level: 1
- Parameters:
keys- a Collection of keys for the objects to be deprecated- Returns:
- a BulkResponse containing the Collection of keys for those objects that were deprecated successfully and any JAXRException that was encountered in case of partial commit
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
unDeprecateObjects
Undeprecates one or more previously deprecated objects. If an object was not previously deprecated, it is not an error, and no exception is thrown. Once an object is undeprecated, the Jakarta XML Registries provider must again allow new references (e.g. new Associations, Classifications and ExternalLinks) to that object to be submitted.- Capability Level: 1
- Parameters:
keys- a Collection of keys for the objects to be undeprecated- Returns:
- a BulkResponse containing the Collection of keys for those objects that were deprecated successfully and any JAXRException that was encountered in case of partial commit
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error
-
deleteObjects
Deletes one or more previously submitted objects from the registry using the object keys.- Capability Level: 1
- Parameters:
keys- a Collection of keys for the 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
-
deleteObjects
Deletes one or more previously submitted objects from the registry using the object keys and a specified objectType attribute.- Capability Level: 0
- Parameters:
keys- a Collection of keys for the objects to be deletedobjectType- the objectType attribute for the 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
-
getRegistryService
Returns the parent RegistryService that created this object.- Capability Level: 0
- Returns:
- the parent RegistryService
- Throws:
JAXRException- if the Jakarta XML Registries provider encounters an internal error- See Also:
-