Top Description Fields Methods
javax.xml.registry

public Interface LifeCycleManager

Known Direct Subinterfaces
javax.xml.registry.BusinessLifeCycleManager
Imports
java.util.*, javax.xml.registry.infomodel.*

The LifeCycleManager interface is the main interface in the API for managing life cycle operations on objects defined by the information model.

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 JAXR provider.

Author
Farrukh S. Najmi

Field Summary

Modifier and TypeField and Description
public static final String
ASSOCIATION

Constant representing the javax.xml.registry.infomodel.Association interface.

public static final String
AUDITABLE_EVENT

Constant representing the javax.xml.registry.infomodel.AuditableEvent interface.

public static final String
CLASSIFICATION

Constant representing the javax.xml.registry.infomodel.Classification interface.

public static final String
CLASSIFICATION_SCHEME

Constant representing the javax.xml.registry.infomodel.ClassificationScheme interface.

public static final String
CONCEPT

Constant representing the javax.xml.registry.infomodel.Concept interface.

public static final String
EMAIL_ADDRESS

Constant representing the javax.xml.registry.infomodel.EmailAddress interface.

public static final String
EXTERNAL_IDENTIFIER

Constant representing the javax.xml.registry.infomodel.ExternalIdentifier interface.

public static final String
EXTERNAL_LINK

Constant representing the javax.xml.registry.infomodel.ExternalLink interface.

public static final String
EXTRINSIC_OBJECT

Constant representing the javax.xml.registry.infomodel.ExternalLink interface.

public static final String
INTERNATIONAL_STRING

Constant representing the javax.xml.registry.infomodel.InternationalString interface.

public static final String
KEY

Constant representing the javax.xml.registry.infomodel.Key interface.

public static final String
LOCALIZED_STRING

Constant representing the javax.xml.registry.infomodel.LocalizedString interface.

public static final String
ORGANIZATION

Constant representing the javax.xml.registry.infomodel.Organization interface.

public static final String
PERSON_NAME

Constant representing the javax.xml.registry.infomodel.PersonName interface.

public static final String
POSTAL_ADDRESS

Constant representing the javax.xml.registry.infomodel.PostalAddress interface.

public static final String
REGISTRY_ENTRY

Constant representing the javax.xml.registry.infomodel.RegistryEntry interface.

public static final String
REGISTRY_PACKAGE

Constant representing the javax.xml.registry.infomodel.RegistryPackage interface.

public static final String
SERVICE

Constant representing the javax.xml.registry.infomodel.Service interface.

public static final String
SERVICE_BINDING

Constant representing the javax.xml.registry.infomodel.ServiceBinding interface.

public static final String
SLOT

Constant representing the javax.xml.registry.infomodel.Slot interface.

public static final String
SPECIFICATION_LINK

Constant representing the javax.xml.registry.infomodel.SpecificationLink interface.

public static final String
TELEPHONE_NUMBER

Constant representing the javax.xml.registry.infomodel.TelephoneNumber interface.

public static final String
USER

Constant representing the javax.xml.registry.infomodel.User interface.

public static final String
VERSIONABLE

Constant representing the javax.xml.registry.infomodel.Versionable interface.

Method Summary

Modifier and TypeMethod and Description
public Association

Returns:

the Association instance created
createAssociation
(RegistryObject
the target RegistryObject for the association
targetObject
,
Concept
the association type for the Association
associationType
)

Creates an Association instance using the specified parameters.

public Classification

Returns:

