public class UserAuthorizedCustomerFinder extends Object
| Constructor and Description |
|---|
UserAuthorizedCustomerFinder(fr.paris.lutece.portal.business.user.AdminUser user)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
findByDemand(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
Finds the customer linked to the specified demand
|
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
findById(String strCustomerId)
Finds a customer by its id
|
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> |
findByQuery(String strJsonQuery)
Finds customers depending on the specified query.
|
public UserAuthorizedCustomerFinder(fr.paris.lutece.portal.business.user.AdminUser user)
user - the user used to find the customerspublic fr.paris.lutece.plugins.grubusiness.business.customer.Customer findById(String strCustomerId) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
strCustomerId - the customer idfr.paris.lutece.portal.service.admin.AccessDeniedException - if the user is not authorized to access the customerpublic fr.paris.lutece.plugins.grubusiness.business.customer.Customer findByDemand(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
throws fr.paris.lutece.portal.service.admin.AccessDeniedException
demand - the demandnull if the demand has no customerfr.paris.lutece.portal.service.admin.AccessDeniedException - if the user is not authorized to access the customerCopyright © 2018 City of Paris. All rights reserved.