org.kuali.kfs.fp.document.authorization
Class DisbursementVoucherAccountingLineAuthorizer
java.lang.Object
org.kuali.kfs.sys.document.authorization.AccountingLineAuthorizerBase
org.kuali.kfs.fp.document.authorization.DisbursementVoucherAccountingLineAuthorizer
- All Implemented Interfaces:
- AccountingLineAuthorizer
public class DisbursementVoucherAccountingLineAuthorizer
- extends AccountingLineAuthorizerBase
Methods inherited from class org.kuali.kfs.sys.document.authorization.AccountingLineAuthorizerBase |
approvedForUnqualifiedEditing, determineEditPermissionOnLine, getActionInfixForExtantAccountingLine, getActionInfixForNewAccountingLine, getActionLabel, getActionMap, getActions, getAddAction, getAddMethod, getBalanceInquiryAction, getBalanceInquiryMethod, getDeleteAction, getDeleteLineMethod, getFieldName, getKFSImagePath, getKimHappyPropertyNameForField, getRiceImagePath, getUnviewableBlocks, hasEditPermissionOnAccountingLine, hasEditPermissionOnField, isErrorMapContainingErrorsOnLine, isGroupEditable, renderNewLine, replaceCollectionElementsWithPlurals, stripDocumentPrefixFromName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisbursementVoucherAccountingLineAuthorizer
public DisbursementVoucherAccountingLineAuthorizer()
determineEditPermissionOnField
public boolean determineEditPermissionOnField(AccountingDocument accountingDocument,
AccountingLine accountingLine,
String accountingLineCollectionProperty,
String fieldName,
boolean editablePage)
- Overridden to make:
1. amount read only for fiscal officer
- Overrides:
determineEditPermissionOnField
in class AccountingLineAuthorizerBase
- Parameters:
accountingDocument
- the accounting document the line to test is onaccountingLine
- the accounting line to testaccountingLineCollectionProperty
- the property that the accounting line lives infieldName
- the name of the field we are testingeditablePage
- whether the parent page of this field is editable
- Returns:
- true if the field can be edited (subject to subsequence KIM check); false otherwise
getAmountPropertyName
protected String getAmountPropertyName()
- Returns:
- the property name of the amount field, which will be set read only for fiscal officers
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.