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

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

public class UserRequestService
extends AbstractUserRequestService<UserRequest>

The Class UserRequestService.


Constructor Summary
UserRequestService(UserSessionService userSessionService, ParliamentService parliamentService)
          Instantiates a new user request service.
 
Method Summary
 ActionEvent createActionEvent(UserRequest request, UserSessionData userSession)
          Creates the action event.
 Class getSupportedService()
          Gets the supported service.
 ServiceResponse handleServiceRequest(UserRequest 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

UserRequestService

public UserRequestService(UserSessionService userSessionService,
                          ParliamentService parliamentService)
Instantiates a new user request service.

Parameters:
userSessionService - the user session service
parliamentService - the parliament service
Method Detail

createActionEvent

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

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

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


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