Class PermissionSet

java.lang.Object
overit.geocall.platform.PermissionSet
All Implemented Interfaces:
Serializable

public class PermissionSet extends Object implements Serializable
This class manages a set of Permissions
See Also:
  • Field Details

    • UNDEFINED_SET

      public static final PermissionSet UNDEFINED_SET
    • UNKNOWN_FUNCTIONS

      public static final PermissionSet UNKNOWN_FUNCTIONS
    • prefixes

      protected List<String> prefixes
    • description

      protected String description
    • order

      protected int order
    • module

      protected String module
  • Constructor Details

    • PermissionSet

      public PermissionSet(String prefix, String description, int order)
      Creates a new PermissionSet
      Parameters:
      prefix - The name of the Permission
      description - The description
      order - The order
    • PermissionSet

      public PermissionSet(int order, String description, String... prefix)
      Creates a new PermissionSet
      Parameters:
      order - The order
      description - The description
      prefix - The different possible names of the Permission
    • PermissionSet

      public PermissionSet(String module, int order, String description, String... prefix)
      Creates a new PermissionSet
      Parameters:
      module - The module
      order - The order
      description - The description
      prefix - The different possible names of the Permission
  • Method Details

    • getName

      public String getName()
      Returns the name
      Returns:
      The name
    • getPrefixes

      public List<String> getPrefixes()
      Returns the prefixes
      Returns:
      The prefixes
    • getDescription

      public String getDescription()
      Returns the description
      Returns:
      The description
    • getOrder

      public int getOrder()
      Returns the order
      Returns:
      The order
    • getModule

      public String getModule()
      Returns the module
      Returns:
      The module
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object