Class IdACmdAbstract<T extends IdCommandContext<R,IdSessionAdmin>,C extends IdProtocolMessageType,R extends IdProtocolMessageType>
java.lang.Object
com.io7m.idstore.server.controller.admin.IdACmdAbstract<T,C,R>
- Type Parameters:
T
- The type of command contextsC
- The type of accepted commandsR
- The type of responses
- All Implemented Interfaces:
IdCommandExecutorType<IdSessionAdmin,
T, C, R>
- Direct Known Subclasses:
IdACmdAdminBanCreate
,IdACmdAdminBanDelete
,IdACmdAdminBanGet
,IdACmdAdminCreate
,IdACmdAdminDelete
,IdACmdAdminEmailAdd
,IdACmdAdminEmailRemove
,IdACmdAdminGet
,IdACmdAdminGetByEmail
,IdACmdAdminPermissionGrant
,IdACmdAdminPermissionRevoke
,IdACmdAdminSearchBegin
,IdACmdAdminSearchByEmailBegin
,IdACmdAdminSearchByEmailNext
,IdACmdAdminSearchByEmailPrevious
,IdACmdAdminSearchNext
,IdACmdAdminSearchPrevious
,IdACmdAdminSelf
,IdACmdAdminUpdateCredentials
,IdACmdAdminUpdatePasswordExpiration
,IdACmdAuditSearchBegin
,IdACmdAuditSearchNext
,IdACmdAuditSearchPrevious
,IdACmdMailTest
,IdACmdMaintenanceModeSet
,IdACmdUserBanCreate
,IdACmdUserBanDelete
,IdACmdUserBanGet
,IdACmdUserCreate
,IdACmdUserDelete
,IdACmdUserEmailAdd
,IdACmdUserEmailRemove
,IdACmdUserGet
,IdACmdUserGetByEmail
,IdACmdUserLoginHistory
,IdACmdUserSearchBegin
,IdACmdUserSearchByEmailBegin
,IdACmdUserSearchByEmailNext
,IdACmdUserSearchByEmailPrevious
,IdACmdUserSearchNext
,IdACmdUserSearchPrevious
,IdACmdUserUpdateCredentials
,IdACmdUserUpdatePasswordExpiration
public abstract class IdACmdAbstract<T extends IdCommandContext<R,IdSessionAdmin>,C extends IdProtocolMessageType,R extends IdProtocolMessageType>
extends Object
implements IdCommandExecutorType<IdSessionAdmin,T,C,R>
The abstract base command class.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IdACmdAbstract
protected IdACmdAbstract()
-
-
Method Details
-
execute
Description copied from interface:IdCommandExecutorType
Execute a command.- Specified by:
execute
in interfaceIdCommandExecutorType<IdSessionAdmin,
T extends IdCommandContext<R, IdSessionAdmin>, C extends IdProtocolMessageType, R extends IdProtocolMessageType> - Parameters:
context
- The execution contextcommand
- The command- Returns:
- The result of execution
- Throws:
IdCommandExecutionFailure
- On errors
-
executeActual
protected abstract R executeActual(T context, C command) throws IdValidityException, IdException, IdCommandExecutionFailure
-