public class ObjectPermission extends Object implements Permission<ObjectPermission.Type>
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectPermission.Type
Specific types of object-level permissions.
|
| Constructor and Description |
|---|
ObjectPermission(ObjectPermission.Type type,
String identifier)
Creates a new ObjectPermission having the given type and identifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getObjectIdentifier()
Returns the identifier of the specific object affected by this
permission.
|
ObjectPermission.Type |
getType()
Returns the type of operation affected by this permission.
|
int |
hashCode() |
public ObjectPermission(ObjectPermission.Type type, String identifier)
type - The type of operation affected by this permission.identifier - The identifier of the object associated with the operation affected
by this permission.public String getObjectIdentifier()
public ObjectPermission.Type getType()
PermissiongetType in interface Permission<ObjectPermission.Type>Copyright © 2015. All rights reserved.