public class ServiceBillingDocumentAuthorizer extends AccountingDocumentAuthorizerBase
Modifier and Type | Field and Description |
---|---|
protected static String |
serviceBillingDocumentTypeName |
Constructor and Description |
---|
ServiceBillingDocumentAuthorizer() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
buildPermissionDetails(org.kuali.rice.krad.document.Document document)
Builds the permission details map for permission check
|
protected Map<String,String> |
buildRoleQualifiers(AccountingLine accountingLine)
Builds a map of role qualifiers, each containing the chart and account of the given accounting line
|
boolean |
canModifyAccountingLine(org.kuali.rice.krad.document.Document document,
AccountingLine accountingLine,
org.kuali.rice.kim.api.identity.Person user)
Determines if the given user can modify the given accounting line, which is a source line on the given document
|
protected boolean |
canModifyAllSourceAccountingLines(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user)
Determines if the given user has permission to modify all accounting lines on the document
|
Set<String> |
getDocumentActions(org.kuali.rice.krad.document.Document document,
org.kuali.rice.kim.api.identity.Person user,
Set<String> documentActionsFromPresentationController)
Overridden to only allow error correction and copy actions if the current user has Modify Accounting Document permission on every accounting line on the document
|
protected String |
getDocumentTypeName(org.kuali.rice.krad.document.Document document)
Looks up in the data dictionary the document type name
|
addRoleQualification, determineLineEditability
canEditBankCode, canErrorCorrect
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
protected static String serviceBillingDocumentTypeName
public ServiceBillingDocumentAuthorizer()
public Set<String> getDocumentActions(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user, Set<String> documentActionsFromPresentationController)
getDocumentActions
in class FinancialSystemTransactionalDocumentAuthorizerBase
org.kuali.ole.sys.document.authorization.FinancialSystemTransactionalDocumentAuthorizerBase#getDocumentActions(org.kuali.rice.kns.document.Document, org.kuali.rice.kim.api.identity.Person, java.util.Set)
protected boolean canModifyAllSourceAccountingLines(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
document
- the document with source accounting lines to checkuser
- the user to checkpublic boolean canModifyAccountingLine(org.kuali.rice.krad.document.Document document, AccountingLine accountingLine, org.kuali.rice.kim.api.identity.Person user)
document
- a document with source accounting linesaccountingLine
- the accounting line to check the modifyability ofuser
- the user being checkedprotected Map<String,String> buildPermissionDetails(org.kuali.rice.krad.document.Document document)
document
- the document, which is used to find the real document type nameprotected String getDocumentTypeName(org.kuali.rice.krad.document.Document document)
document
- the document to find a document type name forprotected Map<String,String> buildRoleQualifiers(AccountingLine accountingLine)
accountingLine
- the accounting line to build role qualifiers forCopyright © 2004–2015 The Kuali Foundation. All rights reserved.