Class AbstractBusinessServiceImpl<T extends com.hack23.cia.service.api.action.common.ServiceRequest,V extends com.hack23.cia.service.api.action.common.ServiceResponse>
- java.lang.Object
-
- com.hack23.cia.service.impl.action.common.AbstractCommonBusinessServiceImpl<T,V>
-
- com.hack23.cia.service.impl.action.common.AbstractBusinessServiceImpl<T,V>
-
- Type Parameters:
T
- the generic typeV
- the value type
- All Implemented Interfaces:
BusinessService<T,V>
- Direct Known Subclasses:
ChangePasswordService
,ComplianceCheckServiceImpl
,DestroyApplicationSessionService
,DisableGoogleAuthenticatorCredentialService
,DocumentWordCountService
,LoginService
,LogoutService
,ManageUserAccountService
,RefreshDataViewsService
,RegisterUserService
,RemoveDataService
,SearchDocumentService
,SendEmailService
,SetGoogleAuthenticatorCredentialService
,UpdateApplicationConfigurationService
,UpdateSearchIndexService
public abstract class AbstractBusinessServiceImpl<T extends com.hack23.cia.service.api.action.common.ServiceRequest,V extends com.hack23.cia.service.api.action.common.ServiceResponse> extends AbstractCommonBusinessServiceImpl<T,V> implements BusinessService<T,V>
The Class AbstractBusinessServiceImpl.
-
-
Field Summary
Fields Modifier and Type Field Description protected BusinessService<com.hack23.cia.service.api.action.application.CreateApplicationEventRequest,com.hack23.cia.service.api.action.application.CreateApplicationEventResponse>
createApplicationEventService
The create application event service.
-
Constructor Summary
Constructors Constructor Description AbstractBusinessServiceImpl(java.lang.Class<T> clazz)
Instantiates a new abstract business service impl.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract com.hack23.cia.service.api.action.application.CreateApplicationEventRequest
createApplicationEventForService(T serviceRequest)
Creates the application event for service.protected com.hack23.cia.service.api.action.application.CreateApplicationEventRequest
createBaseApplicationEventRequest()
Creates the base application event request.protected abstract V
createErrorResponse()
Creates the error response.protected BusinessService<com.hack23.cia.service.api.action.application.CreateApplicationEventRequest,com.hack23.cia.service.api.action.application.CreateApplicationEventResponse>
getCreateApplicationEventService()
Gets the create application event service.protected V
inputValidation(T serviceRequest)
Input validation.-
Methods inherited from class com.hack23.cia.service.impl.action.common.AbstractCommonBusinessServiceImpl
getSupportedService, getUserAccountFromSecurityContext, getUserDAO
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hack23.cia.service.impl.action.common.BusinessService
getSupportedService, processService
-
-
-
-
Field Detail
-
createApplicationEventService
@Autowired protected BusinessService<com.hack23.cia.service.api.action.application.CreateApplicationEventRequest,com.hack23.cia.service.api.action.application.CreateApplicationEventResponse> createApplicationEventService
The create application event service.
-
-
Constructor Detail
-
AbstractBusinessServiceImpl
public AbstractBusinessServiceImpl(java.lang.Class<T> clazz)
Instantiates a new abstract business service impl.- Parameters:
clazz
- the clazz
-
-
Method Detail
-
getCreateApplicationEventService
protected final BusinessService<com.hack23.cia.service.api.action.application.CreateApplicationEventRequest,com.hack23.cia.service.api.action.application.CreateApplicationEventResponse> getCreateApplicationEventService()
Gets the create application event service.- Returns:
- the create application event service
-
createErrorResponse
protected abstract V createErrorResponse()
Creates the error response.- Returns:
- the v
-
inputValidation
protected final V inputValidation(T serviceRequest)
Input validation.- Parameters:
serviceRequest
- the service request- Returns:
- the v
-
createBaseApplicationEventRequest
protected final com.hack23.cia.service.api.action.application.CreateApplicationEventRequest createBaseApplicationEventRequest()
Creates the base application event request.- Returns:
- the creates the application event request
-
createApplicationEventForService
protected abstract com.hack23.cia.service.api.action.application.CreateApplicationEventRequest createApplicationEventForService(T serviceRequest)
Creates the application event for service.- Parameters:
serviceRequest
- the service request- Returns:
- the creates the application event request
-
-