public class SearchTermBuilderImpl extends Object implements SearchTermBuilder
Modifier and Type | Field and Description |
---|---|
private static org.apache.log4j.Logger |
log
The log.
|
private List<String> |
parameters |
static String |
SEARCHTEMPLATE_PARAMETER_KEY |
static String |
SEARCHTERM_ESCAPE_KEY |
static String |
SEARCHTERM_PARAMETERS_KEY |
static String |
SEARCHTERM_TEMPLATE_KEY |
private boolean |
shouldEscape |
private String |
template |
private org.apache.velocity.app.VelocityEngine |
vEngine |
Constructor and Description |
---|
SearchTermBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
String |
buildTerm(javax.portlet.PortletRequest request) |
void |
init(com.gentics.cr.CRConfig config) |
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
private static org.apache.log4j.Logger log
private org.apache.velocity.app.VelocityEngine vEngine
public static final String SEARCHTERM_PARAMETERS_KEY
public static final String SEARCHTERM_TEMPLATE_KEY
public static final String SEARCHTERM_ESCAPE_KEY
public static final String SEARCHTEMPLATE_PARAMETER_KEY
private boolean shouldEscape
private String template
public void init(com.gentics.cr.CRConfig config)
init
in interface SearchTermBuilder
public void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
processAction
in interface SearchTermBuilder
public String buildTerm(javax.portlet.PortletRequest request)
buildTerm
in interface SearchTermBuilder
Copyright © 2014 Gentics Software GmbH. All Rights Reserved.