public class CustomerProvider extends Object
| Constructor and Description |
|---|
CustomerProvider() |
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
decrypt(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
Decrypts a
Customer from the specified Customer. |
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
decrypt(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
String strCode)
Decrypts a
Customer from the specified Customer. |
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
get(String strGuid,
String strCid)
Provides a customer with the specified GUID / CID
|
static CustomerProvider |
instance()
retrieve singleton
|
public static CustomerProvider instance()
public fr.paris.lutece.plugins.grubusiness.business.customer.Customer get(String strGuid, String strCid)
strGuid - the GUIDstrCid - the customer idpublic fr.paris.lutece.plugins.grubusiness.business.customer.Customer decrypt(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
String strCode)
Decrypts a Customer from the specified Customer.
The provided Customer is not modified.
customer - the customer from which the Customer is decrypted. Must not be nullstrCode - the code used to decrypt the Customer. Must not be nullCustomerpublic fr.paris.lutece.plugins.grubusiness.business.customer.Customer decrypt(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
Decrypts a Customer from the specified Customer.
The provided Customer is not modified.
customer - the customer from which the Customer is decrypted. Must not be nulldemand - the demand for which the Customer is decrypted. Must not be nullCustomerCopyright © 2018 City of Paris. All rights reserved.