View Javadoc

1   /*
2   Copyright 2010 James Pether Sörling Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 
3   	$Id
4   */
5   package com.hack23.cia.service.impl.user;
6   
7   import com.hack23.cia.model.application.dto.common.UserSessionDTO;
8   import com.hack23.cia.model.application.impl.common.ActionEvent;
9   import com.hack23.cia.model.application.impl.common.UserSession;
10  import com.hack23.cia.service.api.common.ServiceResponse;
11  import com.hack23.cia.service.api.user.RegisterUserRequest;
12  import com.hack23.cia.service.impl.common.UserSessionService;
13  
14  /***
15   * The Class RegisterUserRequestService.
16   */
17  public class RegisterUserRequestService extends
18          AbstractUserRequestService<RegisterUserRequest> {
19  
20      /***
21       * Instantiates a new register user request service.
22       *
23       * @param userSessionService the user session service
24       */
25      public RegisterUserRequestService(
26              final UserSessionService userSessionService) {
27          super(userSessionService);
28      }
29  
30      /*
31       * (non-Javadoc)
32       * 
33       * @see
34       * com.hack23.cia.service.impl.common.AbstractGenericService#createActionEvent
35       * (com.hack23.cia.service.api.common.AbstractServiceRequest,
36       * com.hack23.cia.model.application.UserSession)
37       */
38      @Override
39      public final ActionEvent createActionEvent(
40              final RegisterUserRequest request, final UserSession userSession) {
41          // TODO Auto-generated method stub
42          return null;
43      }
44  
45      /*
46       * (non-Javadoc)
47       * 
48       * @see com.hack23.cia.service.common.ServiceHandler#getSupportedService()
49       */
50      @SuppressWarnings("unchecked")
51      @Override
52      public final Class getSupportedService() {
53          return RegisterUserRequest.class;
54      }
55  
56      /*
57       * (non-Javadoc)
58       * 
59       * @seecom.hack23.cia.service.common.AbstractGenericServiceHandler#
60       * handleServiceRequest(com.hack23.cia.service.api.AbstractServiceRequest)
61       */
62      @Override
63      public final ServiceResponse handleServiceRequest(
64              final RegisterUserRequest request, final UserSessionDTO userSession) {
65          return null;
66      }
67  }