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
|
List<String> |
loadAllIds()
Load the ids of the demands
|
Collection<Demand> |
loadByCustomerId(String strCustomerId)
Finds the demands associated to the specified customer id
|
Collection<Demand> |
loadByFilter(NotificationFilter filter)
Search demands by filter
|
Demand |
loadById(String strId)
Finds demands associated to the id
|
List<Demand> |
loadByIds(List<Integer> listIds)
load demands corresponding to the id list
|
Collection<Demand> |
loadByReference(String strReference)
Finds the demands associated to the specified reference
|
List<Integer> |
loadIdsByFilter(NotificationFilter filter)
Search demands by filter
|
Demand |
store(Demand demand)
Stores a demand
|
Collection<Demand> loadByCustomerId(String strCustomerId)
strCustomerId - the customer idCollection<Demand> loadByReference(String strReference)
strReference - the referenceCollection<Demand> loadByFilter(NotificationFilter filter)
filter - List<Integer> loadIdsByFilter(NotificationFilter filter)
filter - List<Demand> loadByIds(List<Integer> listIds)
listIds - 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 storevoid delete(String strDemandId, String strDemandTypeId)
strDemandId - the demand idstrDemandTypeId - the demand type idCopyright © 2022 City of Paris. All rights reserved.