javax.xml.registry.infomodel

Interface User

  • All Superinterfaces:
    ExtensibleObject, RegistryObject

    public interface User
    extends 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:
    Organization, AuditableEvent
    • Method Detail

      • getOrganization

        Organization getOrganization()
                              throws JAXRException
        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 JAXR provider encounters an internal error
      • getPersonName

        PersonName getPersonName()
                          throws JAXRException
        Returns the name of this User.

        Capability Level: 0
        Returns:
        the name of this User
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setPersonName

        void setPersonName(PersonName personName)
                    throws JAXRException
        Sets the name of this User.

        Capability Level: 0
        Parameters:
        personName - the name of this User
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getPostalAddresses

        Collection getPostalAddresses()
                               throws JAXRException
        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 JAXR provider encounters an internal error
        See Also:
        PostalAddress
      • setPostalAddresses

        void setPostalAddresses(Collection addresses)
                         throws JAXRException
        Sets the addresses for this User.

        Capability Level: 0
        Parameters:
        addresses - Is a Collection of PostAddress instances.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getUrl

        URL getUrl()
            throws JAXRException
        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 JAXR provider encounters an internal error
      • setUrl

        void setUrl(URL url)
             throws JAXRException
        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 JAXR provider encounters an internal error
      • getTelephoneNumbers

        Collection getTelephoneNumbers(String phoneType)
                                throws JAXRException
        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 JAXR provider encounters an internal error
        See Also:
        TelephoneNumber
      • setTelephoneNumbers

        void setTelephoneNumbers(Collection phoneNumbers)
                          throws JAXRException
        Sets the various telephone numbers for this user.

        Capability Level: 0
        Parameters:
        phoneNumbers - the Collection of TelephoneNumbers to be set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getEmailAddresses

        Collection getEmailAddresses()
                              throws JAXRException
        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 JAXR provider encounters an internal error
        See Also:
        EmailAddress
      • setEmailAddresses

        void setEmailAddresses(Collection emailAddresses)
                        throws JAXRException
        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 JAXR provider encounters an internal error
      • getType

        String getType()
                throws JAXRException
        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 JAXR provider encounters an internal error
      • setType

        void setType(String type)
              throws JAXRException
        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 JAXR provider encounters an internal error

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

21/08/2025 17:02:51 Cette version de la page est en cache (à la date du 21/08/2025 17:02:51) afin d'accélérer le traitement.
Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 18/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/xml/registry/infomodel/User.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, User (Java(TM) EE 7 Specification APIs)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.