Class ExecuteGraphQlCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseSimpleCommand<ExecuteGraphQlForm>
com.echothree.control.user.graphql.server.command.ExecuteGraphQlCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.echothree.util.server.control.BaseSimpleCommand
form, mimeTypeControlFields inherited from class com.echothree.util.server.control.BaseCommand
commandControl, componentControl, coreControl, entityTypeControl, eventControl, log, securityRoleLogic, session, userControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbeginIdempotency(String idempotencyKey, graphql.ExecutionInput input, ExecuteGraphQlCommand.IdempotencyState idempotencyState) protected BaseResultexecute()protected StringfinishExecution(graphql.ExecutionResult executionResult, ExecuteGraphQlCommand.IdempotencyState idempotencyState) protected graphql.execution.instrumentation.SimplePerformantInstrumentationgetInstrumentation(String idempotencyKey, ExecuteGraphQlCommand.IdempotencyState idempotencyState) protected StringhashVariables(Map<String, Object> variables) toJson(graphql.ExecutionResult executionResult) Methods inherited from class com.echothree.util.server.control.BaseSimpleCommand
canQueryByGraphQl, getForm, getFormFieldDefinitions, run, runAsync, setupPreferredClobMimeType, setupSession, setupValidator, validate, validateMethods inherited from class com.echothree.util.server.control.BaseCommand
addExecutionError, addExecutionError, addExecutionWarning, addExecutionWarning, addSecurityMessage, addSecurityMessage, canSpecifyParty, checkCommandSecurityDefinition, checkOptionalSecurityRoles, getBaseResultAfterErrors, getCheckIdentityVerifiedTime, getCommandName, getCommandSecurityDefinition, getCompanyParty, getComponentVendorName, getExecutionErrors, getExecutionWarnings, getInsufficientSecurityResult, getLogCommand, getParty, getPartyPK, getPartyType, getPartyTypeName, getPreferredCurrency, getPreferredCurrency, getPreferredDateTimeFormat, getPreferredDateTimeFormat, getPreferredLanguage, getPreferredLanguage, getPreferredTimeZone, getPreferredTimeZone, getSecurityMessages, getSession, getUpdateLastCommandTime, getUserControl, getUserSession, getUserVisit, getUserVisitForUpdate, getUserVisitPK, hasExecutionErrors, hasExecutionWarnings, hasSecurityMessages, initSession, removeFilteredTransferProperty, removeOption, run, runAsync, security, selfOnly, sendEvent, sendEvent, sendEvent, setCheckIdentityVerifiedTime, setLogCommand, setUpdateLastCommandTime, setUserVisitPK, teardownSession
-
Field Details
-
idempotentResponseControl
-
-
Constructor Details
-
ExecuteGraphQlCommand
public ExecuteGraphQlCommand()Creates a new instance of ExecuteGraphQlCommand
-
-
Method Details
-
hashVariables
-
beginIdempotency
protected void beginIdempotency(String idempotencyKey, graphql.ExecutionInput input, ExecuteGraphQlCommand.IdempotencyState idempotencyState) -
finishExecution
protected String finishExecution(graphql.ExecutionResult executionResult, ExecuteGraphQlCommand.IdempotencyState idempotencyState) -
toJson
-
getInstrumentation
protected graphql.execution.instrumentation.SimplePerformantInstrumentation getInstrumentation(String idempotencyKey, ExecuteGraphQlCommand.IdempotencyState idempotencyState) -
execute
- Specified by:
executein classBaseCommand
-