Interface ICustomerEncryptionService
-
public interface ICustomerEncryptionServiceThis interface enables to encrypt / decrypt aCustomer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Customerdecrypt(Customer customer, Demand demand)Decrypts aCustomerfrom the specifiedCustomer.Customerdecrypt(Customer customer, java.lang.String strCode)Decrypts aCustomerfrom the specifiedCustomer.Customerencrypt(Customer customer, Demand demand)Encrypts aCustomerfrom the specifiedCustomer.Customerencrypt(Customer customer, java.lang.String strCode)Encrypts aCustomerfrom the specifiedCustomer.
-
-
-
Method Detail
-
encrypt
Customer encrypt(Customer customer, Demand demand)
- Parameters:
customer- the customer from which theCustomeris encrypted. Must not benulldemand- the demand for which theCustomeris encrypted. Must not benull- Returns:
- the encrypted
Customer
-
encrypt
Customer encrypt(Customer customer, java.lang.String strCode)
- Parameters:
customer- the customer from which theCustomeris encrypted. Must not benullstrCode- the code used to encrypt theCustomer. Must not benull- Returns:
- the encrypted
Customer
-
decrypt
Customer decrypt(Customer customer, Demand demand)
- Parameters:
customer- the customer from which theCustomeris decrypted. Must not benulldemand- the demand for which theCustomeris decrypted. Must not benull- Returns:
- the decrypted
Customer
-
-