public class PurchaseOrderAccountingLineAuthorizer extends PurapAccountingLineAuthorizer
kfsImagePath, riceImagePath
Constructor and Description |
---|
PurchaseOrderAccountingLineAuthorizer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowAccountingLinesAreEditable(AccountingDocument accountingDocument,
AccountingLine accountingLine)
This method checks whether the accounting lines are editable for a specific item type.
|
boolean |
determineEditPermissionOnLine(AccountingDocument accountingDocument,
AccountingLine accountingLine,
String accountingLineCollectionProperty,
boolean currentUserIsDocumentInitiator,
boolean pageIsEditable)
A hook to decide, pre-KIM check, if there's an edit permission on the given accounting line
|
Set<String> |
getUnviewableBlocks(AccountingDocument accountingDocument,
AccountingLine accountingLine,
boolean newLine,
org.kuali.rice.kim.api.identity.Person currentUser)
Returns a new empty HashSet
|
boolean |
renderNewLine(AccountingDocument accountingDocument,
String accountingGroupProperty)
Allow new lines to be rendered at NewUnorderedItems node
|
approvedForUnqualifiedEditing, determineEditPermissionOnField, findTheItemForAccountingLine, getAddMethod, getBalanceInquiryMethod, getDeleteLineMethod, getDocumentAuthorizer, isGroupEditable
determineEditPermissionByFieldName, getActionInfixForExtantAccountingLine, getActionInfixForNewAccountingLine, getActionLabel, getActionMap, getActions, getAddAction, getBalanceInquiryAction, getConfigurationService, getDeleteAction, getFieldName, getKFSImagePath, getKimHappyPropertyNameForField, getPermissionDetails, getRiceImagePath, getRoleQualifiers, hasEditPermission, hasEditPermissionOnAccountingLine, hasEditPermissionOnField, isMessageMapContainingErrorsOnLine, replaceCollectionElementsWithPlurals, stripDocumentPrefixFromName
public PurchaseOrderAccountingLineAuthorizer()
public boolean renderNewLine(AccountingDocument accountingDocument, String accountingGroupProperty)
renderNewLine
in interface AccountingLineAuthorizer
renderNewLine
in class AccountingLineAuthorizerBase
accountingDocument
- the document that has accounting lines being authorizedaccountingGroupProperty
- the property of this accounting groupAccountingLineAuthorizerBase.renderNewLine(org.kuali.ole.sys.document.AccountingDocument, java.lang.String)
protected boolean allowAccountingLinesAreEditable(AccountingDocument accountingDocument, AccountingLine accountingLine)
PurapAccountingLineAuthorizer
allowAccountingLinesAreEditable
in class PurapAccountingLineAuthorizer
public boolean determineEditPermissionOnLine(AccountingDocument accountingDocument, AccountingLine accountingLine, String accountingLineCollectionProperty, boolean currentUserIsDocumentInitiator, boolean pageIsEditable)
AccountingLineAuthorizerBase
determineEditPermissionOnLine
in class PurapAccountingLineAuthorizer
accountingDocument
- 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?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)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.