Class BasePaginatedMultipleEntitiesCommand<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.BasePaginatedMultipleEntitiesCommand<BE,F>
- All Implemented Interfaces:
GraphQlSecurityCommand
,ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
- Direct Known Subclasses:
GetComponentVendorsCommand
,GetCurrenciesCommand
,GetEntityAliasesCommand
,GetEntityAliasTypesCommand
,GetEntityAttributeEntityAttributeGroupsCommand
,GetEntityAttributeGroupsCommand
,GetEntityAttributesCommand
,GetEntityAttributeTypesCommand
,GetEntityInstancesCommand
,GetEntityTypesCommand
,GetGlAccountCategoriesCommand
,GetGlAccountClassesCommand
,GetGlAccountsCommand
,GetGlAccountTypesCommand
,GetGlResourceTypesCommand
,GetItemAccountingCategoriesCommand
,GetSecurityRoleGroupsCommand
,GetSecurityRolesCommand
,GetSymbolPositionsCommand
,GetWorkflowDestinationPartyTypesCommand
,GetWorkflowDestinationsCommand
,GetWorkflowDestinationSecurityRolesCommand
,GetWorkflowDestinationStepsCommand
,GetWorkflowEntityStatusesCommand
,GetWorkflowEntityTypesCommand
,GetWorkflowEntrancePartyTypesCommand
,GetWorkflowEntrancesCommand
,GetWorkflowEntranceSecurityRolesCommand
,GetWorkflowEntranceStepsCommand
,GetWorkflowsCommand
,GetWorkflowStepsCommand
,GetWorkflowStepTypesCommand
public abstract class BasePaginatedMultipleEntitiesCommand<BE extends BaseEntity,F extends BaseForm>
extends BaseSimpleCommand<F>
implements GraphQlSecurityCommand
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseSimpleCommand
form
Fields inherited from class com.echothree.util.server.control.BaseCommand
session
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BasePaginatedMultipleEntitiesCommand
(UserVisitPK userVisitPK, F form, CommandSecurityDefinition commandSecurityDefinition, List<FieldDefinition> formFieldDefinitions, boolean allowLimits) -
Method Summary
Modifier and TypeMethodDescriptionprotected final BaseResult
execute()
protected abstract Collection<BE>
protected abstract BaseResult
getResult
(Collection<BE> entities) protected abstract Long
protected abstract void
security()
Methods inherited from class com.echothree.util.server.control.BaseSimpleCommand
canQueryByGraphQl, getForm, getFormFieldDefinitions, setupPreferredClobMimeType, setupSession, setupValidator, validate, validate
Methods inherited from class com.echothree.util.server.control.BaseCommand
addExecutionError, addExecutionError, addExecutionWarning, addExecutionWarning, addSecurityMessage, addSecurityMessage, canSpecifyParty, checkCommandSecurityDefinition, checkOptionalSecurityRoles, getBaseResultAfterErrors, getCheckIdentityVerifiedTime, getCommandName, getCommandSecurityDefinition, getCompanyParty, getComponentVendorName, getCoreControl, getEntityInstanceByBasePK, 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, selfOnly, sendEvent, sendEvent, sendEvent, setCheckIdentityVerifiedTime, setLogCommand, setUpdateLastCommandTime, setUserVisitPK, teardownSession
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.echothree.util.server.control.GraphQlSecurityCommand
hasSecurityMessages
-
Constructor Details
-
BasePaginatedMultipleEntitiesCommand
protected BasePaginatedMultipleEntitiesCommand(UserVisitPK userVisitPK, F form, CommandSecurityDefinition commandSecurityDefinition, List<FieldDefinition> formFieldDefinitions, boolean allowLimits)
-
-
Method Details
-
handleForm
-
getTotalEntities
-
getEntities
-
getResult
-
getTotalEntitiesForGraphQl
-
getEntitiesForGraphQl
-
security
- Specified by:
security
in interfaceGraphQlSecurityCommand
- Overrides:
security
in classBaseCommand
-
execute
- Specified by:
execute
in classBaseCommand
-