Interface UserData

  • All Superinterfaces:
    java.lang.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 java.lang.String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static java.lang.String PROP_ROLES
      Constant property name for "roles" for internal storage and queries.
      static java.lang.String PROP_USER_ID
      Constant property name for "userId" for internal storage and queries.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addRolesElement​(java.lang.String role)
      Adds a new element to the list.
      java.util.List<java.lang.String> getRoles()
      Returns the value of the roles attribute.
      java.lang.String getRolesElement​(int index)
      Returns the element at the position index in the list.
      int getRolesSize()
      Returns the number of elements in the "roles" container
      java.lang.String getUserId()
      Returns the value of the userId attribute.
      void removeRolesElement​(int index)
      Removes the element at position index from the list.
      void setRoles​(java.util.List<java.lang.String> value)
      Sets the value of the roles attribute.
      void setUserId​(java.lang.String value)
      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 Detail

      • PROP_ID

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

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

        static final java.lang.String PROP_ROLES
        Constant property name for "roles" for internal storage and queries.
        See Also:
        Constant Field Values
    • Method Detail

      • getUserId

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

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

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

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

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

        void addRolesElement​(java.lang.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

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