public class CustomerInvoiceDocumentSourceLinesAuthorizer extends FinancialProcessingAccountingLineAuthorizer
kfsImagePath, riceImagePath
Constructor and Description |
---|
CustomerInvoiceDocumentSourceLinesAuthorizer() |
Modifier and Type | Method and Description |
---|---|
boolean |
determineEditPermissionOnField(AccountingDocument accountingDocument,
AccountingLine accountingLine,
String accountingLineCollectionProperty,
String fieldName,
boolean editablePage)
Overridden to make:
1.
|
protected String |
getAccountNumberPropertyName() |
protected Map<String,AccountingLineViewAction> |
getActionMap(AccountingLineRenderingContext accountingLineRenderingContext,
String accountingLinePropertyName,
Integer accountingLineIndex,
String groupTitle)
adds refresh method to the action map.
|
protected String |
getAmountPropertyName() |
protected String |
getChartPropertyName() |
protected String |
getItemDescriptionPropertyName() |
Set<String> |
getUnviewableBlocks(AccountingDocument accountingDocument,
AccountingLine accountingLine,
boolean newLine,
org.kuali.rice.kim.api.identity.Person currentUser)
Returns a new empty HashSet
|
getRefreshAction, getRefreshLineMethod, salesTaxUnviewable
approvedForUnqualifiedEditing, determineEditPermissionByFieldName, determineEditPermissionOnLine, getActionInfixForExtantAccountingLine, getActionInfixForNewAccountingLine, getActionLabel, getActions, getAddAction, getAddMethod, getBalanceInquiryAction, getBalanceInquiryMethod, getConfigurationService, getDeleteAction, getDeleteLineMethod, getDocumentAuthorizer, getFieldName, getKFSImagePath, getKimHappyPropertyNameForField, getPermissionDetails, getRiceImagePath, getRoleQualifiers, hasEditPermission, hasEditPermissionOnAccountingLine, hasEditPermissionOnField, isGroupEditable, isMessageMapContainingErrorsOnLine, renderNewLine, replaceCollectionElementsWithPlurals, stripDocumentPrefixFromName
public CustomerInvoiceDocumentSourceLinesAuthorizer()
protected Map<String,AccountingLineViewAction> getActionMap(AccountingLineRenderingContext accountingLineRenderingContext, String accountingLinePropertyName, Integer accountingLineIndex, String groupTitle)
FinancialProcessingAccountingLineAuthorizer
getActionMap
in class FinancialProcessingAccountingLineAuthorizer
accountingLinePropertyName
- the property name of the given account line, typically, the form nameaccountingLineIndex
- the index of the given accounting line in its accounting line groupgroupTitle
- the title of the accounting line grouporg.kuali.kfs.sys.document.authorization.AccountingLineAuthorizerBase#getActionMap(org.kuali.kfs.sys.businessobject.AccountingLine,
java.lang.String, java.lang.Integer, java.lang.String)
public Set<String> getUnviewableBlocks(AccountingDocument accountingDocument, AccountingLine accountingLine, boolean newLine, org.kuali.rice.kim.api.identity.Person currentUser)
AccountingLineAuthorizerBase
getUnviewableBlocks
in interface AccountingLineAuthorizer
getUnviewableBlocks
in class FinancialProcessingAccountingLineAuthorizer
accountingDocument
- the accounting document the line to authorize is owned byaccountingLine
- the accounting line that is being authorized againstnewLine
- whether the line is a new line or notAccountingLineAuthorizerBase.getUnviewableBlocks(org.kuali.kfs.sys.document.AccountingDocument, org.kuali.kfs.sys.businessobject.AccountingLine, boolean, org.kuali.rice.kim.api.identity.Person)
public boolean determineEditPermissionOnField(AccountingDocument accountingDocument, AccountingLine accountingLine, String accountingLineCollectionProperty, String fieldName, boolean editablePage)
determineEditPermissionOnField
in class AccountingLineAuthorizerBase
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 editableorg.kuali.kfs.sys.document.authorization.AccountingLineAuthorizerBase#determineFieldModifyability(org.kuali.kfs.sys.document.AccountingDocument,
org.kuali.kfs.sys.businessobject.AccountingLine, org.kuali.kfs.sys.document.web.AccountingLineViewField, java.util.Map)
protected String getChartPropertyName()
protected String getAccountNumberPropertyName()
protected String getItemDescriptionPropertyName()
protected String getAmountPropertyName()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.