|
||||||||||
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.PartyRequestService
public class PartyRequestService extends AbstractGenericService<REQUEST>
The Class PartyRequestService.
Constructor and Description |
---|
PartyRequestService(UserSessionService userSessionService,
ParliamentContentService parliamentContentService,
int numberInTopList)
Instantiates a new party request service. |
Modifier and Type | Method and Description |
---|---|
ActionEvent |
createActionEvent(PartyRequest request,
UserSessionData userSession)
Creates the action event. |
ParliamentContentService |
getParliamentContentService()
Gets the parliament content service. |
Class<? extends ServiceRequest> |
getSupportedService()
Gets the supported service. |
ServiceResponse |
handleServiceRequest(PartyRequest 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 PartyRequestService(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(PartyRequest request, UserSessionData userSession)
AbstractGenericService
createActionEvent
in class AbstractGenericService<PartyRequest>
request
- the serviceuserSession
- the user sessionpublic Class<? extends ServiceRequest> getSupportedService()
BusinessService
public final ServiceResponse handleServiceRequest(PartyRequest request, UserSessionDto userSession)
AbstractGenericService
handleServiceRequest
in class AbstractGenericService<PartyRequest>
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 |