public interface IDemandDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String strDemandId,
String strDemandTypeId)
Deletes a demand with the specified id and type id
|
Demand |
insert(Demand demand)
Insert a demand
|
Demand |
load(String strDemandId,
String strDemandTypeId)
Finds a demand with the specified id and type id
|
Collection<Demand> |
loadAllDemands()
Finds all the demands in the table
|
Collection<Demand> |
loadByCustomerId(String strCustomerId)
Finds the demands associated to the specified customer id
|
Collection<Demand> |
loadByReference(String strReference)
Finds the demands associated to the specified reference
|
Demand |
store(Demand demand)
Stores a demand
|
Collection<Demand> loadByCustomerId(String strCustomerId)
strCustomerId - the customer idCollection<Demand> loadByReference(String strReference)
strReference - the referenceCollection<Demand> loadAllDemands()
Demand load(String strDemandId, String strDemandTypeId)
strDemandId - the demand idstrDemandTypeId - the demand type idnull otherwiseDemand insert(Demand demand)
demand - the demand to insertDemand store(Demand demand)
demand - the demand to storeCopyright © 2017 City of Paris. All rights reserved.