public class DisbursementVoucherDocumentAuthorizer extends AccountingDocumentAuthorizerBase
Constructor and Description |
---|
DisbursementVoucherDocumentAuthorizer() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAccountQualification(List<? extends AccountingLine> accountingLines,
Map<String,String> attributes)
Goes through the given List of accounting lines and fines one line where the current user is the fiscal officer; it uses that line to put chart of accounts
code and account number qualifications into the given Map of attributes for role qualification
|
protected void |
addRoleQualification(Object dataObject,
Map<String,String> attributes)
Adds chart codes and account numbers for accounting lines if we're at Account level, so that the fiscal officer gets travel edit mode
|
protected List<? extends AccountingLine> |
getAccountingLines(DisbursementVoucherDocument disbursementVoucherDocument)
Finds the source accounting lines in the given business object
|
protected Set<String> |
getCurrentRouteLevels(org.kuali.rice.kew.api.WorkflowDocument workflowDocument)
A helper method for determining the route levels for a given document.
|
protected boolean |
isAtAccountLevel(DisbursementVoucherDocument disbursementVoucherDocument)
Determines if the document is at the Account route level
|
determineLineEditability
canEditBankCode, canErrorCorrect, getDocumentActions
getEditModes
addPermissionDetails, addStandardAttributes, canAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canRecall, canReceiveAdHoc, canReload, canRoute, canSave, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canTakeRequestedAction, canViewNoteAttachment, canViewNoteAttachment, isDocumentInitiator
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, getDataDictionaryService, getKualiModuleService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canDeleteNoteAttachment, canViewNoteAttachment
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
canAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canRecall, canReceiveAdHoc, canReload, canRoute, canSave, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canTakeRequestedAction, canViewNoteAttachment
public DisbursementVoucherDocumentAuthorizer()
protected void addRoleQualification(Object dataObject, Map<String,String> attributes)
addRoleQualification
in class AccountingDocumentAuthorizerBase
org.kuali.ole.sys.document.authorization.AccountingDocumentAuthorizerBase#addRoleQualification(org.kuali.rice.krad.bo.BusinessObject, java.util.Map)
protected List<? extends AccountingLine> getAccountingLines(DisbursementVoucherDocument disbursementVoucherDocument)
disbursementVoucherDocument
- a document to get accounting lines fromprotected void addAccountQualification(List<? extends AccountingLine> accountingLines, Map<String,String> attributes)
accountingLines
- a List of AccountingLinesattributes
- a Map of role qualification attributesprotected Set<String> getCurrentRouteLevels(org.kuali.rice.kew.api.WorkflowDocument workflowDocument)
workflowDocument
- protected boolean isAtAccountLevel(DisbursementVoucherDocument disbursementVoucherDocument)
disbursementVoucherDocument
- the Disbursement Voucher document to determine the account level ofCopyright © 2004–2015 The Kuali Foundation. All rights reserved.