Class ReadPermissionImpl
java.lang.Object
org.tentackle.security.permissions.AbstractPermission
org.tentackle.security.permissions.AbstractPdoPermission
org.tentackle.security.permissions.ReadPermissionImpl
- All Implemented Interfaces:
Comparable<Permission>, Permission, ReadPermission
@PermissionService(ReadPermission.class)
public final class ReadPermissionImpl
extends AbstractPdoPermission
implements ReadPermission
Permission to read.
- Author:
- harald
-
Field Summary
Fields inherited from interface ReadPermission
NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractPdoPermission
appliesToMethods inherited from class AbstractPermission
compareTo, equals, getDescription, getPermissionInterface, hashCode, isAllowedBy, isDeniedBy, toStringMethods inherited from interface Comparable
compareToMethods inherited from interface Permission
appliesTo, getDescription, getPermissionInterface, isAllowedBy, isDeniedBy
-
Constructor Details
-
ReadPermissionImpl
public ReadPermissionImpl()Creates the read permission.
-
-
Method Details
-
getName
Description copied from interface:PermissionGets the unique name of the permission.
The name must conform to the rules of a java identifier, must be unique among all permissions and should be reasonably short.- Specified by:
getNamein interfacePermission- Returns:
- the name, never null
-