public abstract class LifeCycleManagerImpl extends Object implements LifeCycleManager
Modifier and Type | Field and Description |
---|---|
protected RegistryServiceImpl |
registry |
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(RegistryService registry) |
protected final RegistryServiceImpl registry
public LifeCycleManagerImpl(RegistryService registry)
public RegistryService getRegistryService()
getRegistryService
in interface LifeCycleManager
public Object createObject(String interfaceName) throws JAXRException
createObject
in interface LifeCycleManager
JAXRException
public Association createAssociation(RegistryObject targetObject, Concept associationType) throws JAXRException
createAssociation
in interface LifeCycleManager
JAXRException
public Classification createClassification(Concept concept) throws JAXRException, InvalidRequestException
createClassification
in interface LifeCycleManager
JAXRException
InvalidRequestException
public Classification createClassification(ClassificationScheme scheme, InternationalString name, String value) throws JAXRException
createClassification
in interface LifeCycleManager
JAXRException
public Classification createClassification(ClassificationScheme scheme, String name, String value) throws JAXRException
createClassification
in interface LifeCycleManager
JAXRException
public ClassificationScheme createClassificationScheme(Concept concept) throws JAXRException, InvalidRequestException
createClassificationScheme
in interface LifeCycleManager
JAXRException
InvalidRequestException
public ClassificationScheme createClassificationScheme(InternationalString name, InternationalString des) throws JAXRException, InvalidRequestException
createClassificationScheme
in interface LifeCycleManager
JAXRException
InvalidRequestException
public ClassificationScheme createClassificationScheme(String name, String desc) throws JAXRException, InvalidRequestException
createClassificationScheme
in interface LifeCycleManager
JAXRException
InvalidRequestException
public Concept createConcept(RegistryObject parent, InternationalString name, String value) throws JAXRException
createConcept
in interface LifeCycleManager
JAXRException
public Concept createConcept(RegistryObject parent, String name, String value) throws JAXRException
createConcept
in interface LifeCycleManager
JAXRException
public EmailAddress createEmailAddress(String address) throws JAXRException
createEmailAddress
in interface LifeCycleManager
JAXRException
public EmailAddress createEmailAddress(String address, String type) throws JAXRException
createEmailAddress
in interface LifeCycleManager
JAXRException
public ExternalIdentifier createExternalIdentifier(ClassificationScheme ids, InternationalString name, String value) throws JAXRException
createExternalIdentifier
in interface LifeCycleManager
JAXRException
public ExternalIdentifier createExternalIdentifier(ClassificationScheme ids, String name, String value) throws JAXRException
createExternalIdentifier
in interface LifeCycleManager
JAXRException
public ExternalLink createExternalLink(String uri, InternationalString desc) throws JAXRException
createExternalLink
in interface LifeCycleManager
JAXRException
public ExternalLink createExternalLink(String uri, String desc) throws JAXRException
createExternalLink
in interface LifeCycleManager
JAXRException
public InternationalString createInternationalString() throws JAXRException
createInternationalString
in interface LifeCycleManager
JAXRException
public InternationalString createInternationalString(String value) throws JAXRException
createInternationalString
in interface LifeCycleManager
JAXRException
public InternationalString createInternationalString(Locale locale, String value) throws JAXRException
createInternationalString
in interface LifeCycleManager
JAXRException
public Key createKey(String id)
createKey
in interface LifeCycleManager
public LocalizedString createLocalizedString(Locale locale, String value) throws JAXRException
createLocalizedString
in interface LifeCycleManager
JAXRException
public LocalizedString createLocalizedString(Locale locale, String value, String charsetName) throws JAXRException
createLocalizedString
in interface LifeCycleManager
JAXRException
public Organization createOrganization(InternationalString name) throws JAXRException
createOrganization
in interface LifeCycleManager
JAXRException
public Organization createOrganization(String name) throws JAXRException
createOrganization
in interface LifeCycleManager
JAXRException
public PersonName createPersonName(String fullName) throws JAXRException
createPersonName
in interface LifeCycleManager
JAXRException
public PostalAddress createPostalAddress(String streetNumber, String street, String city, String stateOrProvince, String country, String postalCode, String type) throws JAXRException
createPostalAddress
in interface LifeCycleManager
JAXRException
public Service createService(InternationalString name) throws JAXRException
createService
in interface LifeCycleManager
JAXRException
public Service createService(String name) throws JAXRException
createService
in interface LifeCycleManager
JAXRException
public ServiceBinding createServiceBinding() throws JAXRException
createServiceBinding
in interface LifeCycleManager
JAXRException
public Slot createSlot(String name, String value, String slotType) throws JAXRException
createSlot
in interface LifeCycleManager
JAXRException
public Slot createSlot(String name, Collection values, String slotType) throws JAXRException
createSlot
in interface LifeCycleManager
JAXRException
public SpecificationLink createSpecificationLink() throws JAXRException
createSpecificationLink
in interface LifeCycleManager
JAXRException
public TelephoneNumber createTelephoneNumber() throws JAXRException
createTelephoneNumber
in interface LifeCycleManager
JAXRException
public User createUser() throws JAXRException
createUser
in interface LifeCycleManager
JAXRException
public abstract BulkResponse saveObjects(Collection objects) throws JAXRException
saveObjects
in interface LifeCycleManager
objects
- JAXRException
public abstract BulkResponse deleteObjects(Collection keys, String objectType) throws JAXRException
deleteObjects
in interface LifeCycleManager
keys
- objectType
- JAXRException
public ExtrinsicObject createExtrinsicObject(DataHandler repositoryItem) throws JAXRException
createExtrinsicObject
in interface LifeCycleManager
repositoryItem
- JAXRException
public PersonName createPersonName(String firstName, String middleName, String lastName) throws JAXRException
createPersonName
in interface LifeCycleManager
JAXRException
public RegistryPackage createRegistryPackage(InternationalString name) throws JAXRException
createRegistryPackage
in interface LifeCycleManager
JAXRException
public RegistryPackage createRegistryPackage(String name) throws JAXRException
createRegistryPackage
in interface LifeCycleManager
JAXRException
public BulkResponse deprecateObjects(Collection keys) throws JAXRException
deprecateObjects
in interface LifeCycleManager
JAXRException
public BulkResponse unDeprecateObjects(Collection keys) throws JAXRException
unDeprecateObjects
in interface LifeCycleManager
JAXRException
public BulkResponse deleteObjects(Collection keys) throws JAXRException
deleteObjects
in interface LifeCycleManager
JAXRException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.