| Constructor and Description |
|---|
PhaseDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
Phase |
findByCampaignCodeAndPhaseTypeCode(String campaignCode,
String phaseTypeCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
insert(Phase phase,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Phase |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIdPhasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the phase objects and returns them as a list
|
List<Phase> |
selectPhasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the phase objects and returns them as a list
|
Collection<Phase> |
selectPhasesListByCampaign(String campaignCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the campagnePhase objects for a campagne and returns them as a collection
|
fr.paris.lutece.util.ReferenceList |
selectPhasesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the phase objects and returns them as a referenceList
|
fr.paris.lutece.util.ReferenceList |
selectPhasesTypeReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the phase type objects and returns them as a referenceList
|
void |
store(Phase phase,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(Phase phase, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Phase load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Phase findByCampaignCodeAndPhaseTypeCode(String campaignCode, String phaseTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByCampaignCodeAndPhaseTypeCode in interface IPhaseDAOcampaignCode - the campaign codephaseTypeCode - the phase type codeplugin - the pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Phase phase, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Phase> selectPhasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPhasesList in interface IPhaseDAOplugin - the Pluginpublic List<Integer> selectIdPhasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdPhasesList in interface IPhaseDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectPhasesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPhasesReferenceList in interface IPhaseDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectPhasesTypeReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPhasesTypeReferenceList in interface IPhaseDAOplugin - the Pluginpublic Collection<Phase> selectPhasesListByCampaign(String campaignCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPhasesListByCampaign in interface IPhaseDAOcampaignCode - the campagne codeCopyright © 2022 City of Paris. All rights reserved.