org.kuali.kfs.module.ld.document.authorization
Class LaborExpensesDocumentPresentationController

java.lang.Object
  extended by org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
      extended by org.kuali.rice.kns.document.authorization.TransactionalDocumentPresentationControllerBase
          extended by org.kuali.kfs.sys.document.authorization.FinancialSystemTransactionalDocumentPresentationControllerBase
              extended by org.kuali.kfs.module.ld.document.authorization.LaborExpensesDocumentPresentationController
All Implemented Interfaces:
FinancialSystemTransactionalDocumentPresentationController, org.kuali.rice.kns.document.authorization.DocumentPresentationController, org.kuali.rice.kns.document.authorization.TransactionalDocumentPresentationController

public class LaborExpensesDocumentPresentationController
extends FinancialSystemTransactionalDocumentPresentationControllerBase

Document Presentation Controller for the Effort Certification document. allowsErrorCorrection property has been set to false in data dictionary entry setHasAmountTotal property has been set to true in data dictionary entry


Constructor Summary
LaborExpensesDocumentPresentationController()
           
 
Method Summary
 boolean canCopy(org.kuali.rice.kns.document.Document document)
           
 boolean canErrorCorrect(FinancialSystemTransactionalDocument document)
          Makes sure that the given document implements error correction, that error correction is turned on for the document in the data dictionary, and that the document is in a workflow state that allows error correction.
 Set<String> getEditModes(org.kuali.rice.kns.document.Document document)
           
 
Methods inherited from class org.kuali.kfs.sys.document.authorization.FinancialSystemTransactionalDocumentPresentationControllerBase
canHaveBankEntry, getBankService, getDocumentActions
 
Methods inherited from class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
canAcknowledge, canAddAdhocRequests, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canPerformRouteReport, canReload, canRoute, canSave, canSendAdhocRequests, canSendNoteFyi, getParameterService
 
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.DocumentPresentationController
canInitiate
 

Constructor Detail

LaborExpensesDocumentPresentationController

public LaborExpensesDocumentPresentationController()
Method Detail

canCopy

public boolean canCopy(org.kuali.rice.kns.document.Document document)
Overrides:
canCopy in class org.kuali.rice.kns.document.authorization.DocumentPresentationControllerBase
See Also:
DocumentPresentationControllerBase.canCopy(org.kuali.rice.kns.document.Document)

canErrorCorrect

public boolean canErrorCorrect(FinancialSystemTransactionalDocument document)
Description copied from class: FinancialSystemTransactionalDocumentPresentationControllerBase
Makes sure that the given document implements error correction, that error correction is turned on for the document in the data dictionary, and that the document is in a workflow state that allows error correction.

Specified by:
canErrorCorrect in interface FinancialSystemTransactionalDocumentPresentationController
Overrides:
canErrorCorrect in class FinancialSystemTransactionalDocumentPresentationControllerBase
Parameters:
document - the document to error correct
Returns:
true if the document can be error corrected, false otherwise
See Also:
FinancialSystemTransactionalDocumentPresentationControllerBase.canErrorCorrect(org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument)

getEditModes

public Set<String> getEditModes(org.kuali.rice.kns.document.Document document)
Specified by:
getEditModes in interface org.kuali.rice.kns.document.authorization.TransactionalDocumentPresentationController
Overrides:
getEditModes in class FinancialSystemTransactionalDocumentPresentationControllerBase
See Also:
FinancialSystemTransactionalDocumentPresentationControllerBase.getEditModes(org.kuali.rice.kns.document.Document)


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