All Superinterfaces:
Cloneable, net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
All Known Implementing Classes:
UserDataDocument

public interface UserData extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant property name for "id" for internal storage and queries.
    static final String
    Constant property name for "roles" for internal storage and queries.
    static final String
    Constant property name for "userId" for internal storage and queries.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new element to the list.
    Returns the value of the roles attribute.
    getRolesElement(int index)
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "roles" container
    Returns the value of the userId attribute.
    void
    removeRolesElement(int index)
    Removes the element at position index from the list.
    void
    Sets the value of the roles attribute.
    void
    Sets the value of the userId attribute.
    void
    swapRolesElement(int index1, int index2)
    Swaps elements at positions index1 and index2 in the list.

    Methods inherited from interface net.anotheria.asg.data.DataObject

    clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode

    Methods inherited from interface net.anotheria.util.sorter.IComparable

    compareTo
  • Field Details

    • PROP_ID

      static final String PROP_ID
      Constant property name for "id" for internal storage and queries.
      See Also:
    • PROP_USER_ID

      static final String PROP_USER_ID
      Constant property name for "userId" for internal storage and queries.
      See Also:
    • PROP_ROLES

      static final String PROP_ROLES
      Constant property name for "roles" for internal storage and queries.
      See Also:
  • Method Details

    • getUserId

      String getUserId()
      Returns the value of the userId attribute.
    • setUserId

      void setUserId(String value)
      Sets the value of the userId attribute.
    • getRoles

      List<String> getRoles()
      Returns the value of the roles attribute.
    • setRoles

      void setRoles(List<String> value)
      Sets the value of the roles attribute.
    • getRolesSize

      int getRolesSize()
      Returns the number of elements in the "roles" container
    • addRolesElement

      void addRolesElement(String role)
      Adds a new element to the list.
    • removeRolesElement

      void removeRolesElement(int index)
      Removes the element at position index from the list.
    • swapRolesElement

      void swapRolesElement(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
    • getRolesElement

      String getRolesElement(int index)
      Returns the element at the position index in the list.