public final class BlogUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONSTANT_AND |
static int |
CONSTANT_ID_NULL |
static String |
CONSTANT_TYPE_RESOURCE |
static String |
CONSTANT_WHERE |
Modifier and Type | Method and Description |
---|---|
static void |
addHeaderResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String strFileName)
write the http header in the response
|
static String |
buildRequetteWithFilter(String strSelect,
List<String> listStrFilter,
String strOrder)
Builds a query with filters placed in parameters
|
static fr.paris.lutece.portal.service.plugin.Plugin |
getPlugin()
Gets the plugin
|
public static final String CONSTANT_WHERE
public static final String CONSTANT_AND
public static final int CONSTANT_ID_NULL
public static final String CONSTANT_TYPE_RESOURCE
public static String buildRequetteWithFilter(String strSelect, List<String> listStrFilter, String strOrder)
strSelect
- the select of the querylistStrFilter
- the list of filter to add in the querystrOrder
- the order by of the querypublic static void addHeaderResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String strFileName)
request
- the httpServletRequestresponse
- the http responsestrFileName
- the name of the file who must insert in the responsepublic static fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
Copyright © 2020 City of Paris. All rights reserved.