org.kuali.kfs.sys.document.authorization
Class FinancialSystemTransactionalDocumentAuthorizerBase

java.lang.Object
  extended by org.kuali.rice.kns.authorization.BusinessObjectAuthorizerBase
      extended by org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
          extended by org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizerBase
              extended by org.kuali.kfs.sys.document.authorization.FinancialSystemTransactionalDocumentAuthorizerBase
All Implemented Interfaces:
org.kuali.rice.kns.authorization.BusinessObjectAuthorizer, org.kuali.rice.kns.document.authorization.DocumentAuthorizer, org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizer
Direct Known Subclasses:
AccountingDocumentAuthorizerBase, AssetDecreaseDocumentAuthorizer, AssetIncreaseDocumentAuthorizer, BarcodeInventoryErrorDocumentAuthorizer, BudgetConstructionDocumentAuthorizer, CashControlDocumentAuthorizer, CashDecreaseDocumentAuthorizer, CashIncreaseDocumentAuthorizer, CashManagementDocumentAuthorizer, CashTransferDocumentAuthorizer, CloseDocumentAuthorizer, CorporateReorganizationDocumentAuthorizer, CorpusAdjustmentDocumentAuthorizer, CorrectionDocumentAuthorizer, CustomerInvoiceWriteoffDocumentAuthorizer, EffortCertificationDocumentAuthorizer, EndowmentToGLTransferOfFundsDocumentAuthorizer, EndowmentUnitShareAdjustmentDocumentAuthorizer, GLToEndowmentTransferOfFundsDocumentAuthorizer, HoldingAdjustmentDocumentAuthorizer, HoldingHistoryValueAdjustmentDocumentAuthorizer, LiabilityDecreaseDocumentAuthorizer, LiabilityIncreaseDocumentAuthorizer, PaymentApplicationDocumentAuthorizer, SecurityTransferDocumentAuthorizer

public class FinancialSystemTransactionalDocumentAuthorizerBase
extends org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizerBase


Field Summary
protected static org.apache.commons.logging.Log LOG
           
 
Fields inherited from class org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
EDIT_MODE_DEFAULT_TRUE_VALUE, PRE_ROUTING_ROUTE_NAME, USER_SESSION_METHOD_TO_CALL_COMPLETE_MARKER, USER_SESSION_METHOD_TO_CALL_COMPLETE_OBJECT_KEY, USER_SESSION_METHOD_TO_CALL_OBJECT_KEY
 
Constructor Summary
FinancialSystemTransactionalDocumentAuthorizerBase()
           
 
Method Summary
 boolean canEditBankCode(org.kuali.rice.kns.document.Document document, org.kuali.rice.kim.bo.Person user)
          Determines if the KIM permission is available to error correct the given document
 boolean canErrorCorrect(org.kuali.rice.kns.document.Document document, org.kuali.rice.kim.bo.Person user)
          Determines if the KIM permission is available to error correct the given document
 Set<String> getDocumentActions(org.kuali.rice.kns.document.Document document, org.kuali.rice.kim.bo.Person user, Set<String> documentActionsFromPresentationController)
          Overridden to check if document error correction can be allowed here.
 
Methods inherited from class org.kuali.rice.kns.document.authorization.TransactionalDocumentAuthorizerBase
getEditModes
 
Methods inherited from class org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
addPermissionDetails, addRoleQualification, addStandardAttributes, canAddNoteAttachment, canDeleteNoteAttachment, canEditDocumentOverview, canInitiate, canOpen, canReceiveAdHoc, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canTakeRequestedAction, canViewNoteAttachment, getRouteHeaderService, isDocumentInitiator
 
Methods inherited from class org.kuali.rice.kns.authorization.BusinessObjectAuthorizerBase
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, getDataDictionaryService, getIdentityManagementService, getKualiModuleService, getPermissionDetailValues, getPersonService, getRoleQualification, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.document.authorization.DocumentAuthorizer
canAddNoteAttachment, canDeleteNoteAttachment, canInitiate, canOpen, canReceiveAdHoc, canSendAdHocRequests, canViewNoteAttachment
 
Methods inherited from interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
 

Field Detail

LOG

protected static org.apache.commons.logging.Log LOG
Constructor Detail

FinancialSystemTransactionalDocumentAuthorizerBase

public FinancialSystemTransactionalDocumentAuthorizerBase()
Method Detail

getDocumentActions

public Set<String> getDocumentActions(org.kuali.rice.kns.document.Document document,
                                      org.kuali.rice.kim.bo.Person user,
                                      Set<String> documentActionsFromPresentationController)
Overridden to check if document error correction can be allowed here.

Specified by:
getDocumentActions in interface org.kuali.rice.kns.document.authorization.DocumentAuthorizer
Overrides:
getDocumentActions in class org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
See Also:
DocumentAuthorizerBase.getDocumentActions(org.kuali.rice.kns.document.Document, org.kuali.rice.kim.bo.Person, java.util.Set)

canErrorCorrect

public boolean canErrorCorrect(org.kuali.rice.kns.document.Document document,
                               org.kuali.rice.kim.bo.Person user)
Determines if the KIM permission is available to error correct the given document

Parameters:
document - the document to correct
user - the user to check error correction for
Returns:
true if the user can error correct, false otherwise

canEditBankCode

public boolean canEditBankCode(org.kuali.rice.kns.document.Document document,
                               org.kuali.rice.kim.bo.Person user)
Determines if the KIM permission is available to error correct the given document

Parameters:
document - the document to correct
user - the user to check error correction for
Returns:
true if the user can error correct, false otherwise


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.