1
2
3
4
5
6 package com.hack23.cia.service.api.admin;
7
8 import com.hack23.cia.model.application.dto.common.UserSessionDTO;
9 import com.hack23.cia.model.application.impl.common.Agency;
10
11 /***
12 * The Class AbstractConfigurationResponse.
13 */
14 public abstract class AbstractConfigurationResponse extends
15 AbstractAdminResponse {
16
17 /*** The Constant serialVersionUID. */
18 private static final long serialVersionUID = 1L;
19
20 /*** The agency. */
21 private final Agency agency;
22
23 /***
24 * Instantiates a new abstract configuration response.
25 *
26 * @param userSessionDTO the user session dto
27 * @param agency the agency
28 */
29 public AbstractConfigurationResponse(final UserSessionDTO userSessionDTO,final Agency agency) {
30 super(userSessionDTO);
31 this.agency = agency;
32 }
33
34 /***
35 * Gets the agency.
36 *
37 * @return the agency
38 */
39 public final Agency getAgency() {
40 return agency;
41 }
42
43 }