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 | 
| boolean | getOrderType(BigDecimal purchaseOrderTypeId) | 
| 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, isGroupEditabledetermineEditPermissionByFieldName, getActionInfixForExtantAccountingLine, getActionInfixForNewAccountingLine, getActionLabel, getActionMap, getActions, getAddAction, getBalanceInquiryAction, getConfigurationService, getDeleteAction, getFieldName, getKFSImagePath, getKimHappyPropertyNameForField, getPermissionDetails, getRiceImagePath, getRoleQualifiers, hasEditPermission, hasEditPermissionOnAccountingLine, hasEditPermissionOnField, isMessageMapContainingErrorsOnLine, replaceCollectionElementsWithPlurals, stripDocumentPrefixFromNamepublic PurchaseOrderAccountingLineAuthorizer()
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)protected boolean allowAccountingLinesAreEditable(AccountingDocument accountingDocument, AccountingLine accountingLine)
PurapAccountingLineAuthorizerallowAccountingLinesAreEditable in class PurapAccountingLineAuthorizerpublic boolean determineEditPermissionOnLine(AccountingDocument accountingDocument, AccountingLine accountingLine, String accountingLineCollectionProperty, boolean currentUserIsDocumentInitiator, boolean pageIsEditable)
AccountingLineAuthorizerBasedetermineEditPermissionOnLine in class PurapAccountingLineAuthorizeraccountingDocument - 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)
AccountingLineAuthorizerBasegetUnviewableBlocks in interface AccountingLineAuthorizergetUnviewableBlocks in class AccountingLineAuthorizerBaseaccountingDocument - 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)public boolean getOrderType(BigDecimal purchaseOrderTypeId)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.