public class ListPermissionsStatement extends AuthorizationStatement
ParsedStatement.Prepared| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.Set<Permission> | permissions | 
| protected boolean | recursive | 
| protected IResource | resource | 
| Constructor and Description | 
|---|
| ListPermissionsStatement(java.util.Set<Permission> permissions,
                        IResource resource,
                        RoleName grantee,
                        boolean recursive) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | checkAccess(ClientState state)Perform any access verification necessary for the statement. | 
| ResultMessage | execute(ClientState state) | 
| void | validate(ClientState state)Perform additional validation required by the statment. | 
execute, executeInternal, getBoundTerms, maybeCorrectResource, preparegetBoundVariables, getFunctions, setBoundVariables, setBoundVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFunctionsprotected final java.util.Set<Permission> permissions
protected IResource resource
protected final boolean recursive
public ListPermissionsStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee, boolean recursive)
public void validate(ClientState state) throws RequestValidationException
CQLStatementstate - the current client stateRequestValidationExceptionpublic void checkAccess(ClientState state)
CQLStatementstate - the current client statepublic ResultMessage execute(ClientState state) throws RequestValidationException, RequestExecutionException
execute in class AuthorizationStatementRequestValidationExceptionRequestExecutionExceptionCopyright © 2018 The Apache Software Foundation