| Constructor and Description |
|---|
FormDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<Integer> |
getAnonymizeEntryList(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of entries of a form to anonymize
|
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
|
List<Form> |
getFormListForAutomaticCleaning(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of forms that must be cleaned automatically.
|
Map<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.
|
void |
insertAnonymizeEntry(int nIdForm,
int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert an entry in the anonymize entries 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
|
void |
removeAnonymizeEntry(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove entries in the anonymize entries table
|
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
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginpublic int insert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Form load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Form> selectFormList(FormFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormList in interface IFormDAOfilter - the filterplugin - the pluginpublic fr.paris.lutece.util.ReferenceList getEnableFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getEnableFormList in interface IFormDAOplugin - the pluginpublic Map<Integer,fr.paris.lutece.portal.business.style.Theme> getXPageThemesMap(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getXPageThemesMap in interface IFormDAOplugin - the pluginpublic List<Integer> getAnonymizeEntryList(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getAnonymizeEntryList in interface IFormDAOnIdForm - The id of the formplugin - The pluginpublic void insertAnonymizeEntry(int nIdForm,
int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertAnonymizeEntry in interface IFormDAOnIdForm - The id of the form the entry is associated withnIdEntry - The id of the entry to anonymizeplugin - The pluginpublic void removeAnonymizeEntry(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeAnonymizeEntry in interface IFormDAOnIdForm - The id of the formplugin - The pluginpublic List<Form> getFormListForAutomaticCleaning(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getFormListForAutomaticCleaning in interface IFormDAOplugin - The pluginCopyright © 2018 City of Paris. All rights reserved.