com.konakartadmin.blif
Interface AdminMgrUtilsIf

All Known Implementing Classes:
AdminMgrUtils

public interface AdminMgrUtilsIf

AdminOrderMgrIf


Method Summary
 void decryptOrder(AdminOrder order)
          Decrypt the encrypted parts of an order - but only if the encryption key passed in is non-null and not empty.
 AdminCreditCard encryptCreditCard(AdminCreditCard creditCard, java.lang.String ek)
          Encrypt the credit card details - but only if the encryption key passed in is non-null and not empty.
 

Method Detail

decryptOrder

void decryptOrder(AdminOrder order)
                  throws KKAdminException
Decrypt the encrypted parts of an order - but only if the encryption key passed in is non-null and not empty.

Parameters:
order - the order object that will be populated with the unencrypted attributes
Throws:
KKAdminException

encryptCreditCard

AdminCreditCard encryptCreditCard(AdminCreditCard creditCard,
                                  java.lang.String ek)
                                  throws KKAdminException
Encrypt the credit card details - but only if the encryption key passed in is non-null and not empty. Null attributes are copied to the new encrypted credit card details.

Parameters:
creditCard - the original credit card object
ek - the encryption key
Returns:
a new AdminCreditCard object with encrypted fields. If the original creditCard object is null, or the encryption key is null (or empty), a null is returned.
Throws:
KKAdminException


Copyright © 2011 DS Data Systems UK Ltd.