1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.fp.document.authorization;
17
18 import java.util.Map;
19
20 import org.apache.commons.logging.Log;
21 import org.apache.commons.logging.LogFactory;
22 import org.kuali.ole.fp.document.CashManagementDocument;
23 import org.kuali.ole.sys.document.authorization.FinancialSystemTransactionalDocumentAuthorizerBase;
24 import org.kuali.rice.kim.api.KimConstants;
25
26
27
28
29 public class CashManagementDocumentAuthorizer extends FinancialSystemTransactionalDocumentAuthorizerBase {
30 protected static Log LOG = LogFactory.getLog(CashManagementDocumentAuthorizer.class);
31
32
33
34
35
36 @Override
37 protected void addRoleQualification(Object dataObject, Map<String, String> attributes) {
38 CashManagementDocument cashManagementDocument = (CashManagementDocument) dataObject;
39 attributes.put(KimConstants.AttributeConstants.CAMPUS_CODE, cashManagementDocument.getCampusCode());
40
41 super.addRoleQualification(dataObject, attributes);
42 }
43 }