public class LifeCycleManagerImpl extends Object implements 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| Constructor and Description |
|---|
LifeCycleManagerImpl() |
LifeCycleManagerImpl(RegistryServiceImpl service) |
| Modifier and Type | Method and Description |
|---|---|
Association |
createAssociation(RegistryObject targetObject,
Concept associationType)
Create an Association instance using the specified
parameters.
|
Classification |
createClassification(ClassificationScheme classificationScheme,
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.
|
Classification |
createClassification(ClassificationScheme scheme,
String name,
String value)
Create a Classification instance for an external
Classification using the specified name and value that identifies
a taxonomy element within specified ClassificationScheme.
|
Classification |
createClassification(Concept concept)
Create a Classification instance for an internal
Classification using the specified Concept which identifies
a taxonomy element within an internal ClassificationScheme.
|
ClassificationScheme |
createClassificationScheme(Concept concept)
Creates a ClassificationScheme from a Concept that has no
ClassificationScheme or parent Concept.
|
ClassificationScheme |
createClassificationScheme(InternationalString name,
InternationalString description)
Creates a ClassificationScheme given the specified
InternationalString parameters.
|
ClassificationScheme |
createClassificationScheme(String name,
String description)
Creates a ClassificationScheme given the specified String parameters.
|
Concept |
createConcept(RegistryObject parent,
InternationalString name,
String value)
Creates a Concept instance using the specified
parameters, where the name is an InternationalString.
|
Concept |
createConcept(RegistryObject parent,
String name,
String value)
Creates a Concept instance using the specified
parameters, where the name is a String.
|
void |
createConceptEquivalence(Concept concept1,
Concept concept2)
Create a semantic equivalence between the two specified Concepts.
|
EmailAddress |
createEmailAddress(String address)
Creates an EmailAddress instance using an address as the
parameter.
|
EmailAddress |
createEmailAddress(String address,
String type)
Creates an EmailAddress instance using both an address and a type as
parameters.
|
ExternalIdentifier |
createExternalIdentifier(ClassificationScheme identificationScheme,
InternationalString name,
String value)
Creates an ExternalIdentifier instance using the specified
parameters, where the name is an InternationalString.
|
ExternalIdentifier |
createExternalIdentifier(ClassificationScheme identificationScheme,
String name,
String value)
Create an ExternalIdentifier instance using the specified
parameters.
|
ExternalLink |
createExternalLink(String externalURI,
InternationalString description)
Creates an ExternalLink instance using the specified
parameters, where the description is an InternationalString.
|
ExternalLink |
createExternalLink(String externalURI,
String description)
Create an ExternalLink instance using the specified
parameters.
|
ExtrinsicObject |
createExtrinsicObject()
Level 1 method
|
ExtrinsicObject |
createExtrinsicObject(DataHandler repositoryItem)
Level 1 method
|
InternationalString |
createInternationalString()
Creates an empty InternationalString instance.
|
InternationalString |
createInternationalString(Locale locale,
String str)
Creates an InternationalString instance using the specified
Locale and String parameters.
|
InternationalString |
createInternationalString(String str)
Creates an InternationalString instance using a String
parameter and the default Locale.
|
Key |
createKey(String id)
Create a Key instance using the specified
parameters.
|
LocalizedString |
createLocalizedString(Locale locale,
String str)
Creates a LocalizedString instance using the specified
Locale and String parameters.
|
LocalizedString |
createLocalizedString(Locale locale,
String s,
String charsetName)
Creates a LocalizedString instance using the specified
Locale, String, and character set parameters.
|
Object |
createObject(String className)
Factory method for creating instances of information model
interfaces.
|
Organization |
createOrganization(InternationalString name)
Creates an Organization instance using the specified
name, where the name is an InternationalString.
|
Organization |
createOrganization(String name)
Creates an Organization instance using the specified
name, where the name is a String.
|
PersonName |
createPersonName(String fullName)
Create a PersonName instance using the specified
parameters.
|
PersonName |
createPersonName(String firstName,
String middleName,
String lastName)
Level 1 method
|
PostalAddress |
createPostalAddress(String streetNumber,
String street,
String city,
String stateOrProvince,
String country,
String postalCode,
String type)
Create a PostalAddress instance using the specified
parameters.
|
RegistryPackage |
createRegistryPackage(InternationalString internationalString)
Level 1 method
|
RegistryPackage |
createRegistryPackage(String name)
Level 1 method
|
Service |
createService(InternationalString name)
Creates a Service instance using the specified
name, where the name is an InternationalString.
|
Service |
createService(String name)
Creates a Service instance using the specified
name, where the name is a String.
|
ServiceBinding |
createServiceBinding()
Creates an empty ServiceBinding instance.
|
Slot |
createSlot(String name,
Collection values,
String slotType)
Create a Slot instance using the specified
parameters.
|
Slot |
createSlot(String name,
String value,
String slotType)
Create a Slot instance using the specified
parameters.
|
SpecificationLink |
createSpecificationLink()
Creates an empty SpecificationLink instance.
|
TelephoneNumber |
createTelephoneNumber()
Creates an empty TelephoneNumber instance.
|
User |
createUser()
Creates an empty User instance.
|
void |
deleteConceptEquivalence(Concept concept1,
Concept concept2)
Removes the semantic equivalence, if any, between the specified two Concepts.
|
BulkResponse |
deleteObjects(Collection keys)
Deletes one or more previously submitted objects from the registry.
|
BulkResponse |
deleteObjects(Collection keys,
String objectType)
Deletes one or more previously submitted objects from the registry.
|
BulkResponse |
deprecateObjects(Collection keys)
Level 1 method
|
RegistryService |
getRegistryService()
Returns the parent RegistryService that created this object.
|
BulkResponse |
saveObjects(Collection cataloguedObjects)
Saves one or more CataloguedObjects to the registry.
|
BulkResponse |
unDeprecateObjects(Collection keys)
Level 1 method
|
public LifeCycleManagerImpl()
public LifeCycleManagerImpl(RegistryServiceImpl service)
public RegistryService getRegistryService()
LifeCycleManagergetRegistryService in interface LifeCycleManagerpublic Object createObject(String className) throws JAXRException
Organization org = lifeCycleMgr.createObject(LifeCycleManager.Organization);
createObject in interface LifeCycleManagerinterfaceName - Is the unqualified name of an interface in the javax.xml.registry.infomodel package
Throws InvalidRequestException if the interface is not an interface in from javax.xml.registry.infomodel package.
JAXRException - if the JAXR 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 JAXR providerpublic Association createAssociation(RegistryObject targetObject, Concept associationType) throws JAXRException
createAssociation in interface LifeCycleManagertargetObject - the target RegistryObject for the associationassociationType - the association type for the AssociationJAXRException - if the JAXR provider encounters an internal errorpublic Classification createClassification(ClassificationScheme scheme, String name, String value) throws JAXRException
createClassification in interface LifeCycleManagerscheme - the ClassificationScheme to be usedname - the name of the taxonomy element (a String)value - the value of the taxonomy elementJAXRException - if the JAXR provider encounters an internal errorpublic Classification createClassification(Concept concept) throws JAXRException, InvalidRequestException
Throws InvalidRequestException if the Concept is not under a ClassificationScheme.
createClassification in interface LifeCycleManagerconcept - the Concept that identifies the taxonomy elementJAXRException - if the JAXR provider encounters an internal errorInvalidRequestException - if the Concept is not under
a ClassificationSchemepublic ClassificationScheme createClassificationScheme(Concept concept) throws JAXRException, InvalidRequestException
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 programer to make sure that the Concept is indeed semantically a ClassificationScheme.
This method is necessary because in UDDI 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. UDDI leaves the determination to the programmer and consequently so does this method.
Throws InvalidRequestException if the Concept has a parent Concept or is under a ClassificationScheme.
createClassificationScheme in interface LifeCycleManagerconcept - the Concept to be usedJAXRException - if the JAXR provider encounters an internal errorInvalidRequestException - if the Concept has a parent Concept
or is under a ClassificationSchemepublic ClassificationScheme createClassificationScheme(String name, String description) throws JAXRException, InvalidRequestException
LifeCycleManagercreateClassificationScheme in interface LifeCycleManagername - the name of the ClassificationScheme (a String)description - a description of the ClassificationScheme (a String)JAXRException - if the JAXR provider encounters an internal errorInvalidRequestExceptionpublic Concept createConcept(RegistryObject parent, String name, String value) throws JAXRException
LifeCycleManagercreateConcept in interface LifeCycleManagerparent - a reference either to a parent ClassificationScheme or to a Conceptname - the name of the concept (a String)value - the value of the conceptJAXRException - if the JAXR provider encounters an internal errorpublic Concept createConcept(RegistryObject parent, InternationalString name, String value) throws JAXRException
LifeCycleManagercreateConcept in interface LifeCycleManagerparent - a reference either to a parent ClassificationScheme or to a Conceptname - the name of the concept (an InternationalString)value - the value of the conceptJAXRException - if the JAXR provider encounters an internal errorpublic EmailAddress createEmailAddress(String address) throws JAXRException
LifeCycleManagercreateEmailAddress in interface LifeCycleManageraddress - the email addressJAXRException - if the JAXR provider encounters an internal errorpublic EmailAddress createEmailAddress(String address, String type) throws JAXRException
LifeCycleManagercreateEmailAddress in interface LifeCycleManageraddress - the email addresstype - the type of the addressJAXRException - if the JAXR provider encounters an internal errorpublic ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, String name, String value) throws JAXRException
createExternalIdentifier in interface LifeCycleManageridentificationScheme - the ClassificationScheme usedname - the name of the external identifier (a String)value - the value of the external identifierJAXRException - if the JAXR provider encounters an internal errorpublic ExternalLink createExternalLink(String externalURI, String description) throws JAXRException
createExternalLink in interface LifeCycleManagerexternalURI - the external URIdescription - a description of the link (a String)JAXRException - if the JAXR provider encounters an internal errorpublic Key createKey(String id) throws JAXRException
createKey in interface LifeCycleManagerid - the ID string from which to create the KeyJAXRException - if the JAXR provider encounters an internal errorpublic PersonName createPersonName(String fullName) throws JAXRException
createPersonName in interface LifeCycleManagerfullName - the person's full nameJAXRException - if the JAXR provider encounters an internal errorpublic PostalAddress createPostalAddress(String streetNumber, String street, String city, String stateOrProvince, String country, String postalCode, String type) throws JAXRException
createPostalAddress in interface LifeCycleManagerstreetNumber - 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 addressJAXRException - if the JAXR provider encounters an internal errorpublic Service createService(String name) throws JAXRException
LifeCycleManagercreateService in interface LifeCycleManagername - the name of the Service (a String)JAXRException - if the JAXR provider encounters an internal errorpublic ServiceBinding createServiceBinding() throws JAXRException
LifeCycleManagercreateServiceBinding in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal errorpublic Slot createSlot(String name, String value, String slotType) throws JAXRException
createSlot in interface LifeCycleManagername - the name of the Slotvalue - the value (a String)slotType - the slot typeJAXRException - if the JAXR provider encounters an internal errorpublic Slot createSlot(String name, Collection values, String slotType) throws JAXRException
createSlot in interface LifeCycleManagername - the name of the SlotslotType - the slot typeJAXRException - if the JAXR provider encounters an internal errorpublic SpecificationLink createSpecificationLink() throws JAXRException
LifeCycleManagercreateSpecificationLink in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal errorpublic TelephoneNumber createTelephoneNumber() throws JAXRException
LifeCycleManagercreateTelephoneNumber in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal errorpublic User createUser() throws JAXRException
LifeCycleManagercreateUser in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal errorpublic BulkResponse saveObjects(Collection cataloguedObjects) throws JAXRException
saveObjects in interface LifeCycleManagercataloguedObjects - a potentially heterogeneous Collection of RegistryObject instancesJAXRException - if the JAXR provider encounters an internal errorpublic BulkResponse deleteObjects(Collection keys) throws JAXRException
deleteObjects in interface LifeCycleManagerkeys - a Collection of keys for the objects to be deletedJAXRException - if the JAXR provider encounters an internal errorpublic BulkResponse deleteObjects(Collection keys, String objectType) throws JAXRException
deleteObjects in interface LifeCycleManagerkeys - a Collection of keys for the objects to be deletedobjectType - the objectType attribute for the objects to be deletedJAXRException - if the JAXR provider encounters an internal errorpublic void createConceptEquivalence(Concept concept1, Concept concept2) throws JAXRException
JAXRExceptionpublic void deleteConceptEquivalence(Concept concept1, Concept concept2) throws JAXRException
JAXRExceptionpublic LocalizedString createLocalizedString(Locale locale, String str) throws JAXRException
LifeCycleManagercreateLocalizedString in interface LifeCycleManagerlocale - the Locale in which to create the LocalizedStringstr - the String from which to create the LocalizedStringJAXRException - if the JAXR provider encounters an internal errorpublic InternationalString createInternationalString(Locale locale, String str) throws JAXRException
LifeCycleManagercreateInternationalString in interface LifeCycleManagerlocale - the Locale in which to create the InternationalStringstr - the String from which to create the InternationalStringJAXRException - if the JAXR provider encounters an internal errorpublic InternationalString createInternationalString() throws JAXRException
LifeCycleManagercreateInternationalString in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal errorpublic InternationalString createInternationalString(String str) throws JAXRException
LifeCycleManagercreateInternationalString in interface LifeCycleManagerstr - the String from which to create the InternationalStringJAXRException - if the JAXR provider encounters an internal errorpublic Classification createClassification(ClassificationScheme classificationScheme, InternationalString name, String value) throws JAXRException
LifeCycleManagercreateClassification in interface LifeCycleManagerclassificationScheme - the ClassificationScheme to be usedname - the name of the taxonomy element (an InternationalString)value - the value of the taxonomy elementJAXRException - if the JAXR provider encounters an internal errorpublic ClassificationScheme createClassificationScheme(InternationalString name, InternationalString description) throws JAXRException, InvalidRequestException
LifeCycleManagercreateClassificationScheme in interface LifeCycleManagername - the name of the ClassificationScheme (an InternationalString)description - a description of the ClassificationScheme (an InternationalString)JAXRException - if the JAXR provider encounters an internal errorInvalidRequestExceptionpublic LocalizedString createLocalizedString(Locale locale, String s, String charsetName) throws JAXRException
LifeCycleManagercreateLocalizedString in interface LifeCycleManagerlocale - the Locale in which to create the LocalizedStrings - the String from which to create the LocalizedStringcharsetName - the name of the character set to useJAXRException - if the JAXR provider encounters an internal errorpublic Organization createOrganization(InternationalString name) throws JAXRException
LifeCycleManagercreateOrganization in interface LifeCycleManagername - the name of the OrganizationJAXRException - if the JAXR provider encounters an internal errorpublic Organization createOrganization(String name) throws JAXRException
LifeCycleManagercreateOrganization in interface LifeCycleManagername - the name of the OrganizationJAXRException - if the JAXR provider encounters an internal errorpublic ExternalLink createExternalLink(String externalURI, InternationalString description) throws JAXRException
LifeCycleManagercreateExternalLink in interface LifeCycleManagerexternalURI - the external URIdescription - a description of the link (an InternationalString)JAXRException - if the JAXR provider encounters an internal errorpublic ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, InternationalString name, String value) throws JAXRException
LifeCycleManagercreateExternalIdentifier in interface LifeCycleManageridentificationScheme - the ClassificationScheme usedname - the name of the external identifier (an InternationalString)value - the value of the external identifierJAXRException - if the JAXR provider encounters an internal errorpublic Service createService(InternationalString name) throws JAXRException
LifeCycleManagercreateService in interface LifeCycleManagername - the name of the Service (an InternationalString)JAXRException - if the JAXR provider encounters an internal errorpublic RegistryPackage createRegistryPackage(InternationalString internationalString) throws JAXRException
createRegistryPackage in interface LifeCycleManagerinternationalString - the name of the registry package (an InternationalString)JAXRException - if the JAXR provider encounters an internal errorpublic ExtrinsicObject createExtrinsicObject() throws JAXRException
JAXRExceptionpublic PersonName createPersonName(String firstName, String middleName, String lastName) throws JAXRException
createPersonName in interface LifeCycleManagerfirstName - the person's first namemiddleName - the person's middle namelastName - the person's last nameJAXRException - if the JAXR provider encounters an internal errorpublic RegistryPackage createRegistryPackage(String name) throws JAXRException
createRegistryPackage in interface LifeCycleManagername - the name of the registry package (a String)JAXRException - if the JAXR provider encounters an internal errorpublic BulkResponse deprecateObjects(Collection keys) throws JAXRException
deprecateObjects in interface LifeCycleManagerkeys - a Collection of keys for the objects to be deprecatedJAXRException - if the JAXR provider encounters an internal errorpublic BulkResponse unDeprecateObjects(Collection keys) throws JAXRException
unDeprecateObjects in interface LifeCycleManagerkeys - a Collection of keys for the objects to be undeprecatedJAXRException - if the JAXR provider encounters an internal errorpublic ExtrinsicObject createExtrinsicObject(DataHandler repositoryItem) throws JAXRException
createExtrinsicObject in interface LifeCycleManagerrepositoryItem - the DataHandler for the repository item. Must not be null.JAXRException - if the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.