|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.docsearch.DocumentSearchCriteriaProcessorKEWAdapter
public class DocumentSearchCriteriaProcessorKEWAdapter
This class adapts the RemotableAttributeField instances from the various attributes associated with a document type and combines with the "default" rows for the search, returning the final List of Row objects to render for the document search.
Field Summary | |
---|---|
static String |
ADVANCED_SEARCH_FIELD
Name if the hidden input field containing basic/detailed search toggle state |
static String |
CLEARSAVED_SEARCH_FIELD
Name if the hidden input field containing the clear saved search flag |
static String |
SUPERUSER_SEARCH_FIELD
Name if the hidden input field containing non-superuser/superuser search toggle state |
Constructor Summary | |
---|---|
DocumentSearchCriteriaProcessorKEWAdapter()
|
Method Summary | |
---|---|
protected void |
addHiddenFields(List<Row> rows,
boolean advancedSearch,
boolean superUserSearch)
|
protected List<Row> |
getDocumentAttributeRows(DocumentType documentType)
|
List<Row> |
getRows(DocumentType documentType,
List<Row> defaultRows,
boolean advancedSearch,
boolean superUserSearch)
Constructs the list of rows and fields to display in the lookup criteria section of the document search screen. |
protected List<Row> |
loadRowsForAdvancedSearch(List<Row> defaultRows,
DocumentType documentType)
|
protected List<Row> |
loadRowsForBasicSearch(List<Row> defaultRows,
DocumentType documentType)
|
protected void |
loadRowsWithFields(List<Row> rowsToLoad,
List<Row> defaultRows,
String[] fieldNames,
DocumentType documentType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ADVANCED_SEARCH_FIELD
public static final String SUPERUSER_SEARCH_FIELD
public static final String CLEARSAVED_SEARCH_FIELD
Constructor Detail |
---|
public DocumentSearchCriteriaProcessorKEWAdapter()
Method Detail |
---|
public List<Row> getRows(DocumentType documentType, List<Row> defaultRows, boolean advancedSearch, boolean superUserSearch)
DocumentSearchCriteriaProcessor
This method should look at the given document type (if there is one) to determine if there are any custom rows to render for that document type. It should also look at the request for detailed and super user search and adjust the rows accordingly for either of those conditions.
getRows
in interface DocumentSearchCriteriaProcessor
documentType
- supplies the document type in use on this search if one is specified, will be null otherwisedefaultRows
- the default set of rows that are supplied from the data dictionary for the document searchadvancedSearch
- indicates whether or not a detailed search has been requestedsuperUserSearch
- indicates whether or not a super user search has been requested
protected List<Row> loadRowsForAdvancedSearch(List<Row> defaultRows, DocumentType documentType)
protected List<Row> loadRowsForBasicSearch(List<Row> defaultRows, DocumentType documentType)
protected void loadRowsWithFields(List<Row> rowsToLoad, List<Row> defaultRows, String[] fieldNames, DocumentType documentType)
protected List<Row> getDocumentAttributeRows(DocumentType documentType)
protected void addHiddenFields(List<Row> rows, boolean advancedSearch, boolean superUserSearch)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |