public interface PaymentsAdminInterface
This interface defines the payment merchant administration logic at a middle level (between the commands called by UI and payment merchant information in database).
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
void | activateMerchant(java.lang.Long merchantId)
This method activates the merchant with the specific merchant id.
|
com.ibm.commerce.payments.plugincontroller.beans.MerchantAccessBean | createMerchant(java.lang.String merchantName, java.lang.Long memberId)
This method creates a merchant in WebSphere Commerce, which represents the payment perspective for a store.
|
com.ibm.commerce.payments.plugincontroller.beans.MerchantAccessBean | createMerchant(java.lang.String merchantName, java.lang.Long memberId, java.lang.Boolean state)
This method creates a merchant in WebSphere Commerce, which represents the payment perspective for a store.
|
com.ibm.commerce.payments.plugincontroller.beans.MerchantConfAccessBean | createMerchantConf(java.lang.Long merchantId, java.lang.String paymentSystemName, java.lang.String paymentConfigurationGroup)
This method creates a merchant configuration which means for a specific merchant, which payment system and payment configuration group are used.
|
void | deactivateMerchant(java.lang.Long merchantId)
This method deactivates the merchant with the specific merchant id.
|
void | deleteMerchant(java.lang.Long merchantId)
This method deletes the specific merchant with merchant id.
|
void | deleteMerchantConf(java.lang.Long merchConfId)
This method deletes the merchant configuration with merchant configuration id.
|
void | deleteMerchantConfInfo(java.lang.Long merchConfId)
This method deletes all properties for the merchant configuration.
|
void | deleteMerchantConfInfo(java.lang.Long merchConfId, java.util.ArrayList properties)
This method deletes all properties in the array list for the merchant configuration.
|
void | deleteMerchantConfInfo(java.lang.Long merchConfId, java.lang.String name)
This method deletes the specific property with name for the merchant configuration.
|
void | deleteStoreMerchant(java.lang.Integer storeId)
This method deletes the association between the store and the merchant.
|
void | editMerchantConfInfo(java.lang.Long merchConfId, java.util.Hashtable properties)
This method edits the properties for the specific merchant configuration id.
|
void | editMerchantConfInfo(java.lang.Long merchConfId, java.lang.String name, java.lang.String value, boolean encrypted)
This method edits the property value with specific name to a new value of the merchant configuration.
|
void | editStoreMerchant(java.lang.Integer storeId, java.lang.Long merchantId)
This method edits the association between the store and the merchant, which updates the store to be mapped to another merchant with merchantId.
|
java.util.Collection | getMerchant(java.lang.String name, java.lang.Long memberId)
This method returns all merchants with the specific attributes.
|
com.ibm.commerce.payments.plugincontroller.beans.MerchantAccessBean | getMerchantById(java.lang.Long merchantId)
This method returns the merchant with specific merchant id.
|
java.util.Collection | getMerchantConf(java.lang.Long merchantId)
This method returns all merchant configurations according to the input parameters.
|
java.util.Collection | getMerchantConf(java.lang.Long merchantId, java.lang.String paymentSystemName, java.lang.String paymentConfigurationGroup)
This method returns all merchant configurations according to the input parameters.
|
com.ibm.commerce.payments.plugincontroller.beans.MerchantConfAccessBean | getMerchantConfById(java.lang.Long merchantConfId)
This method returns the merchant configuration with merchant configuration id.
|
java.util.Collection | getMerchantConfInfo(java.lang.Long merchConfId)
This method returns all merchant configuration information according to the input parameter.
|
java.util.Collection | getMerchantConfInfo(java.lang.Long merchConfId, java.lang.String name)
This method returns all merchant configuration information according to the input parameter.
|
com.ibm.commerce.payments.plugincontroller.beans.MerchantConfInfoAccessBean | getMerchantConfInfoById(java.lang.Long merchantConfInfoId)
This method returns the merchant configuration information according to the merchant configuration information id.
|
java.util.Collection | getStoreMerchantByMerchantId(java.lang.Long merchantId)
This method returns all association with current merchant id.
|
com.ibm.commerce.payments.plugincontroller.beans.StoreMerchantAccessBean | getStoreMerchantByStoreId(java.lang.Integer storeId)
This method returns the association between store and merchant with the specific store id.
|
com.ibm.commerce.payments.plugincontroller.beans.StoreMerchantAccessBean | mapStoreMerchant(java.lang.Integer storeId, java.lang.Long merchantId)
This method creates the association between the store and the merchant.
|
void | putMerchantConfInfo(java.lang.Long merchConfId, java.util.Hashtable properties)
This method creates the properties for the specific merchant configuration id by taking a hashtable as input.
|
com.ibm.commerce.payments.plugincontroller.beans.MerchantConfInfoAccessBean | putMerchantConfInfo(java.lang.Long merchConfId, java.lang.String name, java.lang.String value, boolean encrypted)
This method creates a property for the specific merchant configuration id.
|
static final java.lang.String COPYRIGHT
com.ibm.commerce.payments.plugincontroller.beans.MerchantAccessBean createMerchant(java.lang.String merchantName, java.lang.Long memberId) throws InvalidDataException, InternalException, java.rmi.RemoteException
com.ibm.commerce.payments.plugincontroller.beans.MerchantAccessBean createMerchant(java.lang.String merchantName, java.lang.Long memberId, java.lang.Boolean state) throws InvalidDataException, InternalException, java.rmi.RemoteException
com.ibm.commerce.payments.plugincontroller.beans.MerchantConfAccessBean createMerchantConf(java.lang.Long merchantId, java.lang.String paymentSystemName, java.lang.String paymentConfigurationGroup) throws InvalidDataException, InternalException, java.rmi.RemoteException
com.ibm.commerce.payments.plugincontroller.beans.StoreMerchantAccessBean mapStoreMerchant(java.lang.Integer storeId, java.lang.Long merchantId) throws InvalidDataException, InternalException, java.rmi.RemoteException
com.ibm.commerce.payments.plugincontroller.beans.MerchantConfInfoAccessBean putMerchantConfInfo(java.lang.Long merchConfId, java.lang.String name, java.lang.String value, boolean encrypted) throws InvalidDataException, InternalException, java.rmi.RemoteException
void putMerchantConfInfo(java.lang.Long merchConfId, java.util.Hashtable properties) throws InvalidDataException, InternalException, java.rmi.RemoteException, ConfigException
void activateMerchant(java.lang.Long merchantId) throws InvalidDataException, InternalException, java.rmi.RemoteException
void deactivateMerchant(java.lang.Long merchantId) throws InvalidDataException, InternalException, java.rmi.RemoteException
void editStoreMerchant(java.lang.Integer storeId, java.lang.Long merchantId) throws InvalidDataException, InternalException, java.rmi.RemoteException
void editMerchantConfInfo(java.lang.Long merchConfId, java.lang.String name, java.lang.String value, boolean encrypted) throws InvalidDataException, InternalException, java.rmi.RemoteException
void editMerchantConfInfo(java.lang.Long merchConfId, java.util.Hashtable properties) throws InvalidDataException, InternalException, java.rmi.RemoteException, ConfigException
void deleteMerchant(java.lang.Long merchantId) throws InvalidDataException, InternalException, java.rmi.RemoteException
void deleteStoreMerchant(java.lang.Integer storeId) throws InvalidDataException, InternalException, java.rmi.RemoteException
void deleteMerchantConf(java.lang.Long merchConfId) throws InvalidDataException, InternalException, java.rmi.RemoteException
void deleteMerchantConfInfo(java.lang.Long merchConfId) throws InvalidDataException, InternalException, java.rmi.RemoteException
void deleteMerchantConfInfo(java.lang.Long merchConfId, java.lang.String name) throws InvalidDataException, InternalException, java.rmi.RemoteException
void deleteMerchantConfInfo(java.lang.Long merchConfId, java.util.ArrayList properties) throws InvalidDataException, InternalException, java.rmi.RemoteException
java.util.Collection getMerchant(java.lang.String name, java.lang.Long memberId) throws InvalidDataException, InternalException, java.rmi.RemoteException
com.ibm.commerce.payments.plugincontroller.beans.MerchantAccessBean getMerchantById(java.lang.Long merchantId) throws InvalidDataException, InternalException, java.rmi.RemoteException
java.util.Collection getMerchantConf(java.lang.Long merchantId) throws InvalidDataException, InternalException, java.rmi.RemoteException
java.util.Collection getMerchantConf(java.lang.Long merchantId, java.lang.String paymentSystemName, java.lang.String paymentConfigurationGroup) throws InvalidDataException, InternalException, java.rmi.RemoteException
com.ibm.commerce.payments.plugincontroller.beans.StoreMerchantAccessBean getStoreMerchantByStoreId(java.lang.Integer storeId) throws InvalidDataException, InternalException, java.rmi.RemoteException
java.util.Collection getStoreMerchantByMerchantId(java.lang.Long merchantId) throws InvalidDataException, InternalException, java.rmi.RemoteException
com.ibm.commerce.payments.plugincontroller.beans.MerchantConfAccessBean getMerchantConfById(java.lang.Long merchantConfId) throws InvalidDataException, InternalException, java.rmi.RemoteException
com.ibm.commerce.payments.plugincontroller.beans.MerchantConfInfoAccessBean getMerchantConfInfoById(java.lang.Long merchantConfInfoId) throws InvalidDataException, InternalException, java.rmi.RemoteException
java.util.Collection getMerchantConfInfo(java.lang.Long merchConfId) throws InvalidDataException, InternalException, java.rmi.RemoteException
java.util.Collection getMerchantConfInfo(java.lang.Long merchConfId, java.lang.String name) throws InvalidDataException, InternalException, java.rmi.RemoteException