|
SunONE Application Server v8.0 PE | |||||||||
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 | |
java.util.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. |
java.util.Collection |
getPostalAddresses()
Gets the postal address for this User. |
java.util.Collection |
getTelephoneNumbers(java.lang.String phoneType)
Gets the telephone numbers for this User that match the specified telephone number type. |
java.lang.String |
getType()
Gets the type for this User. |
java.net.URL |
getUrl()
Gets the URL to the web page for this User. |
void |
setEmailAddresses(java.util.Collection emailAddresses)
Sets the Collection of EmailAddress instances for this User. |
void |
setPersonName(PersonName personName)
Sets the name of this User. |
void |
setPostalAddresses(java.util.Collection addresses)
Sets the addresses for this User. |
void |
setTelephoneNumbers(java.util.Collection phoneNumbers)
Sets the various telephone numbers for this user. |
void |
setType(java.lang.String type)
Sets the type for this User. |
void |
setUrl(java.net.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 java.util.Collection getPostalAddresses() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorPostalAddress
public void setPostalAddresses(java.util.Collection addresses) throws JAXRException
addresses
- Is a Collection of PostAddress instances.
JAXRException
- If the JAXR provider encounters an internal errorpublic java.net.URL getUrl() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setUrl(java.net.URL url) throws JAXRException
url
- the URL for this User's home page
JAXRException
- If the JAXR provider encounters an internal errorpublic java.util.Collection getTelephoneNumbers(java.lang.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 errorTelephoneNumber
public void setTelephoneNumbers(java.util.Collection phoneNumbers) throws JAXRException
phoneNumbers
- the Collection of TelephoneNumbers to be set
JAXRException
- If the JAXR provider encounters an internal errorpublic java.util.Collection getEmailAddresses() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorEmailAddress
public void setEmailAddresses(java.util.Collection emailAddresses) throws JAXRException
emailAddresses
- the Collection of EmailAddresses to be set
JAXRException
- If the JAXR provider encounters an internal errorpublic java.lang.String getType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setType(java.lang.String type) throws JAXRException
type
- the type for this User, which is an arbitrary String
JAXRException
- If the JAXR provider encounters an internal error
|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.