the Classification instance created
createClassification
(ClassificationScheme
the ClassificationScheme to be used
scheme
,
String
the name of the taxonomy element (a String)
name
,
String
the value of the taxonomy element
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.

public Classification

Returns:

the Classification instance created
createClassification
(ClassificationScheme
the ClassificationScheme to be used
scheme
,
InternationalString
the name of the taxonomy element (an InternationalString)
name
,
String
the value of the taxonomy element
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.

public Classification

Returns:

the Classification instance created
createClassification
(Concept
the Concept that identifies the taxonomy element
concept
)

Creates a Classification instance for an internal Classification using the specified Concept that identifies a taxonomy element within an internal ClassificationScheme.

public ClassificationScheme

Returns:

the ClassificationScheme instance created
createClassificationScheme
(String
the name of the ClassificationScheme (a String)
name
,
String
a description of the ClassificationScheme (a String)
description
)

Creates a ClassificationScheme given the specified String parameters.

public ClassificationScheme

Returns:

the ClassificationScheme instance created
createClassificationScheme
(InternationalString
the name of the ClassificationScheme (an InternationalString)
name
,
InternationalString
a description of the ClassificationScheme (an InternationalString)
description
)

Creates a ClassificationScheme given the specified InternationalString parameters.

public ClassificationScheme

Returns:

the ClassificationScheme instance created
createClassificationScheme
(Concept
the Concept to be used
concept
)

Creates a ClassificationScheme from a Concept that has no ClassificationScheme or parent Concept.

public Concept

Returns:

the Concept instance created
createConcept
(RegistryObject
a reference either to a parent ClassificationScheme or to a Concept
parent
,
String
the name of the concept (a String)
name
,
String
the value of the concept
value
)

Creates a Concept instance using the specified parameters, where the name is a String.

public Concept

Returns:

the Concept instance created
createConcept
(RegistryObject
a reference either to a parent ClassificationScheme or to a Concept
parent
,
InternationalString
the name of the concept (an InternationalString)
name
,
String
the value of the concept
value
)

Creates a Concept instance using the specified parameters, where the name is an InternationalString.

public EmailAddress

Returns:

the EmailAddress instance created
createEmailAddress
(String
the email address
address
)

Creates an EmailAddress instance using an address as the parameter.

public EmailAddress

Returns:

the EmailAddress instance created
createEmailAddress
(String
the email address
address
,
String
the type of the address
type
)

Creates an EmailAddress instance using both an address and a type as parameters.

public ExternalIdentifier

Returns:

the ExternalIdentifier instance created
createExternalIdentifier
(ClassificationScheme
the ClassificationScheme used
identificationScheme
,
String
the name of the external identifier (a String)
name
,
String
the value of the external identifier
value
)

Creates an ExternalIdentifier instance using the specified parameters, where the name is a String.

public ExternalIdentifier

Returns:

the ExternalIdentifier instance created
createExternalIdentifier
(ClassificationScheme
the ClassificationScheme used
identificationScheme
,
InternationalString
the name of the external identifier (an InternationalString)
name
,
String
the value of the external identifier
value
)

Creates an ExternalIdentifier instance using the specified parameters, where the name is an InternationalString.

public ExtrinsicObject

Returns:

the ExtrinsicObject instance created
createExtrinsicObject
(DataHandler
the DataHandler for the repository item. Must not be null.
repositoryItem
)

Creates an ExtrinsicObject instance using the specified parameters.

public InternationalString

Returns:

the InternationalString instance created
createInternationalString
()

Creates an empty InternationalString instance.

public InternationalString

Returns:

the InternationalString instance created
createInternationalString
(String
the String from which to create the InternationalString
s
)

Creates an InternationalString instance using a String parameter and the default Locale.

public InternationalString

Returns:

the InternationalString instance created
createInternationalString
(Locale
the Locale in which to create the InternationalString
l
,
String
the String from which to create the InternationalString
s
)

Creates an InternationalString instance using the specified Locale and String parameters.

public Key

Returns:

the Key instance created
createKey
(String
the ID string from which to create the Key
id
)

Creates a Key instance from an ID.

Capability Level: 0
public LocalizedString

Returns:

the LocalizedString instance created
createLocalizedString
(Locale
the Locale in which to create the LocalizedString
l
,
String
the String from which to create the LocalizedString
s
)

Creates a LocalizedString instance using the specified Locale and String parameters.

public LocalizedString

Returns:

the LocalizedString instance created
createLocalizedString
(Locale
the Locale in which to create the LocalizedString
l
,
String
the String from which to create the LocalizedString
s
,
String
the name of the character set to use
charSetName
)

Creates a LocalizedString instance using the specified Locale, String, and character set parameters.

public Object

Returns:

an Object that can then be cast to an instance of the interface
createObject
(String
the unqualified name of an interface in the javax.xml.registry.infomodel package
interfaceName
)

Creates instances of information model interfaces (factory method).

public Organization

Returns:

the Organization instance created
createOrganization
(String
the name of the Organization
name
)

Creates an Organization instance using the specified name, where the name is a String.

public Organization

Returns:

the Organization instance created
createOrganization
(InternationalString
the name of the Organization
name
)

Creates an Organization instance using the specified name, where the name is an InternationalString.

public PersonName

Returns:

the PersonName instance created
createPersonName
(String
the person's first name
firstName
,
String
the person's middle name
middleName
,
String
the person's last name
lastName
)

Creates a PersonName instance using the specified first, middle, and last names.

public PersonName

Returns:

the PersonName instance created
createPersonName
(String
the person's full name
fullName
)

Creates a PersonName instance using the specified full name.

public PostalAddress

Returns:

the PostalAddress instance created
createPostalAddress
(String
the street number
streetNumber
,
String
the street name
street
,
String
the city name
city
,
String
the state or province name
stateOrProvince
,
String
the country name
country
,
String
the postal code (such as a US ZIP code)
postalCode
,
String
the type of the address
type
)

Creates a PostalAddress instance using the specified parameters.

public RegistryPackage

Returns:

the RegistryPackage instance created
createRegistryPackage
(String
the name of the registry package (a String)
name
)

Creates a RegistryPackage instance using the specified name, where the name is a String.

public RegistryPackage

Returns:

the RegistryPackage instance created
createRegistryPackage
(InternationalString
the name of the registry package (an InternationalString)
name
)

Creates a RegistryPackage instance using the specified name, where the name is an InternationalString.

public Service

Returns:

the Service instance created
createService
(String
the name of the Service (a String)
name
)

Creates a Service instance using the specified name, where the name is a String.

public Service

Returns:

the Service instance created
createService
(InternationalString
the name of the Service (an InternationalString)
name
)

Creates a Service instance using the specified name, where the name is an InternationalString.

public ServiceBinding

Returns:

the ServiceBinding instance created
createServiceBinding
()

Creates an empty ServiceBinding instance.

public Slot

Returns:

the Slot instance created
createSlot
(String
the name of the Slot
name
,
String
the value (a String)
value
,
String
the slot type
slotType
)

Creates a Slot instance using the specified parameters, where the value is a String.

public Slot

Returns:

the Slot instance created
createSlot
(String
the name of the Slot
name
,
Collection<E>
the value (a Collection of Strings)
values
,
String
the slot type
slotType
)

Creates a Slot instance using the specified parameters, where the value is a Collection of Strings.

public TelephoneNumber

Returns:

the TelephoneNumber instance created
createTelephoneNumber
()

Creates an empty TelephoneNumber instance.

public User

Returns:

the User instance created
createUser
()

Creates an empty User instance.

public BulkResponse

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
deleteObjects
(Collection<E>
a Collection of keys for the objects to be deleted
keys
)

Deletes one or more previously submitted objects from the registry using the object keys.

public BulkResponse

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
deleteObjects
(Collection<E>
a Collection of keys for the objects to be deleted
keys
,
String
the objectType attribute for the objects to be deleted
objectType
)

Deletes one or more previously submitted objects from the registry using the object keys and a specified objectType attribute.

public BulkResponse

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
deprecateObjects
(Collection<E>
a Collection of keys for the objects to be deprecated
keys
)

Deprecates one or more previously submitted objects.

public RegistryService

Returns:

the parent RegistryService
getRegistryService
()

Returns the parent RegistryService that created this object.

public BulkResponse

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
saveObjects
(Collection<E>
a potentially heterogeneous Collection of RegistryObject instances
objects
)

Saves one or more Objects to the registry.

public BulkResponse

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
unDeprecateObjects
(Collection<E>
a Collection of keys for the objects to be undeprecated
keys
)

Undeprecates one or more previously deprecated objects.