1
2
3
4
5
6 package com.hack23.cia.service.api.admin;
7
8 import com.hack23.cia.model.application.impl.admin.PortalActionEvent.Operation;
9 import com.hack23.cia.model.application.impl.common.Portal;
10
11 /***
12 * The Class PortalRequest.
13 */
14 public class PortalRequest extends AbstractConfigurationRequest {
15
16 /*** The Constant serialVersionUID. */
17 private static final long serialVersionUID = 1L;
18
19 /*** The operation. */
20 private final Operation operation;
21
22 /*** The portal. */
23 private final Portal portal;
24
25 /***
26 * Instantiates a new portal request.
27 *
28 * @param userSessionId the user session id
29 * @param operation the operation
30 * @param portal the portal
31 */
32 public PortalRequest(final Long userSessionId, final Operation operation,
33 final Portal portal) {
34 super(userSessionId);
35 this.operation = operation;
36 this.portal = portal;
37 }
38
39 /***
40 * Gets the operation.
41 *
42 * @return the operation
43 */
44 public final Operation getOperation() {
45 return operation;
46 }
47
48 /***
49 * Gets the portal.
50 *
51 * @return the portal
52 */
53 public final Portal getPortal() {
54 return portal;
55 }
56 }