1
2
3
4
5
6 package com.hack23.cia.service.api.user;
7
8 import com.hack23.cia.model.application.impl.user.UserAccountActionEvent.Operation;
9
10 /***
11 * The Class AbstractUserAccountRequest.
12 */
13 public abstract class AbstractUserAccountRequest extends AbstractUserRequest {
14
15 /*** The Constant serialVersionUID. */
16 private static final long serialVersionUID = 1L;
17
18 /*** The operation. */
19 private final Operation operation;
20
21 /***
22 * Instantiates a new abstract user account request.
23 *
24 * @param userSessionId the user session id
25 * @param operation the operation
26 */
27 public AbstractUserAccountRequest(final Long userSessionId,final Operation operation) {
28 super(userSessionId);
29 this.operation = operation;
30 }
31
32 /***
33 * Gets the operation.
34 *
35 * @return the operation
36 */
37 public final Operation getOperation() {
38 return operation;
39 }
40
41 }