public class EntityPermissionHandler extends BaseAbstractPermissionHandler
BaseAbstractPermissionHandler.PermissionSet| Constructor and Description |
|---|
EntityPermissionHandler() |
| 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)
TODO we only support @Id identifiers at the moment, still need to add support for @EmbeddedId etc
|
Class<?> |
unwrapResourceClass(Object resource)
Returns the formal class of the specified resource
|
createPermissionSet, listAvailableOperationspublic boolean canHandle(Class<?> resourceClass)
PermissionHandlerpublic Serializable getIdentifier(Object resource)
resource - public Class<?> unwrapResourceClass(Object resource)
PermissionHandlerCopyright © 2014. All Rights Reserved.