public class FinancialProcessingAccountingLineAuthorizer extends AccountingLineAuthorizerBase
kfsImagePath, riceImagePath
Constructor and Description |
---|
FinancialProcessingAccountingLineAuthorizer() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,AccountingLineViewAction> |
getActionMap(AccountingLineRenderingContext accountingLineRenderingContext,
String accountingLinePropertyName,
Integer accountingLineIndex,
String groupTitle)
adds refresh method to the action map.
|
protected AccountingLineViewAction |
getRefreshAction(AccountingLine accountingLine,
String accountingLinePropertyName,
Integer accountingLineIndex,
String groupTitle)
constructs a refresh action image and action
|
protected String |
getRefreshLineMethod(AccountingLine accountingLine,
String accountingLineProperty,
Integer accountingLineIndex)
constructs a refresh line method
|
Set<String> |
getUnviewableBlocks(AccountingDocument accountingDocument,
AccountingLine accountingLine,
boolean newLine,
org.kuali.rice.kim.api.identity.Person currentUser)
Returns a new empty HashSet
|
protected boolean |
salesTaxUnviewable(AccountingDocument document,
AccountingLine line)
Determines if the given line on the given document should not show any sales tax block it has
|
approvedForUnqualifiedEditing, determineEditPermissionByFieldName, determineEditPermissionOnField, 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 FinancialProcessingAccountingLineAuthorizer()
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 AccountingLineAuthorizerBase
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.ole.sys.document.AccountingDocument, org.kuali.ole.sys.businessobject.AccountingLine, boolean, org.kuali.rice.kim.api.identity.Person)
protected boolean salesTaxUnviewable(AccountingDocument document, AccountingLine line)
document
- the document the line lives on (or will live on)line
- the accounting line which perhaps should be hiding any sales tax informationprotected Map<String,AccountingLineViewAction> getActionMap(AccountingLineRenderingContext accountingLineRenderingContext, String accountingLinePropertyName, Integer accountingLineIndex, String groupTitle)
getActionMap
in class AccountingLineAuthorizerBase
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 groupAccountingLineAuthorizerBase.getActionMap(org.kuali.ole.sys.document.web.AccountingLineRenderingContext, java.lang.String, java.lang.Integer, java.lang.String)
protected AccountingLineViewAction getRefreshAction(AccountingLine accountingLine, String accountingLinePropertyName, Integer accountingLineIndex, String groupTitle)
accountingLine
- accountingLinePropertyName
- accountingLineIndex
- groupTitle
- protected String getRefreshLineMethod(AccountingLine accountingLine, String accountingLineProperty, Integer accountingLineIndex)
accountingLine
- accountingLineProperty
- accountingLineIndex
- Copyright © 2004–2015 The Kuali Foundation. All rights reserved.