public class DemandService extends Object
| Constructor and Description |
|---|
DemandService() |
| 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,
int nStatus)
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
|
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 - user - 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, int nStatus)
customer - The customeruser - The admin usernStatus - The statuspublic 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 userCopyright © 2017 City of Paris. All rights reserved.