public class SearchBean extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PAGE_PARAM
Parameter name for requesting search terms.
|
static String |
REALM_PARAM
Parameter name for the realm to which the search is restricted.
|
static String |
SEARCH_PARAM
Parameter name for requesting search terms.
|
| Constructor and Description |
|---|
SearchBean(String search,
String realm,
uk.ac.cam.caret.sakai.rwiki.service.api.RWikiObjectService objectService)
Creates a searchBean
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRealm()
Gets the current search realm
|
String |
getSearch()
Gets the current search request
|
List |
getSearchResults()
Perform the search
|
List |
search()
Perform the search
|
void |
setRWikiObjectService(uk.ac.cam.caret.sakai.rwiki.service.api.RWikiObjectService objectService)
Set the RWikiObjectService for searching from
|
public static final String SEARCH_PARAM
public static final String PAGE_PARAM
public static final String REALM_PARAM
public void setRWikiObjectService(uk.ac.cam.caret.sakai.rwiki.service.api.RWikiObjectService objectService)
objectService - public String getSearch()
public String getRealm()
public List getSearchResults()
public List search()
Copyright © 2003-2014 Sakai Project. All Rights Reserved.