public abstract class Permission extends Object
Constructor and Description |
---|
Permission(Class<?> resourceClass,
Serializable resourceIdentifier,
String operation) |
Permission(Object resource,
String operation) |
Modifier and Type | Method and Description |
---|---|
String |
getOperation()
Returns the permission operation
|
Object |
getResource()
Returns the resource object if known, otherwise returns null.
|
Class<?> |
getResourceClass()
Returns the resource class if the actual resource instance is not known, otherwise returns null.
|
Serializable |
getResourceIdentifier()
Returns the resource identifier if the actual resource instance is not known, otherwise returns null.
|
public Permission(Class<?> resourceClass, Serializable resourceIdentifier, String operation)
public Object getResource()
public Class<?> getResourceClass()
public Serializable getResourceIdentifier()
public String getOperation()
Copyright © 2018 JBoss by Red Hat. All rights reserved.