com.softslate.commerce.businessobjects.payment
Class BasicAdminPaymentProcessor

java.lang.Object
  extended bycom.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended bycom.softslate.commerce.businessobjects.core.BaseBusinessProcessor
          extended bycom.softslate.commerce.businessobjects.payment.BasicAdminPaymentProcessor
All Implemented Interfaces:
AdminPaymentProcessor, BusinessObject, BusinessProcessor

public class BasicAdminPaymentProcessor
extends BaseBusinessProcessor
implements AdminPaymentProcessor

Processes business logic having to do with payments. Created in the Struts layer in response to requests for viewing, editing, adding, and deleting payments.

BasicPaymentProcessor is the default implementation of the PaymentProcessor interface for the application.

Author:
David Tobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Fields inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
 
Constructor Summary
BasicAdminPaymentProcessor()
           
 
Method Summary
 void addPayment(java.util.Map parameters)
           
 void deletePayment(java.util.Map parameters)
           
 void editDeletePayments(java.util.Map parameters)
           
 void editPayment(java.util.Map parameters)
           
 java.util.Collection loadActivePayments()
           
 java.util.Map loadPaymentFromID(java.util.Map parameters)
           
 java.util.Map loadPaymentsAndCount(java.util.Map parameters)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatPrice, getBusinessObjectFactory, getDaoFactory, getSettingsBean, getUser, initialize, setBusinessObjectFactory, setDaoFactory, setSettingsBean, setUser
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
formatDateTime, parseDateTime, prepareRequestData, sendHTTPPost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getBusinessObjectFactory, getDaoFactory, getSettingsBean, getUser, setBusinessObjectFactory, setDaoFactory, setSettingsBean, setUser
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

BasicAdminPaymentProcessor

public BasicAdminPaymentProcessor()
Method Detail

loadActivePayments

public java.util.Collection loadActivePayments()
                                        throws java.lang.Exception
Specified by:
loadActivePayments in interface AdminPaymentProcessor
Throws:
java.lang.Exception

loadPaymentsAndCount

public java.util.Map loadPaymentsAndCount(java.util.Map parameters)
                                   throws java.lang.Exception
Specified by:
loadPaymentsAndCount in interface AdminPaymentProcessor
Throws:
java.lang.Exception

addPayment

public void addPayment(java.util.Map parameters)
                throws java.lang.Exception
Specified by:
addPayment in interface AdminPaymentProcessor
Throws:
java.lang.Exception

loadPaymentFromID

public java.util.Map loadPaymentFromID(java.util.Map parameters)
                                throws java.lang.Exception
Specified by:
loadPaymentFromID in interface AdminPaymentProcessor
Throws:
java.lang.Exception

editPayment

public void editPayment(java.util.Map parameters)
                 throws java.lang.Exception
Specified by:
editPayment in interface AdminPaymentProcessor
Throws:
java.lang.Exception

editDeletePayments

public void editDeletePayments(java.util.Map parameters)
                        throws java.lang.Exception
Specified by:
editDeletePayments in interface AdminPaymentProcessor
Throws:
java.lang.Exception

deletePayment

public void deletePayment(java.util.Map parameters)
                   throws java.lang.Exception
Specified by:
deletePayment in interface AdminPaymentProcessor
Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005