public final class PhaseHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Phase |
create(Phase phase)
Create an instance of the phase class
|
static Phase |
findByCampaignCodeAndPhaseTypeCode(String campaignCode,
String phaseTypeCode) |
static Phase |
findByPrimaryKey(int nKey)
Returns an instance of a phase whose identifier is specified in parameter
|
static List<Integer> |
getIdPhasesList()
Load the id of all the phase objects and returns them as a list
|
static List<Phase> |
getPhasesList()
Load the data of all the phase objects and returns them as a list
|
static Collection<Phase> |
getPhasesListByCampaign(String campagneCode)
Load the data of all the campagnePhase objects for a campagne and returns them in form of a collection
|
static fr.paris.lutece.util.ReferenceList |
getPhasesReferenceList()
Load the data of all the phase objects and returns them as a referenceList
|
static fr.paris.lutece.util.ReferenceList |
getPhasesTypeReferenceList()
Load the data of all the phase type objects and returns them as a referenceList
|
static void |
remove(int nKey)
Remove the phase whose identifier is specified in parameter
|
static Phase |
update(Phase phase)
Update of the phase which is specified in parameter
|
public static Phase create(Phase phase)
phase - The instance of the Phase which contains the informations to storepublic static Phase update(Phase phase)
phase - The instance of the Phase which contains the data to storepublic static void remove(int nKey)
nKey - The phase Idpublic static Phase findByPrimaryKey(int nKey)
nKey - The phase primary keypublic static List<Phase> getPhasesList()
public static List<Integer> getIdPhasesList()
public static fr.paris.lutece.util.ReferenceList getPhasesReferenceList()
public static fr.paris.lutece.util.ReferenceList getPhasesTypeReferenceList()
public static Phase findByCampaignCodeAndPhaseTypeCode(String campaignCode, String phaseTypeCode)
campaignCode - the campaign codephaseTypeCode - the phase type codeplugin - the pluginpublic static Collection<Phase> getPhasesListByCampaign(String campagneCode)
campagneCode - the campagne codeCopyright © 2021 City of Paris. All rights reserved.