|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface User
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 |
---|
Organization getOrganization() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorPersonName getPersonName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setPersonName(PersonName personName) throws JAXRException
personName
- the name of this User
JAXRException
- If the JAXR provider encounters an internal errorCollection getPostalAddresses() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorPostalAddress
void setPostalAddresses(Collection addresses) throws JAXRException
addresses
- Is a Collection of PostAddress instances.
JAXRException
- If the JAXR provider encounters an internal errorURL getUrl() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setUrl(URL url) throws JAXRException
url
- the URL for this User's home page
JAXRException
- If the JAXR provider encounters an internal errorCollection 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 errorTelephoneNumber
void setTelephoneNumbers(Collection phoneNumbers) throws JAXRException
phoneNumbers
- the Collection of TelephoneNumbers to be set
JAXRException
- If the JAXR provider encounters an internal errorCollection getEmailAddresses() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorEmailAddress
void setEmailAddresses(Collection emailAddresses) throws JAXRException
emailAddresses
- the Collection of EmailAddresses to be set
JAXRException
- If the JAXR provider encounters an internal errorString getType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.