public class ListRolesStatement extends AuthorizationStatement
ParsedStatement.Prepared| Constructor and Description | 
|---|
| ListRolesStatement() | 
| ListRolesStatement(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) | 
| protected ResultMessage | formatResults(java.util.List<RoleResource> sortedRoles) | 
| 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, waitgetFunctionspublic ListRolesStatement()
public ListRolesStatement(RoleName grantee, boolean recursive)
public void validate(ClientState state) throws UnauthorizedException, InvalidRequestException
CQLStatementstate - the current client stateUnauthorizedExceptionInvalidRequestExceptionpublic void checkAccess(ClientState state) throws InvalidRequestException
CQLStatementstate - the current client stateInvalidRequestExceptionpublic ResultMessage execute(ClientState state) throws RequestValidationException, RequestExecutionException
execute in class AuthorizationStatementRequestValidationExceptionRequestExecutionExceptionprotected ResultMessage formatResults(java.util.List<RoleResource> sortedRoles)
Copyright © 2018 The Apache Software Foundation