|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.workflow.utils.WorkflowUtils
public final class WorkflowUtils
class DirectoryUtils
| Field Summary | |
|---|---|
static String |
CONSTANT_AND
|
static int |
CONSTANT_ID_NULL
|
static String |
CONSTANT_WHERE
|
static String |
EMPTY_STRING
|
static String |
PROPERTY_SELECT_EMPTY_CHOICE
|
| Method Summary | |
|---|---|
static void |
addHeaderResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String strFileName)
write the http header in the response |
static String |
buildRequestWithFilter(String strSelect,
List<String> listStrFilter,
String strOrder)
Builds a query with filters placed in parameters |
static int |
convertStringToInt(String strParameter)
convert a string to int |
static Integer[] |
convertStringToInt(String[] listToConvert)
Convert an array of Strings into an array of Integers |
static Timestamp |
getCurrentTimestamp()
return current Timestamp |
static fr.paris.lutece.portal.service.plugin.Plugin |
getPlugin()
Get the workflow plugin |
static fr.paris.lutece.util.ReferenceList |
getRefList(Collection listReferenceItem,
boolean bWitdthEmptyChoice,
Locale locale)
return a referenceList |
static fr.paris.lutece.util.ReferenceList |
getRefList(Collection listReferenceItem,
boolean bWitdthEmptyChoice,
String strLabelEmptyChoice,
Locale locale)
return a referenceList |
static String |
trim(String strParameter)
Returns a copy of the string , with leading and trailing whitespace omitted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONSTANT_WHERE
public static final String CONSTANT_AND
public static final int CONSTANT_ID_NULL
public static final String EMPTY_STRING
public static final String PROPERTY_SELECT_EMPTY_CHOICE
| Method Detail |
|---|
public static Timestamp getCurrentTimestamp()
public 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 int convertStringToInt(String strParameter)
strParameter - the string parameter to convert
public static String trim(String strParameter)
strParameter - the string parameter to convert
public static String buildRequestWithFilter(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 query
public static fr.paris.lutece.util.ReferenceList getRefList(Collection listReferenceItem,
boolean bWitdthEmptyChoice,
Locale locale)
listReferenceItem - a list of referenc ItembWitdthEmptyChoice - true if a empty item must be insert in the reference listlocale - the locale
public static fr.paris.lutece.util.ReferenceList getRefList(Collection listReferenceItem,
boolean bWitdthEmptyChoice,
String strLabelEmptyChoice,
Locale locale)
listReferenceItem - a list of referenc ItembWitdthEmptyChoice - true if a empty item must be insert in the reference liststrLabelEmptyChoice - the empty choice labellocale - the locale
public static fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
public static Integer[] convertStringToInt(String[] listToConvert)
listToConvert - the list to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||