|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.business.FormDAO
public final class FormDAO
class FormDAO
Constructor Summary | |
---|---|
FormDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
fr.paris.lutece.util.ReferenceList |
getEnableFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all enable form returns them in a reference list |
java.util.Map<java.lang.Integer,fr.paris.lutece.portal.business.style.Theme> |
getXPageThemesMap(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all the themes for form xpages |
int |
insert(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Form |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Form from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.List<Form> |
selectFormList(FormFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the form who verify the filter and returns them in a list |
void |
store(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the form in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the plugin
public int insert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IFormDAO
form
- instance of the Form to insertplugin
- the plugin
public Form load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IFormDAO
nId
- The identifier of the formplugin
- the plugin
public void delete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IFormDAO
nIdForm
- The identifier of the formplugin
- the pluginpublic void store(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IFormDAO
form
- instance of the Form object to updateplugin
- the pluginpublic java.util.List<Form> selectFormList(FormFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormList
in interface IFormDAO
filter
- the filterplugin
- the plugin
public fr.paris.lutece.util.ReferenceList getEnableFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getEnableFormList
in interface IFormDAO
plugin
- the plugin
public java.util.Map<java.lang.Integer,fr.paris.lutece.portal.business.style.Theme> getXPageThemesMap(fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAO
getXPageThemesMap
in interface IFormDAO
plugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |