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

public interface Role extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
  • Field Details

    • PROP_ID

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

      static final String PROP_NAME
      Constant property name for "name" for internal storage and queries.
      See Also:
    • PROP_PERMISSIONS

      static final String PROP_PERMISSIONS
      Constant property name for "permissions" for internal storage and queries.
      See Also:
    • PROP_CONTEXT_INITIALIZERS

      static final String PROP_CONTEXT_INITIALIZERS
      Constant property name for "contextInitializers" for internal storage and queries.
      See Also:
    • PROP_DESCRIPTION

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

    • getName

      String getName()
      Returns the value of the name attribute.
    • setName

      void setName(String value)
      Sets the value of the name attribute.
    • getPermissions

      List<String> getPermissions()
      Returns the value of the permissions attribute.
    • setPermissions

      void setPermissions(List<String> value)
      Sets the value of the permissions attribute.
    • getContextInitializers

      List<String> getContextInitializers()
      Returns the value of the contextInitializers attribute.
    • setContextInitializers

      void setContextInitializers(List<String> value)
      Sets the value of the contextInitializers attribute.
    • getDescription

      String getDescription()
      Returns the value of the description attribute.
    • setDescription

      void setDescription(String value)
      Sets the value of the description attribute.
    • getPermissionsSize

      int getPermissionsSize()
      Returns the number of elements in the "permissions" container
    • addPermissionsElement

      void addPermissionsElement(String permission)
      Adds a new element to the list.
    • removePermissionsElement

      void removePermissionsElement(int index)
      Removes the element at position index from the list.
    • swapPermissionsElement

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

      String getPermissionsElement(int index)
      Returns the element at the position index in the list.
    • getContextInitializersSize

      int getContextInitializersSize()
      Returns the number of elements in the "contextInitializers" container
    • addContextInitializersElement

      void addContextInitializersElement(String contextInitializer)
      Adds a new element to the list.
    • removeContextInitializersElement

      void removeContextInitializersElement(int index)
      Removes the element at position index from the list.
    • swapContextInitializersElement

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

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