Class UsersAndGroupsRoleEntity

  • All Implemented Interfaces:
    Serializable, WebEntity

    public class UsersAndGroupsRoleEntity
    extends AbstractTypeEntity
    This entity provides the users and groups that are in the role for the parent URI that represents, for example, a space or a component. Users and groups are represented by their URI, user and group information are retrieved by user profile and group profile Web-Services.
    Author:
    Yohann Chastagnier
    See Also:
    Serialized Form
    • Constructor Detail

      • UsersAndGroupsRoleEntity

        protected UsersAndGroupsRoleEntity()
    • Method Detail

      • withURI

        public UsersAndGroupsRoleEntity withURI​(URI uri)
        Sets a URI to this entity. With this URI, it can then be accessed through the Web.
        Parameters:
        uri - the web entity URI.
        Returns:
        itself.
      • withParentURI

        public UsersAndGroupsRoleEntity withParentURI​(URI parentURI)
        Sets a parent URI to this entity. It could be a space URI or a component URI for example.
        Parameters:
        parentURI - the parent web entity URI.
        Returns:
        itself.
      • getURI

        public URI getURI()
        Description copied from interface: WebEntity
        Gets the URI at which this web entity is published and can be accessed.
        Returns:
        the web entity URI.
      • getParentURI

        protected final URI getParentURI()
      • getLabel

        public String getLabel()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object