|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
Organization,
AuditableEvent| Method Summary | |
Collection |
getEmailAddresses()
Gets the email addresses for this User. |
Organization |
getOrganization()
Gets the Organization that this User is affiliated with. |
PersonName |
getPersonName()
Returns the name of this User. |
Collection |
getPostalAddresses()
Gets the postal address for this User. |
Collection |
getTelephoneNumbers(String phoneType)
Gets the telephone numbers for this User that match the specified telephone number type. |
String |
getType()
Gets the type for this User. |
URL |
getUrl()
Gets the URL to the web page for this User. |
void |
setEmailAddresses(Collection emailAddresses)
Sets the Collection of EmailAddress instances for this User. |
void |
setPersonName(PersonName personName)
Sets the name of this User. |
void |
setPostalAddresses(Collection addresses)
Sets the addresses for this User. |
void |
setTelephoneNumbers(Collection phoneNumbers)
Sets the various telephone numbers for this user. |
void |
setType(String type)
Sets the type for this User. |
void |
setUrl(URL url)
Sets the URL to the web page for this User. |
| Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
| Method Detail |
public Organization getOrganization() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic PersonName getPersonName() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void setPersonName(PersonName personName) throws JAXRException
personName - the name of this User
JAXRException - If the JAXR provider encounters an internal errorpublic Collection getPostalAddresses() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorPostalAddresspublic void setPostalAddresses(Collection addresses) throws JAXRException
addresses - Is a Collection of PostAddress instances.
JAXRException - If the JAXR provider encounters an internal errorpublic URL getUrl() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void setUrl(URL url) throws JAXRException
url - the URL for this User's home page
JAXRException - If the JAXR provider encounters an internal errorpublic Collection getTelephoneNumbers(String phoneType) throws JAXRException
phoneType - specifies the type of phone numbers to be returned. If phoneType is null, return all telephoneNumbers
JAXRException - If the JAXR provider encounters an internal errorTelephoneNumberpublic void setTelephoneNumbers(Collection phoneNumbers) throws JAXRException
phoneNumbers - the Collection of TelephoneNumbers to be set
JAXRException - If the JAXR provider encounters an internal errorpublic Collection getEmailAddresses() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorEmailAddresspublic void setEmailAddresses(Collection emailAddresses) throws JAXRException
emailAddresses - the Collection of EmailAddresses to be set
JAXRException - If the JAXR provider encounters an internal errorpublic String getType() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void setType(String type) throws JAXRException
type - the type for this User, which is an arbitrary String
JAXRException - If the JAXR provider encounters an internal error
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.