Class AbstractCommonBusinessServiceImpl<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>
- Type Parameters:
T
- the generic typeV
- the value type
- All Implemented Interfaces:
BusinessService<T,
V>
- Direct Known Subclasses:
AbstractBusinessServiceImpl
,CreateApplicationEventService
,CreateApplicationSessionService
public abstract class AbstractCommonBusinessServiceImpl<T extends com.hack23.cia.service.api.action.common.ServiceRequest,V extends com.hack23.cia.service.api.action.common.ServiceResponse>
extends Object
implements BusinessService<T,V>
The Class AbstractCommonBusinessServiceImpl.
-
Constructor Summary
ConstructorDescriptionAbstractCommonBusinessServiceImpl
(Class<T> clazz) Instantiates a new abstract common business service impl. -
Method Summary
Modifier and TypeMethodDescriptionfinal Class
<? extends com.hack23.cia.service.api.action.common.ServiceRequest> Gets the supported service.protected final com.hack23.cia.model.internal.application.user.impl.UserAccount
Gets the user account from security context.protected final com.hack23.cia.service.data.api.UserDAO
Gets the user dao.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
processService
-
Constructor Details
-
AbstractCommonBusinessServiceImpl
Instantiates a new abstract common business service impl.- Parameters:
clazz
- the clazz
-
-
Method Details
-
getSupportedService
public final Class<? extends com.hack23.cia.service.api.action.common.ServiceRequest> getSupportedService()Description copied from interface:BusinessService
Gets the supported service.- Specified by:
getSupportedService
in interfaceBusinessService<T extends com.hack23.cia.service.api.action.common.ServiceRequest,
V extends com.hack23.cia.service.api.action.common.ServiceResponse> - Returns:
- the supported service
-
getUserAccountFromSecurityContext
protected final com.hack23.cia.model.internal.application.user.impl.UserAccount getUserAccountFromSecurityContext()Gets the user account from security context.- Returns:
- the user account from security context
-
getUserDAO
protected final com.hack23.cia.service.data.api.UserDAO getUserDAO()Gets the user dao.- Returns:
- the user dao
-