org.kuali.kfs.sys.document.workflow
Class FinancialSystemSearchableAttribute

java.lang.Object
  extended by org.kuali.rice.kns.workflow.attribute.DataDictionarySearchableAttribute
      extended by org.kuali.kfs.sys.document.workflow.FinancialSystemSearchableAttribute
All Implemented Interfaces:
Serializable, org.kuali.rice.kew.docsearch.SearchableAttribute

public class FinancialSystemSearchableAttribute
extends org.kuali.rice.kns.workflow.attribute.DataDictionarySearchableAttribute

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.workflow.attribute.DataDictionarySearchableAttribute
DATA_TYPE_BOOLEAN
 
Fields inherited from interface org.kuali.rice.kew.docsearch.SearchableAttribute
DATA_TYPE_DATE, DATA_TYPE_FLOAT, DATA_TYPE_LONG, DATA_TYPE_STRING, DEFAULT_RANGE_SEARCH_LOWER_BOUND_LABEL, DEFAULT_RANGE_SEARCH_UPPER_BOUND_LABEL, DEFAULT_SEARCHABLE_ATTRIBUTE_TYPE_NAME, RANGE_LOWER_BOUND_PROPERTY_PREFIX, RANGE_UPPER_BOUND_PROPERTY_PREFIX, SEARCH_WILDCARD_CHARACTER, SEARCH_WILDCARD_CHARACTER_REGEX_ESCAPED, SEARCHABLE_ATTRIBUTE_BASE_CLASS_LIST
 
Constructor Summary
FinancialSystemSearchableAttribute()
           
 
Method Summary
protected  void addSearchableAttributesForAccountingLine(List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> searchAttrValues, AccountingLine accountingLine)
          Pulls the default searchable attributes - chart code, account number, and account organization code - from a given accounting line and populates the searchable attribute values in the given list
protected  void addSearchableAttributesForGLPE(List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> searchAttrValues, GeneralLedgerPendingEntry glpe)
          Pulls the default searchable attribute - financialSystemTypeCode - from a given accounting line and populates the searchable attribute values in the given list
protected  void addSearchableAttributesForLLPE(List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> searchAttrValues, LaborLedgerPendingEntryForSearching llpe)
          Pulls the default searchable attribute - financialSystemTypeCode from a given accounting line and populates the searchable attribute values in the given list
 List<org.kuali.rice.kns.web.ui.Row> getSearchingRows(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
           
 List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> getSearchStorageValues(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
           
protected  List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> harvestAccountingDocumentSearchableAttributes(AccountingDocument accountingDoc)
          Harvest chart of accounts code, account number, and organization code as searchable attributes from an accounting document
protected  List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> harvestGLPDocumentSearchableAttributes(GeneralLedgerPostingDocument GLPDoc)
          Harvest GLPE document type as searchable attributes from a GL posting document
protected  List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> harvestLLPDocumentSearchableAttributes(LaborLedgerPostingDocumentForSearching LLPDoc)
          Harvest LLPE document type as searchable attributes from a LL posting document
 List<org.kuali.rice.kew.rule.WorkflowAttributeValidationError> validateUserSearchInputs(Map<Object,Object> paramMap, org.kuali.rice.kew.docsearch.DocumentSearchContext searchContext)
           
 
Methods inherited from class org.kuali.rice.kns.workflow.attribute.DataDictionarySearchableAttribute
createFieldRowsForBusinessObject, createFieldRowsForWorkflowAttributes, findAllSearchableAttributesForGlobalBusinessObject, generateSearchableAttributeFromChange, getBusinessObjectClass, getMaintainableClass, getSearchContent, parsePrimaryKeyValuesFromDocument, parseSearchableAttributeValueForPrimaryKey, retrieveGlobalBusinessObject, retrieveMaintenanceDocumentEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FinancialSystemSearchableAttribute

public FinancialSystemSearchableAttribute()
Method Detail

getSearchingRows

public List<org.kuali.rice.kns.web.ui.Row> getSearchingRows(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
Specified by:
getSearchingRows in interface org.kuali.rice.kew.docsearch.SearchableAttribute
Overrides:
getSearchingRows in class org.kuali.rice.kns.workflow.attribute.DataDictionarySearchableAttribute

getSearchStorageValues

public List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> getSearchStorageValues(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
Specified by:
getSearchStorageValues in interface org.kuali.rice.kew.docsearch.SearchableAttribute
Overrides:
getSearchStorageValues in class org.kuali.rice.kns.workflow.attribute.DataDictionarySearchableAttribute

validateUserSearchInputs

public List<org.kuali.rice.kew.rule.WorkflowAttributeValidationError> validateUserSearchInputs(Map<Object,Object> paramMap,
                                                                                               org.kuali.rice.kew.docsearch.DocumentSearchContext searchContext)
Specified by:
validateUserSearchInputs in interface org.kuali.rice.kew.docsearch.SearchableAttribute
Overrides:
validateUserSearchInputs in class org.kuali.rice.kns.workflow.attribute.DataDictionarySearchableAttribute
See Also:
DataDictionarySearchableAttribute.validateUserSearchInputs(java.util.Map, org.kuali.rice.kew.docsearch.DocumentSearchContext)

harvestAccountingDocumentSearchableAttributes

protected List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> harvestAccountingDocumentSearchableAttributes(AccountingDocument accountingDoc)
Harvest chart of accounts code, account number, and organization code as searchable attributes from an accounting document

Parameters:
accountingDoc - the accounting document to pull values from
Returns:
a List of searchable values

harvestGLPDocumentSearchableAttributes

protected List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> harvestGLPDocumentSearchableAttributes(GeneralLedgerPostingDocument GLPDoc)
Harvest GLPE document type as searchable attributes from a GL posting document

Parameters:
GLPDoc - the GLP document to pull values from
Returns:
a List of searchable values

harvestLLPDocumentSearchableAttributes

protected List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> harvestLLPDocumentSearchableAttributes(LaborLedgerPostingDocumentForSearching LLPDoc)
Harvest LLPE document type as searchable attributes from a LL posting document

Parameters:
LLPDoc - the LLP document to pull values from
Returns:
a List of searchable values

addSearchableAttributesForAccountingLine

protected void addSearchableAttributesForAccountingLine(List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> searchAttrValues,
                                                        AccountingLine accountingLine)
Pulls the default searchable attributes - chart code, account number, and account organization code - from a given accounting line and populates the searchable attribute values in the given list

Parameters:
searchAttrValues - a List of SearchableAttributeValue objects to populate
accountingLine - an AccountingLine to get values from

addSearchableAttributesForGLPE

protected void addSearchableAttributesForGLPE(List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> searchAttrValues,
                                              GeneralLedgerPendingEntry glpe)
Pulls the default searchable attribute - financialSystemTypeCode - from a given accounting line and populates the searchable attribute values in the given list

Parameters:
searchAttrValues - a List of SearchableAttributeValue objects to populate
glpe - a GeneralLedgerPendingEntry to get values from

addSearchableAttributesForLLPE

protected void addSearchableAttributesForLLPE(List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> searchAttrValues,
                                              LaborLedgerPendingEntryForSearching llpe)
Pulls the default searchable attribute - financialSystemTypeCode from a given accounting line and populates the searchable attribute values in the given list

Parameters:
searchAttrValues - a List of SearchableAttributeValue objects to populate
llpe - a LaborLedgerPendingEntry to get values from


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