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