|
||||||||||
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> com.hack23.cia.service.impl.content.TopListRequestService
public class TopListRequestService extends AbstractGenericService<REQUEST>
The Class TopListRequestService.
Constructor and Description |
---|
TopListRequestService(UserSessionService userSessionService,
ParliamentContentService parliamentContentService,
int numberInTopList)
Instantiates a new top list request service. |
Modifier and Type | Method and Description |
---|---|
ActionEvent |
createActionEvent(TopListRequest request,
UserSessionData userSession)
Creates the action event. |
ParliamentContentService |
getParliamentContentService()
Gets the parliament content service. |
Class<? extends ServiceRequest> |
getSupportedService()
Gets the supported service. |
protected ServiceResponse |
handleServiceRequest(TopListRequest request,
UserSessionDto userSession)
Handle service request. |
protected UserSessionData |
lookupUserSession(AbstractServiceRequest request)
Lookup user session. |
Methods inherited from class com.hack23.cia.service.impl.common.AbstractGenericService |
---|
getApplicationDtoFactory, getApplicationModelFactory, getCommonModelFactory, getSwedenModelFactory, getUserSessionService, processService, setApplicationDtoFactory, setApplicationModelFactoryFactory, setCommonModelFactory, setSwedenModelFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopListRequestService(UserSessionService userSessionService, ParliamentContentService parliamentContentService, int numberInTopList)
userSessionService
- the user session serviceparliamentContentService
- the parliament content servicenumberInTopList
- the number in top listMethod Detail |
---|
public final ActionEvent createActionEvent(TopListRequest request, UserSessionData userSession)
AbstractGenericService
createActionEvent
in class AbstractGenericService<TopListRequest>
request
- the serviceuserSession
- the user sessionpublic Class<? extends ServiceRequest> getSupportedService()
BusinessService
protected final ServiceResponse handleServiceRequest(TopListRequest request, UserSessionDto userSession)
AbstractGenericService
handleServiceRequest
in class AbstractGenericService<TopListRequest>
request
- the serviceuserSession
- the user sessionpublic final ParliamentContentService getParliamentContentService()
protected final UserSessionData lookupUserSession(AbstractServiceRequest request)
AbstractGenericService
lookupUserSession
in class AbstractGenericService<REQUEST extends AbstractServiceRequest>
request
- the request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |