public final class DemandService extends Object
| Modifier and Type | Method and Description |
|---|---|
static fr.paris.lutece.plugins.grubusiness.business.demand.Demand |
getDemand(String strDemandId,
String strDemandTypeId,
fr.paris.lutece.portal.business.user.AdminUser user)
Return a Demand object from an Id
|
static List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> |
getDemands(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
fr.paris.lutece.portal.business.user.AdminUser user,
int nStatus)
Gets a list of demand for a given Customer
|
static List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> |
getDemandsByRef(String reference,
fr.paris.lutece.portal.business.user.AdminUser user)
Gets a list of demand for a given reference
|
static List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> |
getDemandsExcludingTypes(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
List<String> listExcludedTypes,
fr.paris.lutece.portal.business.user.AdminUser user)
Gets a list of demand for a given Customer filtered by types
|
static List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> |
getDemandsIncludingTypes(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
List<String> listIncludedTypes,
fr.paris.lutece.portal.business.user.AdminUser user)
Gets a list of demand for a given Customer filtered by types
|
static List<NotifiedDemand> |
getNotifiedDemands(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
fr.paris.lutece.portal.business.user.AdminUser user,
int nStatus)
Gets a list of demand for a given Customer
|
static NotifiedDemand |
updateNotifiedDemandStatus(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
Return a NotifiedDemand object from a Demand object with status data contained in notifications
|
public static fr.paris.lutece.plugins.grubusiness.business.demand.Demand getDemand(String strDemandId, String strDemandTypeId, fr.paris.lutece.portal.business.user.AdminUser user)
strDemandId - The Demand IdstrDemandTypeId - the demand type iduser - The Admin Userpublic static List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> getDemands(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer, fr.paris.lutece.portal.business.user.AdminUser user, int nStatus)
customer - The customeruser - The admin usernStatus - The statuspublic static List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> getDemandsByRef(String reference, fr.paris.lutece.portal.business.user.AdminUser user)
reference - The referenceuser - The admin userpublic static List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> getDemandsExcludingTypes(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer, List<String> listExcludedTypes, fr.paris.lutece.portal.business.user.AdminUser user)
customer - The customerlistExcludedTypes - excluded typesuser - The admin userpublic static List<fr.paris.lutece.plugins.grubusiness.business.demand.Demand> getDemandsIncludingTypes(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer, List<String> listIncludedTypes, fr.paris.lutece.portal.business.user.AdminUser user)
customer - The customerlistIncludedTypes - included typesuser - The admin userpublic static List<NotifiedDemand> getNotifiedDemands(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer, fr.paris.lutece.portal.business.user.AdminUser user, int nStatus)
customer - The customeruser - The admin usernStatus - The statuspublic static NotifiedDemand updateNotifiedDemandStatus(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
notifiedDemand - the notifiedDemand to updateCopyright © 2018 City of Paris. All rights reserved.