public class CustomerAuthorizationFilterChain extends Object
| Constructor and Description |
|---|
CustomerAuthorizationFilterChain()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(ICustomerAuthorizationFilter customerAuthorizationFilter)
Adds a filter in the chain
|
void |
doFilter(fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
Launches the chain to filter the specified customer depending on the user authorizations
|
void |
doFilter(fr.paris.lutece.portal.business.user.AdminUser user,
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> listCustomer)
Launches the chain to filter the specified list of customers depending on the user authorizations
|
public CustomerAuthorizationFilterChain()
public void doFilter(fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
throws fr.paris.lutece.portal.service.admin.AccessDeniedException
user - the usercustomer - the customer to filterfr.paris.lutece.portal.service.admin.AccessDeniedException - if the user is not authorized to access the customerpublic void doFilter(fr.paris.lutece.portal.business.user.AdminUser user,
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> listCustomer)
user - the userlistCustomer - the list of customers to filterpublic void addFilter(ICustomerAuthorizationFilter customerAuthorizationFilter)
customerAuthorizationFilter - the filter to addCopyright © 2018 City of Paris. All rights reserved.