|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.service.impl.common.AbstractGenericService<REQUEST>
REQUEST
- the generic typepublic abstract class AbstractGenericService<REQUEST extends AbstractServiceRequest> extends Object implements BusinessService
The Class AbstractGenericService.
Modifier | Constructor and Description |
---|---|
protected |
AbstractGenericService(UserSessionService userSessionService)
Instantiates a new abstract generic service. |
Modifier and Type | Method and Description |
---|---|
protected abstract ActionEvent |
createActionEvent(REQUEST service,
UserSessionData userSession)
Creates the action event. |
protected ApplicationDtoFactory |
getApplicationDtoFactory()
Gets the application dto factory. |
protected ApplicationModelFactoryFactory |
getApplicationModelFactory()
Gets the application model factory. |
protected CommonModelFactory |
getCommonModelFactory()
Gets the common model factory. |
protected SwedenModelFactory |
getSwedenModelFactory()
Gets the sweden model factory. |
protected UserSessionService |
getUserSessionService()
Gets the user session service. |
protected abstract ServiceResponse |
handleServiceRequest(REQUEST service,
UserSessionDto userSession)
Handle service request. |
protected abstract UserSessionData |
lookupUserSession(AbstractServiceRequest request)
Lookup user session. |
ServiceResponse |
processService(ServiceRequest serviceRequest)
Process service. |
void |
setApplicationDtoFactory(ApplicationDtoFactory applicationDtoFactory)
Sets the application dto factory. |
void |
setApplicationModelFactoryFactory(ApplicationModelFactoryFactory applicationModelFactoryFactory)
Sets the application model factory factory. |
void |
setCommonModelFactory(CommonModelFactory commonModelFactory)
Sets the common model factory. |
void |
setSwedenModelFactory(SwedenModelFactory swedenModelFactory)
Sets the sweden model factory. |
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.api.common.BusinessService |
---|
getSupportedService |
Constructor Detail |
---|
protected AbstractGenericService(UserSessionService userSessionService)
userSessionService
- the user session serviceMethod Detail |
---|
protected abstract ActionEvent createActionEvent(REQUEST service, UserSessionData userSession)
service
- the serviceuserSession
- the user sessionprotected final ApplicationDtoFactory getApplicationDtoFactory()
protected final ApplicationModelFactoryFactory getApplicationModelFactory()
protected final CommonModelFactory getCommonModelFactory()
protected final SwedenModelFactory getSwedenModelFactory()
protected final UserSessionService getUserSessionService()
protected abstract ServiceResponse handleServiceRequest(REQUEST service, UserSessionDto userSession)
service
- the serviceuserSession
- the user sessionprotected abstract UserSessionData lookupUserSession(AbstractServiceRequest request)
request
- the requestpublic final ServiceResponse processService(ServiceRequest serviceRequest)
BusinessService
processService
in interface BusinessService
serviceRequest
- the service requestpublic final void setApplicationDtoFactory(ApplicationDtoFactory applicationDtoFactory)
applicationDtoFactory
- the new application dto factorypublic final void setApplicationModelFactoryFactory(ApplicationModelFactoryFactory applicationModelFactoryFactory)
applicationModelFactoryFactory
- the new application model factory factorypublic final void setCommonModelFactory(CommonModelFactory commonModelFactory)
commonModelFactory
- the new common model factorypublic final void setSwedenModelFactory(SwedenModelFactory swedenModelFactory)
swedenModelFactory
- the new sweden model factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |