com.hack23.cia.service.impl.user
Class TopListRequestService

Package class diagram package TopListRequestService
java.lang.Object
  extended by com.hack23.cia.service.impl.common.AbstractGenericService<REQUEST>
      extended by com.hack23.cia.service.impl.user.AbstractUserRequestService<TopListRequest>
          extended by com.hack23.cia.service.impl.user.TopListRequestService
All Implemented Interfaces:
BusinessService

public class TopListRequestService
extends AbstractUserRequestService<TopListRequest>

The Class TopListRequestService.


Constructor Summary
TopListRequestService(UserSessionService userSessionService, ParliamentService parliamentService, int numberInTopList)
          Instantiates a new top list request service.
 
Method Summary
 ActionEvent createActionEvent(TopListRequest request, UserSessionData userSession)
          Creates the action event.
 Class getSupportedService()
          Gets the supported service.
 ServiceResponse handleServiceRequest(TopListRequest request, UserSessionDto userSession)
          Handle service request.
 
Methods inherited from class com.hack23.cia.service.impl.user.AbstractUserRequestService
lookupUserSession
 
Methods inherited from class com.hack23.cia.service.impl.common.AbstractGenericService
getApplicationModelFactory, getCommonModelFactory, getSwedenModelFactory, getUserSessionService, processService, setApplicationModelFactory, setCommonModelFactory, setSwedenModelFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopListRequestService

public TopListRequestService(UserSessionService userSessionService,
                             ParliamentService parliamentService,
                             int numberInTopList)
Instantiates a new top list request service.

Parameters:
userSessionService - the user session service
parliamentService - the parliament service
numberInTopList - the number in top list
Method Detail

createActionEvent

public final ActionEvent createActionEvent(TopListRequest request,
                                           UserSessionData userSession)
Description copied from class: AbstractGenericService
Creates the action event.

Specified by:
createActionEvent in class AbstractGenericService<TopListRequest>
Parameters:
request - the service
userSession - the user session
Returns:
the action event

getSupportedService

public final Class getSupportedService()
Description copied from interface: BusinessService
Gets the supported service.

Returns:
the supported service

handleServiceRequest

public final ServiceResponse handleServiceRequest(TopListRequest request,
                                                  UserSessionDto userSession)
Description copied from class: AbstractGenericService
Handle service request.

Specified by:
handleServiceRequest in class AbstractGenericService<TopListRequest>
Parameters:
request - the service
userSession - the user session
Returns:
the service response


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.