|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl org.kuali.rice.kew.bo.lookup.DocSearchCriteriaDTOLookupableHelperServiceImpl
public class DocSearchCriteriaDTOLookupableHelperServiceImpl
Lookupable helper class for new doc search
Field Summary | |
---|---|
(package private) DateTimeService |
dateTimeService
|
private static Pattern |
HREF_PATTERN
|
(package private) DocumentLookupCriteriaProcessor |
processor
|
(package private) boolean |
savedSearch
|
private static long |
serialVersionUID
|
Fields inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl |
---|
LOG, searchUsingOnlyPrimaryKeyValues |
Constructor Summary | |
---|---|
DocSearchCriteriaDTOLookupableHelperServiceImpl()
|
Method Summary | |
---|---|
boolean |
checkForAdditionalFields(Map fieldValues)
This implementation always returns false. |
private Object |
getDocSearchCriteriaDTOFieldValue(DocSearchCriteriaDTO searchCriteria,
String fieldName)
|
Field |
getExtraField()
get an extra field |
private List<Field> |
getFields(List<Row> rows)
|
HtmlData |
getInquiryUrl(BusinessObject bo,
String propertyName)
Returns the inquiry url for a field if one exist. |
private Object |
getSearchableAttributeFieldValue(DocSearchCriteriaDTO searchCriteria,
String fieldName)
|
String |
getSupplementalMenuBar()
This method gets the supplemental lookup menu if any |
private static DocumentType |
getValidDocumentType(String docTypeName)
retrieve a document type. |
void |
performClear(LookupForm lookupForm)
This method does the logic for the clear action. |
boolean |
performCustomAction(boolean ignoreErrors)
performs custom actions. |
Collection |
performLookup(LookupForm lookupForm,
Collection resultTable,
boolean bounded)
Performs the lookup and returns a collection of lookup items |
void |
setDateTimeService(DateTimeService dateTimeService)
|
protected void |
setRows()
Constructs the list of rows for the search fields. |
protected void |
setRows(Map fieldValues,
String docTypeName)
|
private void |
setRowsAfterClear(DocSearchCriteriaDTO searchCriteria,
Map<String,String[]> fieldValues)
|
boolean |
shouldDisplayHeaderNonMaintActions()
|
boolean |
shouldDisplayLookupCriteria()
|
void |
validateSearchParameters(Map fieldValues)
Checks that any required search fields have value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
DateTimeService dateTimeService
DocumentLookupCriteriaProcessor processor
boolean savedSearch
private static final Pattern HREF_PATTERN
Constructor Detail |
---|
public DocSearchCriteriaDTOLookupableHelperServiceImpl()
Method Detail |
---|
public void setDateTimeService(DateTimeService dateTimeService)
org.kuali.rice.kew.bo.lookup.DocumentRouteHeaderValueLookupableHelperService#setDateTimeService(org.kuali.rice.kns.service.DateTimeService)
public Collection performLookup(LookupForm lookupForm, Collection resultTable, boolean bounded)
AbstractLookupableHelperServiceImpl
performLookup
in interface LookupableHelperService
performLookup
in class AbstractLookupableHelperServiceImpl
AbstractLookupableHelperServiceImpl.performLookup(org.kuali.rice.kns.web.struts.form.LookupForm, java.util.Collection, boolean)
public HtmlData getInquiryUrl(BusinessObject bo, String propertyName)
AbstractLookupableHelperServiceImpl
getInquiryUrl
in interface LookupableHelperService
getInquiryUrl
in class AbstractLookupableHelperServiceImpl
bo
- the business object instance to build the urls forpropertyName
- the property which links to an inquirable
AbstractLookupableHelperServiceImpl.getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject, java.lang.String)
protected void setRows()
AbstractLookupableHelperServiceImpl
setRows
in class AbstractLookupableHelperServiceImpl
AbstractLookupableHelperServiceImpl.setRows()
protected void setRows(Map fieldValues, String docTypeName)
AbstractLookupableHelperServiceImpl.setRows()
private List<Field> getFields(List<Row> rows)
private void setRowsAfterClear(DocSearchCriteriaDTO searchCriteria, Map<String,String[]> fieldValues)
public void performClear(LookupForm lookupForm)
AbstractLookupableHelperServiceImpl
performClear
in interface LookupableHelperService
performClear
in class AbstractLookupableHelperServiceImpl
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl#performClear()
private static DocumentType getValidDocumentType(String docTypeName)
docTypeName
-
public String getSupplementalMenuBar()
LookupableHelperService
getSupplementalMenuBar
in interface LookupableHelperService
getSupplementalMenuBar
in class AbstractLookupableHelperServiceImpl
AbstractLookupableHelperServiceImpl.getSupplementalMenuBar()
public boolean shouldDisplayHeaderNonMaintActions()
shouldDisplayHeaderNonMaintActions
in interface LookupableHelperService
shouldDisplayHeaderNonMaintActions
in class AbstractLookupableHelperServiceImpl
AbstractLookupableHelperServiceImpl.shouldDisplayHeaderNonMaintActions()
public boolean shouldDisplayLookupCriteria()
shouldDisplayLookupCriteria
in interface LookupableHelperService
shouldDisplayLookupCriteria
in class AbstractLookupableHelperServiceImpl
AbstractLookupableHelperServiceImpl.shouldDisplayLookupCriteria()
public boolean checkForAdditionalFields(Map fieldValues)
AbstractLookupableHelperServiceImpl
checkForAdditionalFields
in interface LookupableHelperService
checkForAdditionalFields
in class AbstractLookupableHelperServiceImpl
fieldValues
- - Map of property/value pairs
AbstractLookupableHelperServiceImpl.checkForAdditionalFields(java.util.Map)
public void validateSearchParameters(Map fieldValues)
AbstractLookupableHelperServiceImpl
validateSearchParameters
in interface LookupableHelperService
validateSearchParameters
in class AbstractLookupableHelperServiceImpl
fieldValues
- - Map of property/value pairsAbstractLookupableHelperServiceImpl.validateSearchParameters(java.util.Map)
public boolean performCustomAction(boolean ignoreErrors)
LookupableHelperService
performCustomAction
in interface LookupableHelperService
performCustomAction
in class AbstractLookupableHelperServiceImpl
AbstractLookupableHelperServiceImpl.performCustomAction(boolean)
public Field getExtraField()
LookupableHelperService
getExtraField
in interface LookupableHelperService
getExtraField
in class AbstractLookupableHelperServiceImpl
AbstractLookupableHelperServiceImpl.getExtraField()
private Object getDocSearchCriteriaDTOFieldValue(DocSearchCriteriaDTO searchCriteria, String fieldName)
private Object getSearchableAttributeFieldValue(DocSearchCriteriaDTO searchCriteria, String fieldName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |