Class UserImpl

  • All Implemented Interfaces:
    Serializable, javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.RegistryObject, javax.xml.registry.infomodel.User

    public class UserImpl
    extends RegistryObjectImpl
    implements javax.xml.registry.infomodel.User, Serializable
    Author:
    kwalsh, Bobby Bissett
    See Also:
    Serialized Form
    • Constructor Detail

      • UserImpl

        public UserImpl()
        Default constructor
    • Method Detail

      • getOrganization

        public javax.xml.registry.infomodel.Organization getOrganization()
                                                                  throws javax.xml.registry.JAXRException
        Gets the submitting organization
        Specified by:
        getOrganization in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • getPersonName

        public javax.xml.registry.infomodel.PersonName getPersonName()
                                                              throws javax.xml.registry.JAXRException
        Name of contact person
        Specified by:
        getPersonName in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • setPersonName

        public void setPersonName​(javax.xml.registry.infomodel.PersonName personName)
                           throws javax.xml.registry.JAXRException
        Sets Name of contact person.
        Specified by:
        setPersonName in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • getPostalAddresses

        public Collection getPostalAddresses()
                                      throws javax.xml.registry.JAXRException
        The postal addresses for this Contact.
        Specified by:
        getPostalAddresses in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • setPostalAddresses

        public void setPostalAddresses​(Collection addresses)
                                throws javax.xml.registry.JAXRException
        Sets the addresses. Treat null parameter as empty collection.
        Specified by:
        setPostalAddresses in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • getTelephoneNumbers

        public Collection getTelephoneNumbers​(String phoneType)
                                       throws javax.xml.registry.JAXRException
        Gets the telephone numbers for this User that match the specified telephone number type. If phoneType is null return all telephoneNumbers
        Specified by:
        getTelephoneNumbers in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • setTelephoneNumbers

        public void setTelephoneNumbers​(Collection phoneNumbers)
                                 throws javax.xml.registry.JAXRException
        Set the various telephone numbers for this user. Treat null param as an empty collection.
        Specified by:
        setTelephoneNumbers in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • getEmailAddresses

        public Collection getEmailAddresses()
                                     throws javax.xml.registry.JAXRException
        Get the user email addresses
        Specified by:
        getEmailAddresses in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • setEmailAddresses

        public void setEmailAddresses​(Collection addresses)
                               throws javax.xml.registry.JAXRException
        Set the user email addresses. Treat null param as an empty collection.
        Specified by:
        setEmailAddresses in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • getType

        public String getType()
                       throws javax.xml.registry.JAXRException
        Get user type
        Specified by:
        getType in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • setType

        public void setType​(String type)
                     throws javax.xml.registry.JAXRException
        Set user type
        Specified by:
        setType in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • getUrl

        public URL getUrl()
                   throws javax.xml.registry.JAXRException
        Level 1 method
        Specified by:
        getUrl in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • setUrl

        public void setUrl​(URL url)
                    throws javax.xml.registry.JAXRException
        Sets the URL to the web page for this contact.
        Specified by:
        setUrl in interface javax.xml.registry.infomodel.User
        Throws:
        javax.xml.registry.JAXRException
      • setOrganization

        public void setOrganization​(javax.xml.registry.infomodel.Organization org)
                             throws javax.xml.registry.JAXRException
        Internal method for setting user organization
        Throws:
        javax.xml.registry.JAXRException