Class LifeCycleManagerImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.LifeCycleManagerImpl
-
- All Implemented Interfaces:
LifeCycleManager
- Direct Known Subclasses:
BusinessLifeCycleManagerImpl
public class LifeCycleManagerImpl extends Object implements LifeCycleManager
Class Declaration for LifeCycleManagerImpl- Author:
- Kathy Walsh
-
-
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
Constructors Constructor Description LifeCycleManagerImpl()LifeCycleManagerImpl(RegistryServiceImpl service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationcreateAssociation(RegistryObject targetObject, Concept associationType)Create an Association instance using the specified parameters.ClassificationcreateClassification(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.ClassificationcreateClassification(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.ClassificationcreateClassification(Concept concept)Create a Classification instance for an internal Classification using the specified Concept which identifies a taxonomy element within an internal ClassificationScheme.ClassificationSchemecreateClassificationScheme(String name, String description)Creates a ClassificationScheme given the specified String parameters.ClassificationSchemecreateClassificationScheme(Concept concept)Creates a ClassificationScheme from a Concept that has no ClassificationScheme or parent Concept.ClassificationSchemecreateClassificationScheme(InternationalString name, InternationalString description)Creates a ClassificationScheme given the specified InternationalString parameters.ConceptcreateConcept(RegistryObject parent, String name, String value)Creates a Concept instance using the specified parameters, where the name is a String.ConceptcreateConcept(RegistryObject parent, InternationalString name, String value)Creates a Concept instance using the specified parameters, where the name is an InternationalString.voidcreateConceptEquivalence(Concept concept1, Concept concept2)Create a semantic equivalence between the two specified Concepts.EmailAddresscreateEmailAddress(String address)Creates an EmailAddress instance using an address as the parameter.EmailAddresscreateEmailAddress(String address, String type)Creates an EmailAddress instance using both an address and a type as parameters.ExternalIdentifiercreateExternalIdentifier(ClassificationScheme identificationScheme, String name, String value)Create an ExternalIdentifier instance using the specified parameters.ExternalIdentifiercreateExternalIdentifier(ClassificationScheme identificationScheme, InternationalString name, String value)Creates an ExternalIdentifier instance using the specified parameters, where the name is an InternationalString.ExternalLinkcreateExternalLink(String externalURI, String description)Create an ExternalLink instance using the specified parameters.ExternalLinkcreateExternalLink(String externalURI, InternationalString description)Creates an ExternalLink instance using the specified parameters, where the description is an InternationalString.ExtrinsicObjectcreateExtrinsicObject()Level 1 methodExtrinsicObjectcreateExtrinsicObject(DataHandler repositoryItem)Level 1 methodInternationalStringcreateInternationalString()Creates an empty InternationalString instance.InternationalStringcreateInternationalString(String str)Creates an InternationalString instance using a String parameter and the default Locale.InternationalStringcreateInternationalString(Locale locale, String str)Creates an InternationalString instance using the specified Locale and String parameters.KeycreateKey(String id)Create a Key instance using the specified parameters.LocalizedStringcreateLocalizedString(Locale locale, String str)Creates a LocalizedString instance using the specified Locale and String parameters.LocalizedStringcreateLocalizedString(Locale locale, String s, String charsetName)Creates a LocalizedString instance using the specified Locale, String, and character set parameters.ObjectcreateObject(String className)Factory method for creating instances of information model interfaces.OrganizationcreateOrganization(String name)Creates an Organization instance using the specified name, where the name is a String.OrganizationcreateOrganization(InternationalString name)Creates an Organization instance using the specified name, where the name is an InternationalString.PersonNamecreatePersonName(String fullName)Create a PersonName instance using the specified parameters.PersonNamecreatePersonName(String firstName, String middleName, String lastName)Level 1 methodPostalAddresscreatePostalAddress(String streetNumber, String street, String city, String stateOrProvince, String country, String postalCode, String type)Create a PostalAddress instance using the specified parameters.RegistryPackagecreateRegistryPackage(String name)Level 1 methodRegistryPackagecreateRegistryPackage(InternationalString internationalString)Level 1 methodServicecreateService(String name)Creates a Service instance using the specified name, where the name is a String.ServicecreateService(InternationalString name)Creates a Service instance using the specified name, where the name is an InternationalString.ServiceBindingcreateServiceBinding()Creates an empty ServiceBinding instance.SlotcreateSlot(String name, String value, String slotType)Create a Slot instance using the specified parameters.SlotcreateSlot(String name, Collection values, String slotType)Create a Slot instance using the specified parameters.SpecificationLinkcreateSpecificationLink()Creates an empty SpecificationLink instance.TelephoneNumbercreateTelephoneNumber()Creates an empty TelephoneNumber instance.UsercreateUser()Creates an empty User instance.voiddeleteConceptEquivalence(Concept concept1, Concept concept2)Removes the semantic equivalence, if any, between the specified two Concepts.BulkResponsedeleteObjects(Collection keys)Deletes one or more previously submitted objects from the registry.BulkResponsedeleteObjects(Collection keys, String objectType)Deletes one or more previously submitted objects from the registry.BulkResponsedeprecateObjects(Collection keys)Level 1 methodRegistryServicegetRegistryService()Returns the parent RegistryService that created this object.BulkResponsesaveObjects(Collection cataloguedObjects)Saves one or more CataloguedObjects to the registry.BulkResponseunDeprecateObjects(Collection keys)Level 1 method
-
-
-
Constructor Detail
-
LifeCycleManagerImpl
public LifeCycleManagerImpl()
-
LifeCycleManagerImpl
public LifeCycleManagerImpl(RegistryServiceImpl service)
-
-
Method Detail
-
getRegistryService
public RegistryService getRegistryService()
Description copied from interface:LifeCycleManagerReturns the parent RegistryService that created this object.- Capability Level: 0
- Specified by:
getRegistryServicein interfaceLifeCycleManager- Returns:
- the parent RegistryService
-
createObject
public Object createObject(String className) throws JAXRException
Factory method for creating instances of information model interfaces. To create an Organization use it as follows:Organization org = lifeCycleMgr.createObject(LifeCycleManager.Organization);
- Specified by:
createObjectin interfaceLifeCycleManager- Parameters:
interfaceName- Is the unqualified name of an interface in the javax.xml.registry.infomodel packageThrows InvalidRequestException if the interface is not an interface in from javax.xml.registry.infomodel package.
- Returns:
- an Object that can then be cast to an instance of the interface
- Throws:
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 provider
-
createAssociation
public Association createAssociation(RegistryObject targetObject, Concept associationType) throws JAXRException
Create an Association instance using the specified parameters. The sourceObject is left null and will be set wen the Association is added to a RegistryObject.- Specified by:
createAssociationin interfaceLifeCycleManager- Parameters:
targetObject- the target RegistryObject for the associationassociationType- the association type for the Association- Returns:
- the Association instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createClassification
public Classification createClassification(ClassificationScheme scheme, String name, String value) throws JAXRException
Create a Classification instance for an external Classification using the specified name and value that identifies a taxonomy element within specified ClassificationScheme.- Specified by:
createClassificationin interfaceLifeCycleManager- 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 JAXR provider encounters an internal error
-
createClassification
public Classification createClassification(Concept concept) throws JAXRException, InvalidRequestException
Create a Classification instance for an internal Classification using the specified Concept which identifies a taxonomy element within an internal ClassificationScheme.Throws InvalidRequestException if the Concept is not under a ClassificationScheme.
- Specified by:
createClassificationin interfaceLifeCycleManager- Parameters:
concept- the Concept that identifies the taxonomy element- Returns:
- the Classification instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal errorInvalidRequestException- if the Concept is not under a ClassificationScheme
-
createClassificationScheme
public ClassificationScheme createClassificationScheme(Concept concept) throws JAXRException, InvalidRequestException
Creates a ClassificationScheme from a Concept that has no ClassificationScheme or parent Concept.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.
- Specified by:
createClassificationSchemein interfaceLifeCycleManager- Parameters:
concept- the Concept to be used- Returns:
- the ClassificationScheme instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal errorInvalidRequestException- if the Concept has a parent Concept or is under a ClassificationScheme
-
createClassificationScheme
public ClassificationScheme createClassificationScheme(String name, String description) throws JAXRException, InvalidRequestException
Description copied from interface:LifeCycleManagerCreates a ClassificationScheme given the specified String parameters.- Capability Level: 0
- Specified by:
createClassificationSchemein interfaceLifeCycleManager- 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 JAXR provider encounters an internal errorInvalidRequestException
-
createConcept
public Concept createConcept(RegistryObject parent, String name, String value) throws JAXRException
Description copied from interface:LifeCycleManagerCreates a Concept instance using the specified parameters, where the name is a String.- Capability Level: 0
- Specified by:
createConceptin interfaceLifeCycleManager- 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 JAXR provider encounters an internal error
-
createConcept
public Concept createConcept(RegistryObject parent, InternationalString name, String value) throws JAXRException
Description copied from interface:LifeCycleManagerCreates a Concept instance using the specified parameters, where the name is an InternationalString.- Capability Level: 0
- Specified by:
createConceptin interfaceLifeCycleManager- 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 JAXR provider encounters an internal error
-
createEmailAddress
public EmailAddress createEmailAddress(String address) throws JAXRException
Description copied from interface:LifeCycleManagerCreates an EmailAddress instance using an address as the parameter.- Capability Level: 0
- Specified by:
createEmailAddressin interfaceLifeCycleManager- Parameters:
address- the email address- Returns:
- the EmailAddress instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createEmailAddress
public EmailAddress createEmailAddress(String address, String type) throws JAXRException
Description copied from interface:LifeCycleManagerCreates an EmailAddress instance using both an address and a type as parameters.- Capability Level: 0
- Specified by:
createEmailAddressin interfaceLifeCycleManager- Parameters:
address- the email addresstype- the type of the address- Returns:
- the EmailAddress instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createExternalIdentifier
public ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, String name, String value) throws JAXRException
Create an ExternalIdentifier instance using the specified parameters.- Specified by:
createExternalIdentifierin interfaceLifeCycleManager- 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 JAXR provider encounters an internal error
-
createExternalLink
public ExternalLink createExternalLink(String externalURI, String description) throws JAXRException
Create an ExternalLink instance using the specified parameters.- Specified by:
createExternalLinkin interfaceLifeCycleManager- Parameters:
externalURI- the external URIdescription- a description of the link (a String)- Returns:
- the ExternalLink instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createKey
public Key createKey(String id) throws JAXRException
Create a Key instance using the specified parameters.- Specified by:
createKeyin interfaceLifeCycleManager- Parameters:
id- the ID string from which to create the Key- Returns:
- the Key instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createPersonName
public PersonName createPersonName(String fullName) throws JAXRException
Create a PersonName instance using the specified parameters.- Specified by:
createPersonNamein interfaceLifeCycleManager- Parameters:
fullName- the person's full name- Returns:
- the PersonName instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createPostalAddress
public PostalAddress createPostalAddress(String streetNumber, String street, String city, String stateOrProvince, String country, String postalCode, String type) throws JAXRException
Create a PostalAddress instance using the specified parameters.- Specified by:
createPostalAddressin interfaceLifeCycleManager- 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 JAXR provider encounters an internal error
-
createService
public Service createService(String name) throws JAXRException
Description copied from interface:LifeCycleManagerCreates a Service instance using the specified name, where the name is a String.- Capability Level: 0
- Specified by:
createServicein interfaceLifeCycleManager- Parameters:
name- the name of the Service (a String)- Returns:
- the Service instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createServiceBinding
public ServiceBinding createServiceBinding() throws JAXRException
Description copied from interface:LifeCycleManagerCreates an empty ServiceBinding instance.- Capability Level: 0
- Specified by:
createServiceBindingin interfaceLifeCycleManager- Returns:
- the ServiceBinding instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createSlot
public Slot createSlot(String name, String value, String slotType) throws JAXRException
Create a Slot instance using the specified parameters.- Specified by:
createSlotin interfaceLifeCycleManager- Parameters:
name- the name of the Slotvalue- the value (a String)slotType- the slot type- Returns:
- the Slot instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createSlot
public Slot createSlot(String name, Collection values, String slotType) throws JAXRException
Create a Slot instance using the specified parameters.- Specified by:
createSlotin interfaceLifeCycleManager- Parameters:
name- the name of the SlotslotType- the slot type- Returns:
- the Slot instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createSpecificationLink
public SpecificationLink createSpecificationLink() throws JAXRException
Description copied from interface:LifeCycleManagerCreates an empty SpecificationLink instance.- Capability Level: 0
- Specified by:
createSpecificationLinkin interfaceLifeCycleManager- Returns:
- the SpecificationLink instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createTelephoneNumber
public TelephoneNumber createTelephoneNumber() throws JAXRException
Description copied from interface:LifeCycleManagerCreates an empty TelephoneNumber instance.- Capability Level: 0
- Specified by:
createTelephoneNumberin interfaceLifeCycleManager- Returns:
- the TelephoneNumber instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createUser
public User createUser() throws JAXRException
Description copied from interface:LifeCycleManagerCreates an empty User instance.- Capability Level: 0
- Specified by:
createUserin interfaceLifeCycleManager- Returns:
- the User instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
saveObjects
public BulkResponse saveObjects(Collection cataloguedObjects) throws JAXRException
Saves one or more CataloguedObjects to the registry. If an object is not in the registry, then 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
- Specified by:
saveObjectsin interfaceLifeCycleManager- Parameters:
cataloguedObjects- a potentially heterogeneous Collection of RegistryObject instances- Returns:
- 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 JAXR provider encounters an internal error
-
deleteObjects
public BulkResponse deleteObjects(Collection keys) throws JAXRException
Deletes one or more previously submitted objects from the registry.- Capability Level: 1
- Specified by:
deleteObjectsin interfaceLifeCycleManager- Parameters:
keys- a Collection of keys for the objects to be deleted- Returns:
- 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 JAXR provider encounters an internal error
-
deleteObjects
public BulkResponse deleteObjects(Collection keys, String objectType) throws JAXRException
Deletes one or more previously submitted objects from the registry.- Capability Level: 0
- Specified by:
deleteObjectsin interfaceLifeCycleManager- Parameters:
keys- a Collection of keys for the objects to be deletedobjectType- the objectType attribute for the objects to be deleted- Returns:
- 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 JAXR provider encounters an internal error
-
createConceptEquivalence
public void createConceptEquivalence(Concept concept1, Concept concept2) throws JAXRException
Create a semantic equivalence between the two specified Concepts. This is a convenience method to create an Association with sourceObject as concept1 and targetObject as concept2 and associationType as EquivalentTo.- Capability Level: 0
- Throws:
JAXRException
-
deleteConceptEquivalence
public void deleteConceptEquivalence(Concept concept1, Concept concept2) throws JAXRException
Removes the semantic equivalence, if any, between the specified two Concepts. This is a convenience method to to delete any Association sourceObject as concept1 and targetObject as concept2 and associationType as EquivalentTo.- Capability Level: 0
- Throws:
JAXRException
-
createLocalizedString
public LocalizedString createLocalizedString(Locale locale, String str) throws JAXRException
Description copied from interface:LifeCycleManagerCreates a LocalizedString instance using the specified Locale and String parameters.- Capability Level: 0
- Specified by:
createLocalizedStringin interfaceLifeCycleManager- Parameters:
locale- the Locale in which to create the LocalizedStringstr- the String from which to create the LocalizedString- Returns:
- the LocalizedString instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createInternationalString
public InternationalString createInternationalString(Locale locale, String str) throws JAXRException
Description copied from interface:LifeCycleManagerCreates an InternationalString instance using the specified Locale and String parameters.- Capability Level: 0
- Specified by:
createInternationalStringin interfaceLifeCycleManager- Parameters:
locale- the Locale in which to create the InternationalStringstr- the String from which to create the InternationalString- Returns:
- the InternationalString instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createInternationalString
public InternationalString createInternationalString() throws JAXRException
Description copied from interface:LifeCycleManagerCreates an empty InternationalString instance.- Capability Level: 0
- Specified by:
createInternationalStringin interfaceLifeCycleManager- Returns:
- the InternationalString instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createInternationalString
public InternationalString createInternationalString(String str) throws JAXRException
Description copied from interface:LifeCycleManagerCreates an InternationalString instance using a String parameter and the default Locale.- Capability Level: 0
- Specified by:
createInternationalStringin interfaceLifeCycleManager- Parameters:
str- the String from which to create the InternationalString- Returns:
- the InternationalString instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createClassification
public Classification createClassification(ClassificationScheme classificationScheme, InternationalString name, String value) throws JAXRException
Description copied from interface:LifeCycleManagerCreates 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
- Specified by:
createClassificationin interfaceLifeCycleManager- Parameters:
classificationScheme- 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 JAXR provider encounters an internal error
-
createClassificationScheme
public ClassificationScheme createClassificationScheme(InternationalString name, InternationalString description) throws JAXRException, InvalidRequestException
Description copied from interface:LifeCycleManagerCreates a ClassificationScheme given the specified InternationalString parameters.- Capability Level: 0
- Specified by:
createClassificationSchemein interfaceLifeCycleManager- 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 JAXR provider encounters an internal errorInvalidRequestException
-
createLocalizedString
public LocalizedString createLocalizedString(Locale locale, String s, String charsetName) throws JAXRException
Description copied from interface:LifeCycleManagerCreates a LocalizedString instance using the specified Locale, String, and character set parameters.- Capability Level: 0
- Specified by:
createLocalizedStringin interfaceLifeCycleManager- Parameters:
locale- 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 JAXR provider encounters an internal error
-
createOrganization
public Organization createOrganization(InternationalString name) throws JAXRException
Description copied from interface:LifeCycleManagerCreates an Organization instance using the specified name, where the name is an InternationalString.- Capability Level: 0
- Specified by:
createOrganizationin interfaceLifeCycleManager- Parameters:
name- the name of the Organization- Returns:
- the Organization instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createOrganization
public Organization createOrganization(String name) throws JAXRException
Description copied from interface:LifeCycleManagerCreates an Organization instance using the specified name, where the name is a String.- Capability Level: 0
- Specified by:
createOrganizationin interfaceLifeCycleManager- Parameters:
name- the name of the Organization- Returns:
- the Organization instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createExternalLink
public ExternalLink createExternalLink(String externalURI, InternationalString description) throws JAXRException
Description copied from interface:LifeCycleManagerCreates an ExternalLink instance using the specified parameters, where the description is an InternationalString.- Capability Level: 0
- Specified by:
createExternalLinkin interfaceLifeCycleManager- Parameters:
externalURI- the external URIdescription- a description of the link (an InternationalString)- Returns:
- the ExternalLink instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createExternalIdentifier
public ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, InternationalString name, String value) throws JAXRException
Description copied from interface:LifeCycleManagerCreates an ExternalIdentifier instance using the specified parameters, where the name is an InternationalString.- Capability Level: 0
- Specified by:
createExternalIdentifierin interfaceLifeCycleManager- 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 JAXR provider encounters an internal error
-
createService
public Service createService(InternationalString name) throws JAXRException
Description copied from interface:LifeCycleManagerCreates a Service instance using the specified name, where the name is an InternationalString.- Capability Level: 0
- Specified by:
createServicein interfaceLifeCycleManager- Parameters:
name- the name of the Service (an InternationalString)- Returns:
- the Service instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createRegistryPackage
public RegistryPackage createRegistryPackage(InternationalString internationalString) throws JAXRException
Level 1 method- Specified by:
createRegistryPackagein interfaceLifeCycleManager- Parameters:
internationalString- the name of the registry package (an InternationalString)- Returns:
- the RegistryPackage instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
createExtrinsicObject
public ExtrinsicObject createExtrinsicObject() throws JAXRException
Level 1 method- Throws:
JAXRException
-
createPersonName
public PersonName createPersonName(String firstName, String middleName, String lastName) throws JAXRException
Level 1 method- Specified by:
createPersonNamein interfaceLifeCycleManager- 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 JAXR provider encounters an internal error
-
createRegistryPackage
public RegistryPackage createRegistryPackage(String name) throws JAXRException
Level 1 method- Specified by:
createRegistryPackagein interfaceLifeCycleManager- Parameters:
name- the name of the registry package (a String)- Returns:
- the RegistryPackage instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
deprecateObjects
public BulkResponse deprecateObjects(Collection keys) throws JAXRException
Level 1 method- Specified by:
deprecateObjectsin interfaceLifeCycleManager- 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 JAXR provider encounters an internal error
-
unDeprecateObjects
public BulkResponse unDeprecateObjects(Collection keys) throws JAXRException
Level 1 method- Specified by:
unDeprecateObjectsin interfaceLifeCycleManager- 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 JAXR provider encounters an internal error
-
createExtrinsicObject
public ExtrinsicObject createExtrinsicObject(DataHandler repositoryItem) throws JAXRException
Level 1 method- Specified by:
createExtrinsicObjectin interfaceLifeCycleManager- Parameters:
repositoryItem- the DataHandler for the repository item. Must not be null.- Returns:
- the ExtrinsicObject instance created
- Throws:
JAXRException- if the JAXR provider encounters an internal error
-
-