public class ClassPermissionHandler extends BaseAbstractPermissionHandler implements PermissionHandler
BaseAbstractPermissionHandler.PermissionSet
Constructor and Description |
---|
ClassPermissionHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(Class<?> resourceClass)
Returns true if the implementation can handle resources of the specified class
|
Serializable |
getIdentifier(Object resource)
Returns a Serializable identifier value that can be used to uniquely identify the specified resource
|
Class<?> |
unwrapResourceClass(Object resource)
Returns the formal class of the specified resource
|
createPermissionSet, listClassOperations, listInstanceOperations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
listClassOperations, listInstanceOperations
public boolean canHandle(Class<?> resourceClass)
PermissionHandler
canHandle
in interface PermissionHandler
public Serializable getIdentifier(Object resource)
PermissionHandler
getIdentifier
in interface PermissionHandler
public Class<?> unwrapResourceClass(Object resource)
PermissionHandler
unwrapResourceClass
in interface PermissionHandler
Copyright © 2015. All rights reserved.