public class LDAPDirectCreateUpdateDeleteQueryExecution extends Object implements ProcedureExecution
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
executionContext |
protected LDAPExecutionFactory |
executionFactory |
protected LdapContext |
ldapConnection |
Constructor and Description |
---|
LDAPDirectCreateUpdateDeleteQueryExecution(List<Argument> arguments,
LDAPExecutionFactory factory,
ExecutionContext executionContext,
LdapContext connection,
String query,
boolean returnsArray) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the execution abnormally.
|
void |
close()
Terminates the execution normally.
|
void |
execute()
Execute the associated command.
|
List<?> |
getOutputParameterValues()
Get the output parameter values.
|
List<?> |
next()
Retrieves the next row of the resultset.
|
protected LdapContext ldapConnection
protected LDAPExecutionFactory executionFactory
protected ExecutionContext executionContext
public LDAPDirectCreateUpdateDeleteQueryExecution(List<Argument> arguments, LDAPExecutionFactory factory, ExecutionContext executionContext, LdapContext connection, String query, boolean returnsArray)
public void execute() throws TranslatorException
Execution
execute
in interface Execution
TranslatorException
public List<?> getOutputParameterValues() throws TranslatorException
ProcedureExecution
getOutputParameterValues
in interface ProcedureExecution
TranslatorException
- If an error occurs while retrieving the output valuepublic List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecution
next
in interface ResultSetExecution
TranslatorException
DataNotAvailableException
public void close()
Execution
public void cancel() throws TranslatorException
Execution
cancel
in interface Execution
TranslatorException
Copyright © 2013–2015 JBoss by Red Hat. All rights reserved.