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

java.lang.Object
  extended by org.kuali.rice.kns.inquiry.KualiInquirableImpl
      extended by org.kuali.kfs.sys.businessobject.inquiry.KfsInquirableImpl
          extended by org.kuali.kfs.gl.businessobject.inquiry.AbstractGeneralLedgerInquirableImpl
              extended by org.kuali.kfs.gl.businessobject.inquiry.AccountBalanceByConsolidationInquirableImpl
All Implemented Interfaces:
org.kuali.rice.kns.inquiry.Inquirable

public class AccountBalanceByConsolidationInquirableImpl
extends AbstractGeneralLedgerInquirableImpl

This class is used to generate the URL for the user-defined attributes for the account balace by consolidation screen. It is entended the KualiInquirableImpl class, so it covers both the default implementation and customized implemetnation.


Field Summary
 
Fields inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl
businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, dataDictionaryService, encryptionService, inactiveRecordDisplay, INQUIRY_TITLE_PREFIX, kualiConfigurationService, persistenceStructureService, SUPER_CLASS_TRANSLATOR_LIST
 
Constructor Summary
AccountBalanceByConsolidationInquirableImpl()
           
 
Method Summary
protected  void addMoreParameters(Properties parameter, String attributeName)
          For a given attribute, lets this inquiry add more parameters
protected  List buildUserDefinedAttributeKeyList()
          Builds a list of attributes for finding the values for this inquiry.
protected  String getAttributeName(String attributeName)
          Converts attribute names for the inquiry screen
protected  String getBaseUrl()
          The base url that inquires of this type need to be sent to
protected  Class getInquiryBusinessObjectClass(String attributeName)
          The business object class this inquiry should be returning for a given attribute - in this case, AccountBalanceByLevel for the LINK_BUTTON_OPTION
protected  String getKeyName(String keyName)
          Given a key name, returns the key name; this implementation just passes back what it gets
protected  Object getKeyValue(String keyName, Object keyValue)
          Overrides the key value with a blank string if it's an exclusive value
protected  String getLookupableImplAttributeName()
          The name of this inquiry
protected  Map getUserDefinedAttributeMap()
          Generates an attribute map of fields created simply for this inquiry
 
Methods inherited from class org.kuali.kfs.gl.businessobject.inquiry.AbstractGeneralLedgerInquirableImpl
getBusinessObject, getDocTypeInquiryUrl, getFieldValues, getInquiryUrl, getInquiryUrl, getNestedInquiryBusinessObjectClass, isExclusiveField, recoverFieldValueFromConsolidation, setBusinessObject
 
Methods inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl
addAdditionalSections, createTitleText, getBusinessObject, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getEncryptionService, getHtmlMenuBar, getHyperLink, getHyperLink, getInactiveRecordDisplay, getInquiryUrlForPrimaryKeys, getKualiConfigurationService, getLookupService, getPersistenceStructureService, getSections, getShowInactiveRecords, getTitle, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setDataDictionaryService, setEncryptionService, setKualiConfigurationService, setLookupService, setPersistenceStructureService, setShowInactiveRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountBalanceByConsolidationInquirableImpl

public AccountBalanceByConsolidationInquirableImpl()
Method Detail

buildUserDefinedAttributeKeyList

protected List buildUserDefinedAttributeKeyList()
Builds a list of attributes for finding the values for this inquiry.

Specified by:
buildUserDefinedAttributeKeyList in class AbstractGeneralLedgerInquirableImpl
Returns:
a List of attribute keys to inquire on
See Also:
AbstractGeneralLedgerInquirableImpl.buildUserDefinedAttributeKeyList()

getUserDefinedAttributeMap

protected Map getUserDefinedAttributeMap()
Generates an attribute map of fields created simply for this inquiry

Specified by:
getUserDefinedAttributeMap in class AbstractGeneralLedgerInquirableImpl
Returns:
a Map with a link button attribute in it
See Also:
AbstractGeneralLedgerInquirableImpl.getUserDefinedAttributeMap()

getAttributeName

protected String getAttributeName(String attributeName)
Converts attribute names for the inquiry screen

Specified by:
getAttributeName in class AbstractGeneralLedgerInquirableImpl
Parameters:
attributeName - the given attribute name
Returns:
the converted name of the attribute
See Also:
AbstractGeneralLedgerInquirableImpl.getAttributeName(java.lang.String)

getKeyValue

protected Object getKeyValue(String keyName,
                             Object keyValue)
Overrides the key value with a blank string if it's an exclusive value

Specified by:
getKeyValue in class AbstractGeneralLedgerInquirableImpl
Parameters:
keyName - the keyName of the key to check
keyValue - the value of the key to check
Returns:
a new value
See Also:
AbstractGeneralLedgerInquirableImpl.getKeyValue(java.lang.String, java.lang.Object)

getKeyName

protected String getKeyName(String keyName)
Given a key name, returns the key name; this implementation just passes back what it gets

Specified by:
getKeyName in class AbstractGeneralLedgerInquirableImpl
Parameters:
keyName - the given key name
Returns:
the key name passed in
See Also:
AbstractGeneralLedgerInquirableImpl.getKeyName(java.lang.String)

getLookupableImplAttributeName

protected String getLookupableImplAttributeName()
The name of this inquiry

Specified by:
getLookupableImplAttributeName in class AbstractGeneralLedgerInquirableImpl
Returns:
a String with this inquiry's name
See Also:
AbstractGeneralLedgerInquirableImpl.getLookupableImplAttributeName()

getBaseUrl

protected String getBaseUrl()
The base url that inquires of this type need to be sent to

Specified by:
getBaseUrl in class AbstractGeneralLedgerInquirableImpl
Returns:
the base url
See Also:
AbstractGeneralLedgerInquirableImpl.getBaseUrl()

getInquiryBusinessObjectClass

protected Class getInquiryBusinessObjectClass(String attributeName)
The business object class this inquiry should be returning for a given attribute - in this case, AccountBalanceByLevel for the LINK_BUTTON_OPTION

Specified by:
getInquiryBusinessObjectClass in class AbstractGeneralLedgerInquirableImpl
Parameters:
attributeName - the attribute to return a class for
Returns:
a class for the attribute
See Also:
AbstractGeneralLedgerInquirableImpl.getInquiryBusinessObjectClass(String)

addMoreParameters

protected void addMoreParameters(Properties parameter,
                                 String attributeName)
For a given attribute, lets this inquiry add more parameters

Specified by:
addMoreParameters in class AbstractGeneralLedgerInquirableImpl
Parameters:
parameter - the set of parameters for the inquiry
attributeName - the attributeName parameters are being set for
See Also:
AbstractGeneralLedgerInquirableImpl.addMoreParameters(java.util.Properties, java.lang.String)


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