Class ModifyDirEntryExecution
- java.lang.Object
-
- de.gematik.ti.epa.vzd.gem.command.commandExecutions.ExecutionBase
-
- de.gematik.ti.epa.vzd.gem.command.commandExecutions.ModifyDirEntryExecution
-
- All Implemented Interfaces:
java.util.concurrent.Callable<BaseExecutionResult>
public class ModifyDirEntryExecution extends ExecutionBase
Specific execution for Command "ModifyDirectoryEntry"
-
-
Field Summary
-
Fields inherited from class de.gematik.ti.epa.vzd.gem.command.commandExecutions.ExecutionBase
commands, connectionPool, execCommand, FIRST_INDEX
-
-
Constructor Summary
Constructors Constructor Description ModifyDirEntryExecution(IConnectionPool connectionPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckValidation(CommandType command)Every single executor validates their commands and log the missing or wrong valuesprotected java.util.concurrent.Callable<java.lang.Boolean>createCallable(CommandType command)Creates Callable to execute one commandprotected ExecutionResultexecuteCommand(CommandType command, GemApiClient apiClient)Function that execute one command and logs the result-
Methods inherited from class de.gematik.ti.epa.vzd.gem.command.commandExecutions.ExecutionBase
call, canHandleCommand, extractExecutorName, getUid, getUidByTelematikId, isEntryPresent, postCheck, preCheck, searchByUserCertificate
-
-
-
-
Constructor Detail
-
ModifyDirEntryExecution
public ModifyDirEntryExecution(IConnectionPool connectionPool)
-
-
Method Detail
-
checkValidation
public boolean checkValidation(CommandType command)
Description copied from class:ExecutionBaseEvery single executor validates their commands and log the missing or wrong values- Specified by:
checkValidationin classExecutionBase- Returns:
-
createCallable
protected java.util.concurrent.Callable<java.lang.Boolean> createCallable(CommandType command)
Description copied from class:ExecutionBaseCreates Callable to execute one command- Specified by:
createCallablein classExecutionBase- Returns:
-
executeCommand
protected ExecutionResult executeCommand(CommandType command, GemApiClient apiClient) throws ApiException
Function that execute one command and logs the result- Parameters:
command-- Returns:
- Throws:
ApiException
-
-