public final class DemandTypeHome extends Object
Modifier and Type | Method and Description |
---|---|
static DemandType |
create(DemandType demandType)
Create an instance of the demandType class
|
static DemandType |
findByPrimaryKey(int nKey)
Returns an instance of a demandType whose identifier is specified in parameter
|
static DemandType |
findByTypeId(String strDemandTypeId)
Find a DemandType by its DemandTypeId
|
static fr.paris.lutece.util.ReferenceList |
getDemandTypes()
Return a reference list of all demands
|
static List<DemandType> |
getDemandTypesList()
Load the data of all the demandType objects and returns them in form of a collection
|
static List<Integer> |
getIdDemandTypesList()
Load the id of all the demandType objects and returns them in form of a collection
|
static void |
remove(int nKey)
Remove the demandType whose identifier is specified in parameter
|
static DemandType |
update(DemandType demandType)
Update of the demandType which is specified in parameter
|
public static DemandType create(DemandType demandType)
demandType
- The instance of the DemandType which contains the informations to storepublic static DemandType update(DemandType demandType)
demandType
- The instance of the DemandType which contains the data to storepublic static void remove(int nKey)
nKey
- The demandType Idpublic static DemandType findByPrimaryKey(int nKey)
nKey
- The demandType primary keypublic static DemandType findByTypeId(String strDemandTypeId)
strDemandTypeId
- The demandTypeIdpublic static List<DemandType> getDemandTypesList()
public static List<Integer> getIdDemandTypesList()
public static fr.paris.lutece.util.ReferenceList getDemandTypes()
Copyright © 2016 City of Paris. All rights reserved.