com.hack23.cia.service.impl.application
Class ApplicationRequestService

Package class diagram package ApplicationRequestService
java.lang.Object
  extended by com.hack23.cia.service.impl.common.AbstractGenericService<ApplicationRequest>
      extended by com.hack23.cia.service.impl.application.ApplicationRequestService
All Implemented Interfaces:
BusinessService

public class ApplicationRequestService
extends AbstractGenericService<ApplicationRequest>

The Class ApplicationRequestService.


Constructor Summary
Constructor and Description
ApplicationRequestService(UserSessionService userSessionService, ParliamentContentService parliamentService, ConfigurationService configurationService)
          Instantiates a new application request service.
 
Method Summary
Modifier and Type Method and Description
protected  ActionEvent createActionEvent(ApplicationRequest request, UserSessionData userSession)
          Creates the action event.
 Class<? extends ServiceRequest> getSupportedService()
          Gets the supported service.
protected  ServiceResponse handleServiceRequest(ApplicationRequest request, UserSessionDto userSessionDTO)
          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

ApplicationRequestService

public ApplicationRequestService(UserSessionService userSessionService,
                                 ParliamentContentService parliamentService,
                                 ConfigurationService configurationService)
Instantiates a new application request service.

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

createActionEvent

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

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

getSupportedService

public Class<? extends ServiceRequest> getSupportedService()
Description copied from interface: BusinessService
Gets the supported service.

Returns:
the supported service

handleServiceRequest

protected final ServiceResponse handleServiceRequest(ApplicationRequest request,
                                                     UserSessionDto userSessionDTO)
Description copied from class: AbstractGenericService
Handle service request.

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

lookupUserSession

protected final UserSessionData lookupUserSession(AbstractServiceRequest request)
Description copied from class: AbstractGenericService
Lookup user session.

Specified by:
lookupUserSession in class AbstractGenericService<ApplicationRequest>
Parameters:
request - the request
Returns:
the user session data


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