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 java.lang.Object implements BusinessService<T,V>
The Class AbstractCommonBusinessServiceImpl.
-
-
Constructor Summary
Constructors Constructor Description AbstractCommonBusinessServiceImpl(java.lang.Class<T> clazz)
Instantiates a new abstract common business service impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends com.hack23.cia.service.api.action.common.ServiceRequest>
getSupportedService()
Gets the supported service.protected com.hack23.cia.model.internal.application.user.impl.UserAccount
getUserAccountFromSecurityContext()
Gets the user account from security context.protected com.hack23.cia.service.data.api.UserDAO
getUserDAO()
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 Detail
-
AbstractCommonBusinessServiceImpl
public AbstractCommonBusinessServiceImpl(java.lang.Class<T> clazz)
Instantiates a new abstract common business service impl.- Parameters:
clazz
- the clazz
-
-
Method Detail
-
getSupportedService
public final java.lang.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
-
-