Package overit.geocall.platform
Class PermissionSet
java.lang.Object
overit.geocall.platform.PermissionSet
- All Implemented Interfaces:
Serializable
This class manages a set of Permissions
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected intstatic final PermissionSetstatic final PermissionSet -
Constructor Summary
ConstructorsConstructorDescriptionPermissionSet(int order, String description, String... prefix) Creates a new PermissionSetPermissionSet(String module, int order, String description, String... prefix) Creates a new PermissionSetPermissionSet(String prefix, String description, int order) Creates a new PermissionSet -
Method Summary
-
Field Details
-
UNDEFINED_SET
-
UNKNOWN_FUNCTIONS
-
prefixes
-
description
-
order
protected int order -
module
-
-
Constructor Details
-
PermissionSet
Creates a new PermissionSet- Parameters:
prefix- The name of the Permissiondescription- The descriptionorder- The order
-
PermissionSet
Creates a new PermissionSet- Parameters:
order- The orderdescription- The descriptionprefix- The different possible names of the Permission
-
PermissionSet
Creates a new PermissionSet- Parameters:
module- The moduleorder- The orderdescription- The descriptionprefix- The different possible names of the Permission
-
-
Method Details
-
getName
Returns the name- Returns:
- The name
-
getPrefixes
Returns the prefixes- Returns:
- The prefixes
-
getDescription
Returns the description- Returns:
- The description
-
getOrder
public int getOrder()Returns the order- Returns:
- The order
-
getModule
Returns the module- Returns:
- The module
-
hashCode
public int hashCode() -
equals
-
toString
-