public final class SuggestSubmitTypeDAO extends Object implements ISuggestSubmitTypeDAO
| Constructor and Description |
|---|
SuggestSubmitTypeDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdSuggestSubmitType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the suggest submit type whose identifier is specified in parameter
|
void |
deleteSuggestAssociation(int nIdSuggest,
int nIdSuggestSubmitType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an association between suggest and a suggest submit type
|
int |
insert(SuggestSubmitType suggestSubmitType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
insertSuggestAssociation(int nIdSuggest,
int nIdSuggestSubmitType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert an association between suggest and a suggest submit type
|
boolean |
isAssociateToSuggest(int nIdType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
true if there is a suggest associate to the suggest submit type
|
SuggestSubmitType |
load(int nIdSuggestSubmitType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the suggestSubmitType from the table
|
List<SuggestSubmitType> |
selectList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of the suggestSubmitType from the table
The images are not loaded in the SuggestSubmitType Objects
|
List<SuggestSubmitType> |
selectListByIdSuggest(int nIdSuggest,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of the suggestSubmitType from the table
The images are not loaded in the SuggestSubmitType Objects
|
void |
store(SuggestSubmitType suggestSubmitType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the the suggestSubmitType in the table
|
public int insert(SuggestSubmitType suggestSubmitType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISuggestSubmitTypeDAOsuggestSubmitType - instance of the Suggest Submit Type object to insertplugin - the pluginpublic SuggestSubmitType load(int nIdSuggestSubmitType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISuggestSubmitTypeDAOnIdSuggestSubmitType - The identifier of the formResponseplugin - the pluginpublic List<SuggestSubmitType> selectList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectList in interface ISuggestSubmitTypeDAOplugin - the pluginpublic void delete(int nIdSuggestSubmitType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISuggestSubmitTypeDAOnIdSuggestSubmitType - The identifier of the suggest submitplugin - the pluginpublic void store(SuggestSubmitType suggestSubmitType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISuggestSubmitTypeDAOsuggestSubmitType - instance of the suggestSubmit object to updateplugin - the pluginpublic List<SuggestSubmitType> selectListByIdSuggest(int nIdSuggest, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByIdSuggest in interface ISuggestSubmitTypeDAOplugin - the pluginnIdSuggest - the id Suggestpublic boolean isAssociateToSuggest(int nIdType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
isAssociateToSuggest in interface ISuggestSubmitTypeDAOnIdType - the key of the typeplugin - the pluginpublic void deleteSuggestAssociation(int nIdSuggest,
int nIdSuggestSubmitType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteSuggestAssociation in interface ISuggestSubmitTypeDAOnIdSuggest - The identifier of the suggestnIdSuggestSubmitType - nIdSuggestSubmitTypeplugin - the pluginpublic void insertSuggestAssociation(int nIdSuggest,
int nIdSuggestSubmitType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertSuggestAssociation in interface ISuggestSubmitTypeDAOnIdSuggest - The identifier of the suggestnIdSuggestSubmitType - nIdSuggestSubmitTypeplugin - the pluginCopyright © 2018 City of Paris. All rights reserved.