|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.service.FormService
public final class FormService
FormService
| Method Summary | |
|---|---|
static FormService |
getInstance()
Returns the instance of the singleton |
java.util.Map<java.lang.String,java.lang.Object> |
getManageAdvancedParameters(fr.paris.lutece.portal.business.user.AdminUser user)
Build the advanced parameters management |
int |
getMaxNumber(IEntry entry)
Get the max number |
fr.paris.lutece.portal.business.style.Theme |
getXPageTheme(int nIdForm)
Gets the x page theme. |
boolean |
hasFormErrors(javax.servlet.http.HttpSession session)
Check if the session has a list of responses without form errors and the validate requirement is indeed checked |
boolean |
hasRecap(Form form)
Check if the given form has a recap or not |
void |
init()
Initialize the Form service |
boolean |
isSessionValid(Form form,
javax.servlet.http.HttpServletRequest request)
Check if the user is authorized to view the form. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void init()
public static FormService getInstance()
public java.util.Map<java.lang.String,java.lang.Object> getManageAdvancedParameters(fr.paris.lutece.portal.business.user.AdminUser user)
user - the current user
public boolean isSessionValid(Form form,
javax.servlet.http.HttpServletRequest request)
form - the formrequest - the HTTP request
public boolean hasRecap(Form form)
form - the form
public boolean hasFormErrors(javax.servlet.http.HttpSession session)
session - the HTTP session
public int getMaxNumber(IEntry entry)
nIdEntryTypeNumbering - the id entry type numberingnIdDirectory - the id directory
public fr.paris.lutece.portal.business.style.Theme getXPageTheme(int nIdForm)
nIdForm - the n id form
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||