|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.registry.uddi.LifeCycleManagerImpl
public class LifeCycleManagerImpl
Class Declaration for LifeCycleManagerImpl
| 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 |
| Constructor Summary | |
|---|---|
LifeCycleManagerImpl()
|
|
LifeCycleManagerImpl(RegistryServiceImpl service)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifeCycleManagerImpl()
public LifeCycleManagerImpl(RegistryServiceImpl service)
| Method Detail |
|---|
public RegistryService getRegistryService()
LifeCycleManager
getRegistryService in interface LifeCycleManager
public 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 error
InvalidRequestException - if the interface is not an interface in
the javax.xml.registry.infomodel package
UnsupportedCapabilityException - if the client attempts to create an instance of an infomodel interface that is not supported by the capability level of the JAXR provider
public Association createAssociation(RegistryObject targetObject,
Concept associationType)
throws JAXRException
createAssociation in interface LifeCycleManagertargetObject - the target RegistryObject for the associationassociationType - the association type for the Association
JAXRException - if the JAXR provider encounters an internal error
public 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 element
JAXRException - if the JAXR provider encounters an internal error
public 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 element
JAXRException - if the JAXR provider encounters an internal error
InvalidRequestException - if the Concept is not under
a ClassificationScheme
public 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 used
JAXRException - if the JAXR provider encounters an internal error
InvalidRequestException - if the Concept has a parent Concept
or is under a ClassificationScheme
public ClassificationScheme createClassificationScheme(String name,
String description)
throws JAXRException,
InvalidRequestException
LifeCycleManager
createClassificationScheme 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 error
InvalidRequestException
public Concept createConcept(RegistryObject parent,
String name,
String value)
throws JAXRException
LifeCycleManager
createConcept 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 concept
JAXRException - if the JAXR provider encounters an internal error
public Concept createConcept(RegistryObject parent,
InternationalString name,
String value)
throws JAXRException
LifeCycleManager
createConcept 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 concept
JAXRException - if the JAXR provider encounters an internal error
public EmailAddress createEmailAddress(String address)
throws JAXRException
LifeCycleManager
createEmailAddress in interface LifeCycleManageraddress - the email address
JAXRException - if the JAXR provider encounters an internal error
public EmailAddress createEmailAddress(String address,
String type)
throws JAXRException
LifeCycleManager
createEmailAddress in interface LifeCycleManageraddress - the email addresstype - the type of the address
JAXRException - if the JAXR provider encounters an internal error
public 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 identifier
JAXRException - if the JAXR provider encounters an internal error
public 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 error
public Key createKey(String id)
throws JAXRException
createKey in interface LifeCycleManagerid - the ID string from which to create the Key
JAXRException - if the JAXR provider encounters an internal error
public PersonName createPersonName(String fullName)
throws JAXRException
createPersonName in interface LifeCycleManagerfullName - the person's full name
JAXRException - if the JAXR provider encounters an internal error
public 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 address
JAXRException - if the JAXR provider encounters an internal error
public Service createService(String name)
throws JAXRException
LifeCycleManager
createService in interface LifeCycleManagername - the name of the Service (a String)
JAXRException - if the JAXR provider encounters an internal error
public ServiceBinding createServiceBinding()
throws JAXRException
LifeCycleManager
createServiceBinding in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal error
public 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 type
JAXRException - if the JAXR provider encounters an internal error
public Slot createSlot(String name,
Collection values,
String slotType)
throws JAXRException
createSlot in interface LifeCycleManagername - the name of the SlotslotType - the slot type
JAXRException - if the JAXR provider encounters an internal error
public SpecificationLink createSpecificationLink()
throws JAXRException
LifeCycleManager
createSpecificationLink in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal error
public TelephoneNumber createTelephoneNumber()
throws JAXRException
LifeCycleManager
createTelephoneNumber in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal error
public User createUser()
throws JAXRException
LifeCycleManager
createUser in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal error
public BulkResponse saveObjects(Collection cataloguedObjects)
throws JAXRException
saveObjects in interface LifeCycleManagercataloguedObjects - a potentially heterogeneous Collection of RegistryObject instances
JAXRException - if the JAXR provider encounters an internal error
public BulkResponse deleteObjects(Collection keys)
throws JAXRException
deleteObjects in interface LifeCycleManagerkeys - a Collection of keys for the objects to be deleted
JAXRException - if the JAXR provider encounters an internal error
public 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 deleted
JAXRException - if the JAXR provider encounters an internal error
public void createConceptEquivalence(Concept concept1,
Concept concept2)
throws JAXRException
JAXRException
public void deleteConceptEquivalence(Concept concept1,
Concept concept2)
throws JAXRException
JAXRException
public LocalizedString createLocalizedString(Locale locale,
String str)
throws JAXRException
LifeCycleManager
createLocalizedString in interface LifeCycleManagerlocale - the Locale in which to create the LocalizedStringstr - the String from which to create the LocalizedString
JAXRException - if the JAXR provider encounters an internal error
public InternationalString createInternationalString(Locale locale,
String str)
throws JAXRException
LifeCycleManager
createInternationalString in interface LifeCycleManagerlocale - the Locale in which to create the InternationalStringstr - the String from which to create the InternationalString
JAXRException - if the JAXR provider encounters an internal error
public InternationalString createInternationalString()
throws JAXRException
LifeCycleManager
createInternationalString in interface LifeCycleManagerJAXRException - if the JAXR provider encounters an internal error
public InternationalString createInternationalString(String str)
throws JAXRException
LifeCycleManager
createInternationalString in interface LifeCycleManagerstr - the String from which to create the InternationalString
JAXRException - if the JAXR provider encounters an internal error
public Classification createClassification(ClassificationScheme classificationScheme,
InternationalString name,
String value)
throws JAXRException
LifeCycleManager
createClassification in interface LifeCycleManagerclassificationScheme - the ClassificationScheme to be usedname - the name of the taxonomy element (an InternationalString)value - the value of the taxonomy element
JAXRException - if the JAXR provider encounters an internal error
public ClassificationScheme createClassificationScheme(InternationalString name,
InternationalString description)
throws JAXRException,
InvalidRequestException
LifeCycleManager
createClassificationScheme 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 error
InvalidRequestException
public LocalizedString createLocalizedString(Locale locale,
String s,
String charsetName)
throws JAXRException
LifeCycleManager
createLocalizedString 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 use
JAXRException - if the JAXR provider encounters an internal error
public Organization createOrganization(InternationalString name)
throws JAXRException
LifeCycleManager
createOrganization in interface LifeCycleManagername - the name of the Organization
JAXRException - if the JAXR provider encounters an internal error
public Organization createOrganization(String name)
throws JAXRException
LifeCycleManager
createOrganization in interface LifeCycleManagername - the name of the Organization
JAXRException - if the JAXR provider encounters an internal error
public ExternalLink createExternalLink(String externalURI,
InternationalString description)
throws JAXRException
LifeCycleManager
createExternalLink in interface LifeCycleManagerexternalURI - the external URIdescription - a description of the link (an InternationalString)
JAXRException - if the JAXR provider encounters an internal error
public ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme,
InternationalString name,
String value)
throws JAXRException
LifeCycleManager
createExternalIdentifier in interface LifeCycleManageridentificationScheme - the ClassificationScheme usedname - the name of the external identifier (an InternationalString)value - the value of the external identifier
JAXRException - if the JAXR provider encounters an internal error
public Service createService(InternationalString name)
throws JAXRException
LifeCycleManager
createService in interface LifeCycleManagername - the name of the Service (an InternationalString)
JAXRException - if the JAXR provider encounters an internal error
public 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 error
public ExtrinsicObject createExtrinsicObject()
throws JAXRException
JAXRException
public 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 name
JAXRException - if the JAXR provider encounters an internal error
public 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 error
public BulkResponse deprecateObjects(Collection keys)
throws JAXRException
deprecateObjects in interface LifeCycleManagerkeys - a Collection of keys for the objects to be deprecated
JAXRException - if the JAXR provider encounters an internal error
public BulkResponse unDeprecateObjects(Collection keys)
throws JAXRException
unDeprecateObjects in interface LifeCycleManagerkeys - a Collection of keys for the objects to be undeprecated
JAXRException - if the JAXR provider encounters an internal error
public 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 error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||