com.hack23.cia.service.impl.configuration
Class AgencyRequestService

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

public class AgencyRequestService
extends AbstractGenericService<REQUEST>

The Class AgencyRequestService.


Constructor Summary
Constructor and Description
AgencyRequestService(UserSessionService userSessionService, ConfigurationService configurationService)
          Instantiates a new agency request service.
 
Method Summary
Modifier and Type Method and Description
 ActionEvent createActionEvent(AgencyRequest request, UserSessionData userSession)
          Creates the action event.
 ConfigurationService getConfigurationService()
          Gets the configuration service.
 Class<? extends ServiceRequest> getSupportedService()
          Gets the supported service.
 ServiceResponse handleServiceRequest(AgencyRequest request, UserSessionDto userSession)
          Handle service request.
 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

AgencyRequestService

public AgencyRequestService(UserSessionService userSessionService,
                            ConfigurationService configurationService)
Instantiates a new agency request service.

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

createActionEvent

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

Specified by:
createActionEvent in class AbstractGenericService<AgencyRequest>
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

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

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

getConfigurationService

public final ConfigurationService getConfigurationService()
Gets the configuration service.

Returns:
the configuration service

lookupUserSession

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

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


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