1 package org.kuali.ole.deliver.drools;
2
3
4
5
6 public class DroolsConstants {
7
8 public static enum ERROR_CODES
9 {
10 CUSTOM_LOAN_DUE_DATE_REQUIRED(DroolsConstants.CUSTOM_DUE_DATE_REQUIRED_FLAG),
11 GENERAL_MESSAGE(DroolsConstants.GENERAL_MESSAGE_FLAG);
12
13 private String name;
14
15 ERROR_CODES(String name){
16 this.name = name;
17 }
18
19 public String getName() {
20 return name;
21 }
22
23 };
24
25 public static final String GENERAL_MESSAGE_FLAG = "GENERAL_MESSAGE";
26
27 public static final String CUSTOM_DUE_DATE_REQUIRED_FLAG = "CUSTOM_DUE_DATE_REQUIRED";
28
29 public static final String EMAIL = "email";
30 public static final String INTERVAL_TO_GENERATE_NOTICE_FOR_COURTSEY = "intervalToGenerateNoticeForCourtsey";
31 public static final String NUMBER_OF_OVERDUE_NOTICES_TO_BE_SENT = "numberOfOverdueToBeSent";
32
33 public static final String INTERVAL_TO_GENERATE_NOTICE_FOR_OVERDUE = "intervalToGenerateNotice";
34 public static final String REPLACEMENT_BILL_AMT = "replacementBill";
35 public static final String GENERAL_BLOCK_PERMISSION = "Patron has a general block";
36 public static final String MAX_CHARGES_PERMISSION = "Patron has max amount of all charges";
37 public static final String SHORT_TERM_LOANS_NOTICE_CONFIG = "SHORT_TERM_LOANS_TERM_NOTICE";
38
39 public static final String ILL_NOTICE_CONFIG = "ILL_NOTICE_CONFIG";
40 public static final String REGULAR_LOANS_NOTICE_CONFIG = "REGULAR_LOANS_NOTICE";
41
42 public static final String DROOL_UPLOAD_SELECT_FILE = "error.drool.file.upload";
43 public static final String DROOL_UPLOAD_INVALID_FILE = "error.drool.invalid.file";
44 public static final String DROOL_UPLOAD_SUCCESS = "drool.upload.success";
45
46
47 }