Class DemandDAO
java.lang.Object
fr.paris.lutece.plugins.notificationstore.business.DemandDAO
- All Implemented Interfaces:
fr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
public final class DemandDAO
extends Object
implements fr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
This class provides Data Access methods for Demand objects stored in SQL database
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteByUid(int nUid) fr.paris.lutece.plugins.grubusiness.business.demand.Demandinsert(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand) fr.paris.lutece.plugins.grubusiness.business.demand.Demandload(int nId) Collection<fr.paris.lutece.plugins.grubusiness.business.demand.Demand>loadByCustomerId(String strCustomerId) fr.paris.lutece.plugins.grubusiness.business.demand.DemandloadByDemandId(String strDemandId) fr.paris.lutece.plugins.grubusiness.business.demand.DemandloadByDemandIdAndTypeIdAndCustomerId(String strDemandId, String strDemandTypeId, String strCustomerId) Collection<fr.paris.lutece.plugins.grubusiness.business.demand.Demand>loadByFilter(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter filter) List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand>Collection<fr.paris.lutece.plugins.grubusiness.business.demand.Demand>loadByReference(String strReference) loadIdsByCustomerIdAndIdDemandType(String strCustomerId, String strNotificationType, String strIdDemandType) loadIdsByCustomerIdAndIdDemandType(String strCustomerId, String strNotificationType, String strIdDemandType, String strDirectionDateOrderBy) loadIdsByFilter(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter filter) loadIdsByStatus(String strCustomerId, List<String> listStatus, String strNotificationType, String strIdDemandType) voidreassignDemands(String strOldCustomerId, String strNewCustomerId) fr.paris.lutece.plugins.grubusiness.business.demand.Demandstore(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand) voidupdateDemandsStatusId(int nNewStatusId, int nTemporaryStatusId)
-
Constructor Details
-
DemandDAO
public DemandDAO()
-
-
Method Details
-
load
public fr.paris.lutece.plugins.grubusiness.business.demand.Demand load(int nId) - Specified by:
loadin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadByCustomerId
public Collection<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> loadByCustomerId(String strCustomerId) - Specified by:
loadByCustomerIdin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadByIds
public List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> loadByIds(List<Integer> listIds) - Specified by:
loadByIdsin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadByReference
public Collection<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> loadByReference(String strReference) - Specified by:
loadByReferencein interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadByFilter
public Collection<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> loadByFilter(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter filter) - Specified by:
loadByFilterin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadIdsByFilter
public List<Integer> loadIdsByFilter(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter filter) - Specified by:
loadIdsByFilterin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
insert
public fr.paris.lutece.plugins.grubusiness.business.demand.Demand insert(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand) - Specified by:
insertin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
store
public fr.paris.lutece.plugins.grubusiness.business.demand.Demand store(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand) - Specified by:
storein interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
reassignDemands
- Specified by:
reassignDemandsin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
delete
- Specified by:
deletein interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
deleteByUid
public void deleteByUid(int nUid) - Specified by:
deleteByUidin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadAllIds
- Specified by:
loadAllIdsin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadByDemandId
public fr.paris.lutece.plugins.grubusiness.business.demand.Demand loadByDemandId(String strDemandId) - Specified by:
loadByDemandIdin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadByDemandIdAndTypeIdAndCustomerId
public fr.paris.lutece.plugins.grubusiness.business.demand.Demand loadByDemandIdAndTypeIdAndCustomerId(String strDemandId, String strDemandTypeId, String strCustomerId) - Specified by:
loadByDemandIdAndTypeIdAndCustomerIdin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadIdsByCustomerIdAndIdDemandType
public List<Integer> loadIdsByCustomerIdAndIdDemandType(String strCustomerId, String strNotificationType, String strIdDemandType) - Specified by:
loadIdsByCustomerIdAndIdDemandTypein interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadIdsByCustomerIdAndIdDemandType
public List<Integer> loadIdsByCustomerIdAndIdDemandType(String strCustomerId, String strNotificationType, String strIdDemandType, String strDirectionDateOrderBy) - Specified by:
loadIdsByCustomerIdAndIdDemandTypein interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
loadIdsByStatus
public List<Integer> loadIdsByStatus(String strCustomerId, List<String> listStatus, String strNotificationType, String strIdDemandType) - Specified by:
loadIdsByStatusin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-
updateDemandsStatusId
public void updateDemandsStatusId(int nNewStatusId, int nTemporaryStatusId) - Specified by:
updateDemandsStatusIdin interfacefr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO
-