Class BaseMultipleEntitiesCommand<BE extends BaseEntity,F extends BaseForm>
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseSimpleCommand<F>
com.echothree.util.server.control.BaseMultipleEntitiesCommand<BE,F>
- All Implemented Interfaces:
GraphQlSecurityCommand<F>,ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
- Direct Known Subclasses:
GetCitiesCommand,GetCompaniesCommand,GetContentForumsCommand,GetCountiesCommand,GetCountriesCommand,GetDateTimeFormatsCommand,GetDepartmentsCommand,GetDivisionsCommand,GetEntityIntegerRangesCommand,GetEntityListItemsCommand,GetEntityLongRangesCommand,GetEntityTagsCommand,GetEventsCommand,GetFilterAdjustmentAmountsCommand,GetFilterAdjustmentFixedAmountsCommand,GetFilterAdjustmentPercentsCommand,GetFilterAdjustmentsCommand,GetFilterAdjustmentSourcesCommand,GetFilterAdjustmentTypesCommand,GetFiltersCommand,GetFilterStepsCommand,GetFilterTypesCommand,GetGeoCodeScopesCommand,GetGeoCodeTypesCommand,GetItemVolumeTypesCommand,GetItemWeightTypesCommand,GetLanguagesCommand,GetMimeTypeFileExtensionsCommand,GetMimeTypeUsagesCommand,GetMimeTypeUsageTypesCommand,GetOfferChainTypesCommand,GetOfferCustomerTypesCommand,GetOfferItemPricesCommand,GetOfferItemsCommand,GetOfferNameElementsCommand,GetOfferUsesCommand,GetPartiesCommand,GetPartyAliasesCommand,GetPartyAliasTypesCommand,GetPartyRelationshipsCommand,GetPartyTypesCommand,GetPaymentMethodTypesCommand,GetPaymentProcessorActionTypesCommand,GetPaymentProcessorResultCodesCommand,GetPaymentProcessorsCommand,GetPaymentProcessorTransactionCodesCommand,GetPaymentProcessorTransactionsCommand,GetPaymentProcessorTypesCommand,GetRoleTypesCommand,GetSelectorsCommand,GetSelectorTypesCommand,GetSequencesCommand,GetShippingMethodsCommand,GetSourcesCommand,GetStatesCommand,GetTagScopeEntityTypesCommand,GetTermsCommand,GetTermTypesCommand,GetTimeZonesCommand,GetTransactionTimeTypesCommand,GetUnitOfMeasureKindUsesCommand,GetUseNameElementsCommand,GetUserVisitGroupsCommand,GetVendorItemCostsCommand,GetVendorItemsCommand,GetWorkflowDestinationSelectorsCommand,GetWorkflowEntranceSelectorsCommand,GetWorkflowSelectorKindsCommand,GetZipCodesCommand
public abstract class BaseMultipleEntitiesCommand<BE extends BaseEntity,F extends BaseForm>
extends BaseSimpleCommand<F>
implements GraphQlSecurityCommand<F>
-
Field Summary
Fields 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, securityRoleLogic, session, userControl -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseMultipleEntitiesCommand(CommandSecurityDefinition commandSecurityDefinition, List<FieldDefinition> formFieldDefinitions, boolean allowLimits) -
Method Summary
Modifier and TypeMethodDescriptionprotected BaseResultexecute()protected abstract Collection<BE> getEntitiesForGraphQl(UserVisitPK userVisitPK, F form) protected abstract BaseResultgetResult(Collection<BE> entities) security(UserVisitPK userVisitPK, F form) 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, getLog, 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, teardownSessionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.echothree.util.server.control.GraphQlSecurityCommand
hasSecurityMessages
-
Constructor Details
-
BaseMultipleEntitiesCommand
protected BaseMultipleEntitiesCommand(CommandSecurityDefinition commandSecurityDefinition, List<FieldDefinition> formFieldDefinitions, boolean allowLimits)
-
-
Method Details
-
getEntities
-
getResult
-
getEntitiesForGraphQl
-
security
- Specified by:
securityin interfaceGraphQlSecurityCommand<BE extends BaseEntity>
-
execute
- Specified by:
executein classBaseCommand
-