|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.inquiry.KualiInquirableImpl
org.kuali.kfs.sys.businessobject.inquiry.KfsInquirableImpl
org.kuali.kfs.gl.businessobject.inquiry.AbstractGeneralLedgerInquirableImpl
public abstract class AbstractGeneralLedgerInquirableImpl
This class is the template class for the customized inqurable implementations used to generate balance inquiry screens.
| Field Summary |
|---|
| Fields inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl |
|---|
businessObjectClass, businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, dataDictionaryService, encryptionService, inactiveRecordDisplay, INQUIRY_TITLE_PREFIX, kualiConfigurationService, lookupService, persistenceStructureService, SUPER_CLASS_TRANSLATOR_LIST |
| Constructor Summary | |
|---|---|
AbstractGeneralLedgerInquirableImpl()
|
|
| Method Summary | |
|---|---|
protected abstract void |
addMoreParameters(Properties parameter,
String attributeName)
This method adds more parameters into the curren parameter map |
protected abstract List |
buildUserDefinedAttributeKeyList()
This method builds the inquiry url for user-defined attribute |
protected abstract String |
getAttributeName(String attributeName)
This method finds the matching attribute name of given one |
protected abstract String |
getBaseUrl()
This method defines the base inquiry url |
org.kuali.rice.kns.bo.BusinessObject |
getBusinessObject()
Gets the businessObject attribute. |
protected org.kuali.rice.kns.lookup.HtmlData |
getDocTypeInquiryUrl(String docTypeCode)
Builds URL to document type inquiry based on a given document type code |
Map |
getFieldValues(Map fieldValues)
This takes a map of field values and then returns it without processing it, making this a sort of identity method for Maps |
protected abstract Class |
getInquiryBusinessObjectClass(String attributeName)
This method gets the class name of the inquiry business object for a given attribute. |
org.kuali.rice.kns.lookup.HtmlData |
getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
String attributeName)
Helper method to build an inquiry url for a result field. |
org.kuali.rice.kns.lookup.HtmlData |
getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
String attributeName,
boolean forceInquiry)
Helper method to build an inquiry url for a result field. |
protected abstract String |
getKeyName(String keyName)
This method finds the matching the key name of the given one |
protected abstract Object |
getKeyValue(String keyName,
Object keyValue)
This method finds the matching the key value of the given one |
protected abstract String |
getLookupableImplAttributeName()
This method defines the lookupable implementation attribute name |
Class |
getNestedInquiryBusinessObjectClass(org.kuali.rice.kns.bo.BusinessObject businessObject,
String attributeName)
Given the nested name of an attribute in an object, returns the class that attribute will return |
protected abstract Map |
getUserDefinedAttributeMap()
This method defines the user-defined attribute map |
protected boolean |
isExclusiveField(Object keyName,
Object keyValue)
This method determines whether the input name-value pair is exclusive from the processing |
protected String |
recoverFieldValueFromConsolidation(Map fieldValues,
Object keyName,
Object keyValue)
This method recovers the values of the given keys |
void |
setBusinessObject(org.kuali.rice.kns.bo.BusinessObject businessObject)
Sets the businessObject attribute value. |
| 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 |
|---|
public AbstractGeneralLedgerInquirableImpl()
| Method Detail |
|---|
public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
String attributeName,
boolean forceInquiry)
KfsInquirableImpl
getInquiryUrl in interface org.kuali.rice.kns.inquiry.InquirablegetInquiryUrl in class KfsInquirableImplKfsInquirableImpl.getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject, java.lang.String, boolean)
public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
String attributeName)
businessObject - the business object instance to build the urls forattributeName - the attribute name which links to an inquirable
protected abstract List buildUserDefinedAttributeKeyList()
protected abstract Map getUserDefinedAttributeMap()
protected abstract String getAttributeName(String attributeName)
attributeName - the given attribute name
protected abstract Object getKeyValue(String keyName,
Object keyValue)
keyName - the given key namekeyValue - the given key value
protected abstract String getKeyName(String keyName)
keyName - the given key name
protected abstract String getLookupableImplAttributeName()
protected abstract String getBaseUrl()
protected abstract Class getInquiryBusinessObjectClass(String attributeName)
protected abstract void addMoreParameters(Properties parameter,
String attributeName)
parameter - the current parameter map
protected boolean isExclusiveField(Object keyName,
Object keyValue)
keyName - the name of the name-value pairkeyValue - the value of the name-value pair
protected String recoverFieldValueFromConsolidation(Map fieldValues,
Object keyName,
Object keyValue)
fieldValues - unconsolidated valueskeyName - a key name that may be in the fieldValues mapkeyValue - a key value that may be in the fieldValues map
public Map getFieldValues(Map fieldValues)
fieldValues - field values to return to the user
public Class getNestedInquiryBusinessObjectClass(org.kuali.rice.kns.bo.BusinessObject businessObject,
String attributeName)
businessObject - the business object to find the propery class forattributeName - the nested name of the attribute to find the class for
protected org.kuali.rice.kns.lookup.HtmlData getDocTypeInquiryUrl(String docTypeCode)
docTypeCode - - document type code to inquiry on
HtmlData representing inquiry URLpublic org.kuali.rice.kns.bo.BusinessObject getBusinessObject()
public void setBusinessObject(org.kuali.rice.kns.bo.BusinessObject businessObject)
businessObject - The businessObject to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||