public class DemandService extends Object
| Constructor and Description |
|---|
DemandService() |
| Modifier and Type | Method and Description |
|---|---|
static Demand |
getDemand(String strDemandId,
String strDemandTypeId,
fr.paris.lutece.portal.business.user.AdminUser user)
Return a Demand object from an Id
|
static List<Demand> |
getDemands(Customer customer,
fr.paris.lutece.portal.business.user.AdminUser user,
int nStatus)
Gets a list of demand for a given Customer
|
static List<Demand> |
getDemandsExcludingTypes(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<Demand> |
getDemandsIncludingTypes(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 Demand getDemand(String strDemandId, String strDemandTypeId, fr.paris.lutece.portal.business.user.AdminUser user)
strDemandId - The Demand IdstrDemandTypeId - user - The Admin Userpublic static List<Demand> getDemands(Customer customer, fr.paris.lutece.portal.business.user.AdminUser user, int nStatus)
customer - The customeruser - The admin usernStatus - The statuspublic static List<Demand> getDemandsExcludingTypes(Customer customer, List<String> listExcludedTypes, fr.paris.lutece.portal.business.user.AdminUser user)
customer - The customerlistExcludedTypes - excluded typesuser - The admin userpublic static List<Demand> getDemandsIncludingTypes(Customer customer, List<String> listIncludedTypes, fr.paris.lutece.portal.business.user.AdminUser user)
customer - The customerlistIncludedTypes - included typesuser - The admin userCopyright © 2016 City of Paris. All rights reserved.