Class GetCustomersCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseSimpleCommand<GetCustomersForm>
com.echothree.util.server.control.BasePaginatedMultipleEntitiesCommand<Customer,GetCustomersForm>
com.echothree.control.user.customer.server.command.GetCustomersCommand
- All Implemented Interfaces:
GraphQlSecurityCommand<GetCustomersForm>,ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
@RequestScoped
public class GetCustomersCommand
extends BasePaginatedMultipleEntitiesCommand<Customer,GetCustomersForm>
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<Customer> protected BaseResultgetResult(Collection<Customer> entities) protected Longprotected voidMethods inherited from class com.echothree.util.server.control.BasePaginatedMultipleEntitiesCommand
execute, getEntitiesForGraphQl, getTotalEntitiesForGraphQl, securityMethods 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
-
GetCustomersCommand
public GetCustomersCommand()Creates a new instance of GetCustomersCommand
-
-
Method Details
-
handleForm
- Specified by:
handleFormin classBasePaginatedMultipleEntitiesCommand<Customer,GetCustomersForm>
-
getTotalEntities
- Specified by:
getTotalEntitiesin classBasePaginatedMultipleEntitiesCommand<Customer,GetCustomersForm>
-
getEntities
- Specified by:
getEntitiesin classBasePaginatedMultipleEntitiesCommand<Customer,GetCustomersForm>
-
getResult
- Specified by:
getResultin classBasePaginatedMultipleEntitiesCommand<Customer,GetCustomersForm>
-