Interface Role

  • All Superinterfaces:
    java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PROP_CONTEXT_INITIALIZERS
      Constant property name for "contextInitializers" for internal storage and queries.
      static java.lang.String PROP_DESCRIPTION
      Constant property name for "description" for internal storage and queries.
      static java.lang.String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static java.lang.String PROP_NAME
      Constant property name for "name" for internal storage and queries.
      static java.lang.String PROP_PERMISSIONS
      Constant property name for "permissions" for internal storage and queries.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addContextInitializersElement​(java.lang.String contextInitializer)
      Adds a new element to the list.
      void addPermissionsElement​(java.lang.String permission)
      Adds a new element to the list.
      java.util.List<java.lang.String> getContextInitializers()
      Returns the value of the contextInitializers attribute.
      java.lang.String getContextInitializersElement​(int index)
      Returns the element at the position index in the list.
      int getContextInitializersSize()
      Returns the number of elements in the "contextInitializers" container
      java.lang.String getDescription()
      Returns the value of the description attribute.
      java.lang.String getName()
      Returns the value of the name attribute.
      java.util.List<java.lang.String> getPermissions()
      Returns the value of the permissions attribute.
      java.lang.String getPermissionsElement​(int index)
      Returns the element at the position index in the list.
      int getPermissionsSize()
      Returns the number of elements in the "permissions" container
      void removeContextInitializersElement​(int index)
      Removes the element at position index from the list.
      void removePermissionsElement​(int index)
      Removes the element at position index from the list.
      void setContextInitializers​(java.util.List<java.lang.String> value)
      Sets the value of the contextInitializers attribute.
      void setDescription​(java.lang.String value)
      Sets the value of the description attribute.
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setPermissions​(java.util.List<java.lang.String> value)
      Sets the value of the permissions attribute.
      void swapContextInitializersElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      void swapPermissionsElement​(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_NAME

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

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

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

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

      • getName

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

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

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

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

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

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

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

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

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

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

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

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