public class SearchContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchContext.RouterParams |
| Constructor and Description |
|---|
SearchContext(org.exoplatform.web.controller.router.Router router,
String siteName)
Contructor to create a context for search service
|
| Modifier and Type | Method and Description |
|---|---|
String |
getParamValue(org.exoplatform.web.controller.QualifiedName name) |
org.exoplatform.web.controller.router.Router |
getRouter()
Get router
|
String |
getSiteName()
Get site name, e.g.
|
String |
getSiteType()
Get site type
|
SearchContext |
handler(String value)
Puts Handler value into QualifiedName map
|
SearchContext |
lang(String value)
Puts Lang value into QualifiedName map
|
SearchContext |
path(String value)
Puts Path value into QualifiedName map
|
String |
renderLink()
Render link base on router and Map<QualifiedName, String>
|
void |
setRouter(org.exoplatform.web.controller.router.Router router)
Set router
|
SearchContext |
siteName(String value)
Puts SiteType value into QualifiedName map
|
SearchContext |
siteType(String value)
Puts SiteType value into QualifiedName map
|
public SearchContext(org.exoplatform.web.controller.router.Router router,
String siteName)
router - siteName - public org.exoplatform.web.controller.router.Router getRouter()
public void setRouter(org.exoplatform.web.controller.router.Router router)
router - public String getParamValue(org.exoplatform.web.controller.QualifiedName name)
public String getSiteName()
public String getSiteType()
public SearchContext handler(String value)
value - public SearchContext lang(String value)
value - public SearchContext path(String value)
value - public SearchContext siteType(String value)
value - public SearchContext siteName(String value)
value - Copyright © 2003–2021 eXo Platform SAS. All rights reserved.