org.rivetlogic.scar.action
Class SearchAction
java.lang.Object
org.rivetlogic.scar.action.BaseAction
org.rivetlogic.scar.action.BaseTableFieldNameAction
org.rivetlogic.scar.action.SearchAction
- All Implemented Interfaces:
- java.io.Serializable
@Synchronized(timeout=10000L)
@Name(value="action.search")
@Scope(value=SESSION)
public class SearchAction
- extends BaseTableFieldNameAction
Backing bean for all search operations (simple and advanced).
- Author:
- Rivet Logic Corporation
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchAction
public SearchAction()
init
@Create
public void init()
searchSimple
public java.lang.String searchSimple()
searchAdvanced
public java.lang.String searchAdvanced()
clearSearchCriteria
public void clearSearchCriteria()
handleTreeSelectionEvent
public void handleTreeSelectionEvent()
nodeSelectListenerForSearch
public void nodeSelectListenerForSearch(org.richfaces.event.NodeSelectedEvent nodeSelectEvent)
- Tree selection listener for selecting search categories.
- Parameters:
nodeSelectEvent -
clickFolder
public void clickFolder(org.alfresco.service.cmr.repository.NodeRef searchFolderNodeRef)
clickParentFolder
public void clickParentFolder(org.alfresco.service.cmr.repository.NodeRef nodeRef)
populateSearchResultsList
public void populateSearchResultsList(java.util.List<com.rivetlogic.core.cma.repo.Node> results)
- Populates the search results list with the nodes supplied as search results.
- Parameters:
results - the search results to populate the list with
clearSearchResultsList
public void clearSearchResultsList()
addSearchCategory
public void addSearchCategory()
removeSearchCategory
public void removeSearchCategory(CategorySearchNodeData nodeData)
buildAdvancedSearch
public void buildAdvancedSearch(SearchContext search)
- Handler to perform a search based on the current criteria
isSearchResultsPopulated
public boolean isSearchResultsPopulated()
getSearchResultsTableColumnName
public java.lang.String getSearchResultsTableColumnName()
isSearchResultsTableAscending
public boolean isSearchResultsTableAscending()
getMimetypesSelectItems
public java.util.List<javax.faces.model.SelectItem> getMimetypesSelectItems()
getSearchModeSelectItems
public java.util.List<javax.faces.model.SelectItem> getSearchModeSelectItems()
getQuickSearchTerms
public java.lang.String getQuickSearchTerms()
setQuickSearchTerms
public void setQuickSearchTerms(java.lang.String quickSearchTerms)
getContentTabId
public java.lang.String getContentTabId()
setContentTabId
public void setContentTabId(java.lang.String contentTabId)
getSearchResultsList
public MapKeySortableArrayList<NodeData> getSearchResultsList()
setSearchResultsList
public void setSearchResultsList(MapKeySortableArrayList<NodeData> searchResultsList)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
getAuthor
public java.lang.String getAuthor()
setAuthor
public void setAuthor(java.lang.String author)
getContentFormat
public java.lang.String getContentFormat()
setContentFormat
public void setContentFormat(java.lang.String contentFormat)
isCreatedDateChecked
public boolean isCreatedDateChecked()
setCreatedDateChecked
public void setCreatedDateChecked(boolean createdDateChecked)
getCreatedDateFrom
public java.util.Date getCreatedDateFrom()
setCreatedDateFrom
public void setCreatedDateFrom(java.util.Date createdDateFrom)
getCreatedDateTo
public java.util.Date getCreatedDateTo()
setCreatedDateTo
public void setCreatedDateTo(java.util.Date createdDateTo)
isModifiedDateChecked
public boolean isModifiedDateChecked()
setModifiedDateChecked
public void setModifiedDateChecked(boolean modifiedDateChecked)
getModifiedDateFrom
public java.util.Date getModifiedDateFrom()
setModifiedDateFrom
public void setModifiedDateFrom(java.util.Date modifiedDateFrom)
getModifiedDateTo
public java.util.Date getModifiedDateTo()
setModifiedDateTo
public void setModifiedDateTo(java.util.Date modifiedDateTo)
getMode
public java.lang.String getMode()
setMode
public void setMode(java.lang.String mode)
getSelectedSearchCategory
public org.richfaces.model.TreeNode<CategoryNodeData> getSelectedSearchCategory()
setSelectedSearchCategory
public void setSelectedSearchCategory(org.richfaces.model.TreeNode<CategoryNodeData> selectedSearchCategory)
getSearchCategories
public java.util.List<CategorySearchNodeData> getSearchCategories()
setSearchCategories
public void setSearchCategories(java.util.List<CategorySearchNodeData> searchCategories)
isIncludeSubcategories
public boolean isIncludeSubcategories()
setIncludeSubcategories
public void setIncludeSubcategories(boolean includeSubcategories)
getItemsPerPage
public int getItemsPerPage()
setItemsPerPage
public void setItemsPerPage(int itemsPerPage)
getPageNumber
public int getPageNumber()
setPageNumber
public void setPageNumber(int pageNumber)
Copyright 2008, Rivet Logic Corporation.