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

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

public class PartyRequestService
extends AbstractParliamentRequestService<PartyRequest>

The Class PartyRequestService.


Constructor Summary
PartyRequestService(UserSessionService userSessionService, ParliamentService parliamentService, int numberInTopList)
          Instantiates a new party request service.
 
Method Summary
 ActionEvent createActionEvent(PartyRequest request, UserSessionData userSession)
          Creates the action event.
 Class getSupportedService()
          Gets the supported service.
 ServiceResponse handleServiceRequest(PartyRequest request, UserSessionDto userSession)
          Handle service request.
 
Methods inherited from class com.hack23.cia.service.impl.user.AbstractParliamentRequestService
getParliamentService
 
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

PartyRequestService

public PartyRequestService(UserSessionService userSessionService,
                           ParliamentService parliamentService,
                           int numberInTopList)
Instantiates a new party 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(PartyRequest request,
                                           UserSessionData userSession)
Description copied from class: AbstractGenericService
Creates the action event.

Specified by:
createActionEvent in class AbstractGenericService<PartyRequest>
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(PartyRequest request,
                                                  UserSessionDto userSession)
Description copied from class: AbstractGenericService
Handle service request.

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


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