org.kuali.kfs.gl.businessobject.inquiry
Class InquirableFinancialDocument

java.lang.Object
  extended by org.kuali.kfs.gl.businessobject.inquiry.InquirableFinancialDocument

public class InquirableFinancialDocument
extends Object

This class provides a placeholder that can connect General Ledger business object with financial document in the presentation tier. The typical method is to generate url for the inquirable financial document.


Constructor Summary
InquirableFinancialDocument()
           
 
Method Summary
 String getInquirableDocumentUrl(Encumbrance encumbrance)
          get the url of inquirable financial document for the given encumbrance
 String getInquirableDocumentUrl(Transaction transaction)
          get the url of inquirable financial document for the given transaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InquirableFinancialDocument

public InquirableFinancialDocument()
Method Detail

getInquirableDocumentUrl

public String getInquirableDocumentUrl(Transaction transaction)
get the url of inquirable financial document for the given transaction

Parameters:
transaction - the business object that implements Transaction interface
Returns:
the url of inquirable financial document for the given transaction if the document is inquirable; otherwise, return empty string

getInquirableDocumentUrl

public String getInquirableDocumentUrl(Encumbrance encumbrance)
get the url of inquirable financial document for the given encumbrance

Parameters:
encumbrance - the encumrbance record
Returns:
the url of inquirable financial document for the given encumbrance if the document is inquirable; otherwise, return empty string


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