Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.search
Class DocumentSearchActions

java.lang.Object
  extended by org.nuxeo.ecm.webapp.search.DocumentSearchActions
All Implemented Interfaces:
java.io.Serializable

@Name(value="documentSearchActions")
@Scope(value=CONVERSATION)
public class DocumentSearchActions
extends java.lang.Object
implements java.io.Serializable

Handles search parameters needed for simple and advanced and administrator searches.

Search parameters are referenced in the content views used on search form and result pages.

Since:
5.4
Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
DocumentSearchActions()
           
 
Method Summary
 SortInfo getNewSortInfo()
           
 java.util.Map<java.lang.String,java.io.Serializable> getNewSortInfoMap()
           
 java.lang.String getNxqlQuery()
           
 java.util.List<SortInfo> getSearchSortInfos()
           
 java.util.List<java.lang.String> getSelectedLayoutColumns()
           
 java.lang.String getSimpleSearchKeywords()
           
 void resetSearches()
           
 void resetSelectedLayoutColumns()
           
 void setNxqlQuery(java.lang.String nxqlQuery)
           
 void setSearchSortInfos(java.util.List<SortInfo> searchSortInfos)
           
 void setSelectedLayoutColumns(java.util.List<java.lang.String> selectedLayoutColumns)
           
 void setSimpleSearchKeywords(java.lang.String simpleSearchKeywords)
           
 void validateSimpleSearchKeywords(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentSearchActions

public DocumentSearchActions()
Method Detail

getSimpleSearchKeywords

public java.lang.String getSimpleSearchKeywords()

setSimpleSearchKeywords

public void setSimpleSearchKeywords(java.lang.String simpleSearchKeywords)

validateSimpleSearchKeywords

public void validateSimpleSearchKeywords(javax.faces.context.FacesContext context,
                                         javax.faces.component.UIComponent component,
                                         java.lang.Object value)

getNxqlQuery

public java.lang.String getNxqlQuery()

setNxqlQuery

public void setNxqlQuery(java.lang.String nxqlQuery)

getSelectedLayoutColumns

public java.util.List<java.lang.String> getSelectedLayoutColumns()

setSelectedLayoutColumns

public void setSelectedLayoutColumns(java.util.List<java.lang.String> selectedLayoutColumns)

resetSelectedLayoutColumns

public void resetSelectedLayoutColumns()

getSearchSortInfos

public java.util.List<SortInfo> getSearchSortInfos()

setSearchSortInfos

public void setSearchSortInfos(java.util.List<SortInfo> searchSortInfos)

getNewSortInfo

public SortInfo getNewSortInfo()

getNewSortInfoMap

public java.util.Map<java.lang.String,java.io.Serializable> getNewSortInfoMap()

resetSearches

@Observer(value="userAllDocumentTypesSelectionChanged",
          create=false)
@BypassInterceptors
public void resetSearches()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.