public class DistributionOfIncomeAndExpenseAccountingLineAuthorizer extends FinancialProcessingAccountingLineAuthorizer
kfsImagePath, riceImagePath| Constructor and Description |
|---|
DistributionOfIncomeAndExpenseAccountingLineAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
determineEditPermissionOnField(AccountingDocument accountingDocument,
AccountingLine accountingLine,
String accountingLineCollectionProperty,
String fieldName,
boolean editablePage)
This method determines if the current accounting line is editable based upon if electronic claims exists on the DI document.
|
boolean |
determineEditPermissionOnLine(AccountingDocument accountingDocument,
AccountingLine accountingLine,
String accountingLineCollectionProperty,
boolean currentUserIsDocumentInitiator,
boolean pageIsEditable)
There's no edit permission on lines in the source group on documents claiming electronic payments
|
protected boolean |
hasElectronicPaymentClaims(AccountingDocument accountingDocument)
Determines if the DI document has electronic payment claims associated with it
|
boolean |
renderNewLine(AccountingDocument accountingDocument,
String accountingGroupProperty)
Don't render a new line if this is the source group and there's electronic payment claims
|
getActionMap, getRefreshAction, getRefreshLineMethod, getUnviewableBlocks, salesTaxUnviewableapprovedForUnqualifiedEditing, determineEditPermissionByFieldName, getActionInfixForExtantAccountingLine, getActionInfixForNewAccountingLine, getActionLabel, getActions, getAddAction, getAddMethod, getBalanceInquiryAction, getBalanceInquiryMethod, getConfigurationService, getDeleteAction, getDeleteLineMethod, getDocumentAuthorizer, getFieldName, getKFSImagePath, getKimHappyPropertyNameForField, getPermissionDetails, getRiceImagePath, getRoleQualifiers, hasEditPermission, hasEditPermissionOnAccountingLine, hasEditPermissionOnField, isGroupEditable, isMessageMapContainingErrorsOnLine, replaceCollectionElementsWithPlurals, stripDocumentPrefixFromNamepublic DistributionOfIncomeAndExpenseAccountingLineAuthorizer()
public boolean determineEditPermissionOnField(AccountingDocument accountingDocument, AccountingLine accountingLine, String accountingLineCollectionProperty, String fieldName, boolean editablePage)
determineEditPermissionOnField in class AccountingLineAuthorizerBaseaccountingDocument - 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 editableorg.kuali.ole.sys.document.authorization.AccountingLineAuthorizerBase#determineFieldModifyability(org.kuali.ole.sys.document.AccountingDocument,
org.kuali.ole.sys.businessobject.AccountingLine, org.kuali.ole.sys.document.web.AccountingLineViewField, java.util.Map)public boolean renderNewLine(AccountingDocument accountingDocument, String accountingGroupProperty)
renderNewLine in interface AccountingLineAuthorizerrenderNewLine in class AccountingLineAuthorizerBaseaccountingDocument - the document that has accounting lines being authorizedaccountingGroupProperty - the property of this accounting groupAccountingLineAuthorizerBase.renderNewLine(org.kuali.ole.sys.document.AccountingDocument, java.lang.String)public boolean determineEditPermissionOnLine(AccountingDocument accountingDocument, AccountingLine accountingLine, String accountingLineCollectionProperty, boolean currentUserIsDocumentInitiator, boolean pageIsEditable)
determineEditPermissionOnLine in class AccountingLineAuthorizerBaseaccountingDocument - the accounting document the line is or wants to be associated withaccountingLine - the accounting line itselfaccountingLineCollectionProperty - the collection the accounting line is or would be part ofcurrentUserIsDocumentInitiator - is the current user the initiator of the document?org.kuali.ole.sys.document.authorization.AccountingLineAuthorizerBase#determineEditPermissionOnLine(org.kuali.ole.sys.document.AccountingDocument, org.kuali.ole.sys.businessobject.AccountingLine, java.lang.String)protected boolean hasElectronicPaymentClaims(AccountingDocument accountingDocument)
accountingDocument - a DI documentCopyright © 2004–2015 The Kuali Foundation. All rights reserved.