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, listClassOperations, listInstanceOperations
public boolean canHandle(Class<?> resourceClass)
PermissionHandler
public Serializable getIdentifier(Object resource)
resource
- public Class<?> unwrapResourceClass(Object resource)
PermissionHandler
Copyright © 2018 JBoss by Red Hat. All rights reserved.