|
||||||||||
| 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 java.lang.String |
CONSTANT_AND
|
static int |
CONSTANT_ID_NULL
|
static java.lang.String |
CONSTANT_WHERE
|
static java.lang.String |
EMPTY_STRING
|
| Method Summary | |
|---|---|
static void |
addHeaderResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String strFileName)
write the http header in the response |
static java.lang.String |
buildRequestWithFilter(java.lang.String strSelect,
java.util.List<java.lang.String> listStrFilter,
java.lang.String strOrder)
Builds a query with filters placed in parameters |
static int |
convertStringToInt(java.lang.String strParameter)
convert a string to int |
static java.sql.Timestamp |
getCurrentTimestamp()
return current Timestamp |
static fr.paris.lutece.util.ReferenceList |
getRefList(java.util.Collection listReferenceItem,
boolean bWitdthEmptyChoice,
java.util.Locale locale)
return a referenceList |
static fr.paris.lutece.util.ReferenceList |
getRefList(java.util.Collection listReferenceItem,
boolean bWitdthEmptyChoice,
java.lang.String strLabelEmptyChoice,
java.util.Locale locale)
return a referenceList |
static java.lang.String |
trim(java.lang.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 java.lang.String CONSTANT_WHERE
public static final java.lang.String CONSTANT_AND
public static final int CONSTANT_ID_NULL
public static final java.lang.String EMPTY_STRING
| Method Detail |
|---|
public static java.sql.Timestamp getCurrentTimestamp()
public static void addHeaderResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String strFileName)
request - the httpServletRequestresponse - the http responsestrFileName - the name of the file who must insert in the responsepublic static int convertStringToInt(java.lang.String strParameter)
strParameter - the string parameter to convert
public static java.lang.String trim(java.lang.String strParameter)
strParameter - the string parameter to convert
public static java.lang.String buildRequestWithFilter(java.lang.String strSelect,
java.util.List<java.lang.String> listStrFilter,
java.lang.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(java.util.Collection listReferenceItem,
boolean bWitdthEmptyChoice,
java.util.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(java.util.Collection listReferenceItem,
boolean bWitdthEmptyChoice,
java.lang.String strLabelEmptyChoice,
java.util.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||