|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.utils.FormUtils
public final class FormUtils
class FormUtils
| Field Summary | |
|---|---|
static java.lang.String |
EMPTY_STRING
|
| Method Summary | |
|---|---|
static IEntry |
createEntryByType(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return an instance of IEntry function of type entry |
static Field |
findFieldByIdInTheList(int nIdField,
java.util.List<Field> listField)
return the field which key is specified in parameter |
static java.sql.Timestamp |
getCurrentDate()
return current date |
static java.sql.Timestamp |
getDate(java.lang.String strDate,
java.util.Locale locale)
return a timestamp Object which correspond with the string specified in parameter. |
static void |
getHtmlEntry(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.StringBuffer stringBuffer,
java.util.Locale locale)
|
static int |
getIndexEntryInTheEntryList(int nIdEntry,
java.util.List<IEntry> listEntry)
return the index in the list of the entry whose key is specified in parameter |
static int |
getIndexFieldInTheFieldList(int nIdField,
java.util.List<Field> listField)
return the index in the list of the field whose key is specified in parameter |
static FormError |
getResponseEntry(javax.servlet.http.HttpServletRequest request,
IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
FormResponse formResponse,
boolean bResponseNull,
java.util.Locale locale)
|
void |
sendMail(Form form,
fr.paris.lutece.portal.business.user.AdminUser user)
sendMail |
| 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 EMPTY_STRING
| Method Detail |
|---|
public void sendMail(Form form,
fr.paris.lutece.portal.business.user.AdminUser user)
form - the formuser - the user
public static java.sql.Timestamp getDate(java.lang.String strDate,
java.util.Locale locale)
strDate - the date who must convertlocale - the locale
public static java.sql.Timestamp getCurrentDate()
public static IEntry createEntryByType(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
request - the requestplugin - the plugin
public static int getIndexEntryInTheEntryList(int nIdEntry,
java.util.List<IEntry> listEntry)
nIdEntry - the key of the entrylistEntry - the list of the entry
public static int getIndexFieldInTheFieldList(int nIdField,
java.util.List<Field> listField)
nIdField - the key of the fieldlistField - the list of field
public static void getHtmlEntry(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.StringBuffer stringBuffer,
java.util.Locale locale)
entry - the entry which html code must be insert in the stringBufferplugin - the pluginstringBuffer - the buffer which contains the html codelocale - the locale
public static FormError getResponseEntry(javax.servlet.http.HttpServletRequest request,
IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
FormResponse formResponse,
boolean bResponseNull,
java.util.Locale locale)
entry - the entry which html code must be insert in the stringBufferplugin - the pluginstringBuffer - the buffer which contains the html codelocale - the locale
public static Field findFieldByIdInTheList(int nIdField,
java.util.List<Field> listField)
nIdField - the id of the field who is searchlistField - the list of field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||