Package javax.xml.registry.infomodel
Interface User
- All Superinterfaces:
ExtensibleObject,RegistryObject
User instances are RegistryObjects that are used to provide information about registered users within the registry. Users are affiliated with Organizations. User objects are used in the audit trail for a RegistryObject.
- Author:
- Farrukh S. Najmi
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the email addresses for this User.Gets the Organization that this User is affiliated with.Returns the name of this User.Gets the postal address for this User.getTelephoneNumbers(String phoneType) Gets the telephone numbers for this User that match the specified telephone number type.getType()Gets the type for this User.getUrl()Gets the URL to the web page for this User.voidsetEmailAddresses(Collection emailAddresses) Sets the Collection of EmailAddress instances for this User.voidsetPersonName(PersonName personName) Sets the name of this User.voidsetPostalAddresses(Collection addresses) Sets the addresses for this User.voidsetTelephoneNumbers(Collection phoneNumbers) Sets the various telephone numbers for this user.voidSets the type for this User.voidSets the URL to the web page for this User.Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotsMethods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
-
Method Details
-
getOrganization
Gets the Organization that this User is affiliated with.- Capability Level: 0
- Returns:
- the Organization that this User is affiliated with
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error- See Also:
-
getPersonName
Returns the name of this User.- Capability Level: 0
- Returns:
- the name of this User
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setPersonName
Sets the name of this User.- Capability Level: 0
- Parameters:
personName- the name of this User- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getPostalAddresses
Gets the postal address for this User.- Capability Level: 0
- Returns:
- Collection of PostalAddress instances. The Collection may be empty but not null.
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error- See Also:
-
setPostalAddresses
Sets the addresses for this User.- Capability Level: 0
- Parameters:
addresses- Is a Collection of PostAddress instances.- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getUrl
Gets the URL to the web page for this User.- Capability Level: 1
- Returns:
- the URL for this User's home page
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setUrl
Sets the URL to the web page for this User.- Capability Level: 1
- Parameters:
url- the URL for this User's home page- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getTelephoneNumbers
Gets the telephone numbers for this User that match the specified telephone number type.- Capability Level: 0
- Parameters:
phoneType- specifies the type of phone numbers to be returned. If phoneType is null, return all telephoneNumbers- Returns:
- Collection of TelephoneNumber instances. The Collection may be empty but not null.
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error- See Also:
-
setTelephoneNumbers
Sets the various telephone numbers for this user.- Capability Level: 0
- Parameters:
phoneNumbers- the Collection of TelephoneNumbers to be set- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getEmailAddresses
Gets the email addresses for this User.- Capability Level: 0
- Returns:
- Collection of EmailAddress instances. The Collection may be empty but not null.
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error- See Also:
-
setEmailAddresses
Sets the Collection of EmailAddress instances for this User.- Capability Level: 0
- Parameters:
emailAddresses- the Collection of EmailAddresses to be set- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getType
Gets the type for this User. Default is a NULL String.- Capability Level: 0
- Returns:
- the type for this User, which is an arbitrary String
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setType
Sets the type for this User.- Capability Level: 0
- Parameters:
type- the type for this User, which is an arbitrary String- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-