net.sf.scmwebgui.actions
Class AndSearch

java.lang.Object
  extended by net.sf.scmwebgui.actions.AndSearch
All Implemented Interfaces:
IActionHandler

public class AndSearch
extends java.lang.Object
implements IActionHandler

This IActionHandler launch an 'AND' search in sconman. It allows search by a string and filter by content fields. There is a list of used parameters:

The IActionHandler to show search results, puts an attribute called ' searchResults' in Velocity context to access to a ISearchResults object containing the search of current search. The other attributes are stored too.

Author:
luigi_beast

Constructor Summary
AndSearch()
           
 
Method Summary
 void execute(RequestContext ctx, javax.servlet.http.HttpServletRequest request)
          Execute the actions in the IActionHandler
 java.lang.String getCtype()
           
 java.util.Map getFields()
           
 java.lang.String getPageSize()
           
 java.lang.String getQuery()
           
 boolean isGlobal()
           
 boolean isSubcategories()
           
 void setCtype(java.lang.String ctype)
           
 void setFields(java.util.Map fields)
           
 void setGlobal(boolean global)
           
 void setPageSize(java.lang.String pageSize)
           
 void setQuery(java.lang.String query)
           
 void setSubcategories(boolean subcategories)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndSearch

public AndSearch()
Method Detail

execute

public void execute(RequestContext ctx,
                    javax.servlet.http.HttpServletRequest request)
Description copied from interface: IActionHandler
Execute the actions in the IActionHandler

Specified by:
execute in interface IActionHandler
request - Servlet Request with parameters as attributes.

getFields

public java.util.Map getFields()
Returns:
Returns the fields.

setFields

public void setFields(java.util.Map fields)
Parameters:
fields - The fields to set.

isGlobal

public boolean isGlobal()
Returns:
Returns the global.

setGlobal

public void setGlobal(boolean global)
Parameters:
global - The global to set.

getQuery

public java.lang.String getQuery()
Returns:
Returns the query.

setQuery

public void setQuery(java.lang.String query)
Parameters:
query - The query to set.

isSubcategories

public boolean isSubcategories()
Returns:
Returns the subcategories.

setSubcategories

public void setSubcategories(boolean subcategories)
Parameters:
subcategories - The subcategories to set.

getCtype

public java.lang.String getCtype()
Returns:
Returns the ctype.

setCtype

public void setCtype(java.lang.String ctype)
Parameters:
ctype - The ctype to set.

getPageSize

public java.lang.String getPageSize()
Returns:
Returns the pageSize.

setPageSize

public void setPageSize(java.lang.String pageSize)
Parameters:
pageSize - The pageSize to set.


Copyright null null. All Rights Reserved.