com.ibm.commerce.payment.rules

Class EDPServices

  • java.lang.Object
    • com.ibm.commerce.payment.rules.EDPServices
  • All Implemented Interfaces:
    java.io.Serializable


    public class EDPServices
    extends java.lang.Object
    implements java.io.Serializable
    A helper class to get all the accessors to the service inside Payment Rules component. The accessors include:
    • OMFAccessor: The accessor of the object model facade for payment related tables
    • RefundFacadeAccessor: The accessor of the object model facade for refund related tables
    • EDPJDBCHelperAccessor: The accessor of the JDBCHelper of Payment Rules component
    • ActivityLoggerAccessor: The accessor of payment activity logger
    • PaymentsAccessor: The accessor of Plugin Controller
    • QueryHandler: The accessor of query handler
    • RuleReader: The accessor of payment rules reader
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.commerce.edp.activitylog.ActivityLoggerAccessor getActivityLoggerAccessor()
      This method returns the accessor of payment activity logger accessor as the facade of payment activity history.
      com.ibm.commerce.edp.helperbeans.EDPJDBCHelperAccessor getEdpJdbcHelperAccessor()
      This method returns the accessor of the JDBCHelper of Payment Rules component.
      com.ibm.commerce.edp.model.OMFAccessor getOmfAccessor()
      This method returns the accessor of the object model facade for payment related tables
      PaymentsAccessor getPaymentsAccessor()
      This method returns the accessor of the WebSphere Commerce Payments.
      static QueryHandler getQueryHandler()
      This method returns the accessor of query handler, which provides the facade of querying the payment information in WebSphere Commerce Payments.
      com.ibm.commerce.edp.refunds.RefundFacadeAccessor getRefundsAccessor()
      This method returns the accessor of the object model facade for refund related tables.
      static RuleReader getRuleReader()
      This method returns the accessor of Payment Rules reader
      static EDPServices getServices()
      This method returns a singleton instance of this class.
      static void resetServices()
      This method resets the Payment Rules services.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • getServices

        public static final EDPServices getServices()
                                             throws J2EEException
        This method returns a singleton instance of this class.
        Returns:
        A reference to EDPServices
        Throws:
        J2EEException - If a reference to payment services cannot be retrieved
      • getQueryHandler

        public static QueryHandler getQueryHandler()
                                            throws J2EEException
        This method returns the accessor of query handler, which provides the facade of querying the payment information in WebSphere Commerce Payments.
        Returns:
        QueryHandler The accessor of query handler
        Throws:
        J2EEException - If a reference to payment services cannot be retrieved
      • getRuleReader

        public static RuleReader getRuleReader()
                                        throws J2EEException
        This method returns the accessor of Payment Rules reader
        Returns:
        RuleReader The Payment Rules reader
        Throws:
        J2EEException - If a reference to payment services cannot be retrieved
      • getActivityLoggerAccessor

        public final com.ibm.commerce.edp.activitylog.ActivityLoggerAccessor getActivityLoggerAccessor()
        This method returns the accessor of payment activity logger accessor as the facade of payment activity history.
        Returns:
        ActivityLoggerAccessor The activityLoggerAccessor to set
      • getOmfAccessor

        public final com.ibm.commerce.edp.model.OMFAccessor getOmfAccessor()
        This method returns the accessor of the object model facade for payment related tables
        Returns:
        omfAccessor The accessor of the object model facade for payment related tables
      • getRefundsAccessor

        public final com.ibm.commerce.edp.refunds.RefundFacadeAccessor getRefundsAccessor()
        This method returns the accessor of the object model facade for refund related tables.
        Returns:
        refundAccessor The accessor of the object model facade for refund related tables
      • getEdpJdbcHelperAccessor

        public com.ibm.commerce.edp.helperbeans.EDPJDBCHelperAccessor getEdpJdbcHelperAccessor()
        This method returns the accessor of the JDBCHelper of Payment Rules component.
        Returns:
        EDPJDBCHelperAccessor The accessor of the JDBCHelper of Payment Rules component
      • getPaymentsAccessor

        public PaymentsAccessor getPaymentsAccessor()
        This method returns the accessor of the WebSphere Commerce Payments.
        Returns:
        paymentsAccessor The accessor of the WebSphere Commerce Payments
      • resetServices

        public static void resetServices()
        This method resets the Payment Rules services.