com.ibm.etill.framework.admin
Class FrameworkAccountAdmin

java.lang.Object
  |
  +--com.ibm.etill.framework.admin.AdminObject
        |
        +--com.ibm.etill.framework.admin.AccountAdmin
              |
              +--com.ibm.etill.framework.admin.FrameworkAccountAdmin
All Implemented Interfaces:
Archivable, PSServerAccountConstants, PSServerAdminConstants

public final synchronized class FrameworkAccountAdmin
extends AccountAdmin
implements PSServerAccountConstants


Fields inherited from interface com.ibm.etill.framework.xdm.PSServerAccountConstants
AccountAdminTable, APPROXIMATE_XDM_OBJECT_SIZE, COL_ACCOUNTNUMBER, COL_ACCOUNTTITLE, COL_APPROVALEXPIRY, COL_CASSETTENAME, COL_FITITLE, COL_GROWTH1, COL_MERCHANTNUMBER
 
Fields inherited from interface com.ibm.etill.framework.xdm.PSServerAdminConstants
COL_ACTIVE, COL_ENABLED, COL_MESSAGESKEY, COL_PENDING, COL_VALID
 
Method Summary
static ReturnCodeStructure createObject(AdminRequest)
           
 void createRecord(Connection)
          Creates a new record representing this object in a Commerce Payments database table.
 void deleteObject()
           
static ReturnCodeStructure deleteObject(AdminRequest, String)
           
 void deleteRecord(Connection)
          Deletes an existing or newly-created record representing this object from a database table.
static Hashtable getAllAccounts()
           
static void initializeClass()
           
static ReturnCodeStructure modifyObject(AdminRequest)
           
static FrameworkAccountAdmin obtainObject(String, String, String)
           
 void setAccountTitle(String)
           
 void setFinancialInstitution(String)
           
 void startObject()
          Implemented by subclasses to start this AdminObject.
 void stopObject()
          Implemented by subclasses to stop this AdminObject.
 void updateRecord(Connection)
          Updates an existing or newly-created record representing this object in a Payment Server database table.
 
Methods inherited from class com.ibm.etill.framework.admin.AccountAdmin
batchesForAccount, getAcceptPaymentAutoApprove, getAcceptPaymentAutoDeposit, getAccountNumber, getAccountTitle, getApprovalExpiration, getCassetteName, getFinancialInstitutionTitle, getMerchantNumber, getReaderWriterMonitor, getReceivePaymentAutoApprove, getReceivePaymentAutoDeposit, getSupportAcceptPayment, getSupportApprovalExpiration, getSupportReceivePayment, isApprovalExpiryInMins, setAcceptPaymentAutoApprove, setAcceptPaymentAutoDeposit, setApprovalExpiration, setApprovalExpiryInMins, setReceivePaymentAutoApprove, setReceivePaymentAutoDeposit, setSupportAcceptPayment, setSupportApprovalExpiration, setSupportReceivePayment, toString
 
Methods inherited from class com.ibm.etill.framework.admin.AdminObject
addCassetteMessage, addFrameworkMessage, getActive, getEnabled, getInvalidList, getPending, processConfigurationChanges, processExtension, setActive, setEnabled, setEnabled, setPending, validateExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

initializeClass

public static void initializeClass()

obtainObject

public static FrameworkAccountAdmin obtainObject(String,
                                                 String,
                                                 String)

createObject

public static ReturnCodeStructure createObject(AdminRequest)
                                        throws ETillAbortOperation

modifyObject

public static ReturnCodeStructure modifyObject(AdminRequest)
                                        throws ETillAbortOperation

deleteObject

public static ReturnCodeStructure deleteObject(AdminRequest,
                                               String)
                                        throws ETillAbortOperation

deleteObject

public void deleteObject()

startObject

public void startObject()
                 throws ETillAbortOperation
Description copied from class: AdminObject
Implemented by subclasses to start this AdminObject. The Framework calls this method as required.
Overrides:
startObject in class AdminObject
Following copied from class: com.ibm.etill.framework.admin.AdminObject
Throws:
ETillAbortOperation - thrown if the object cannot be started.

stopObject

public void stopObject()
                throws ETillAbortOperation
Description copied from class: AdminObject
Implemented by subclasses to stop this AdminObject. The Framework calls this method as required.
Overrides:
stopObject in class AdminObject
Following copied from class: com.ibm.etill.framework.admin.AdminObject
Throws:
ETillAbortOperation - thrown if the object cannot be stopped.

createRecord

public void createRecord(Connection)
                  throws ETillAbortOperation
Description copied from interface: Archivable
Creates a new record representing this object in a Commerce Payments database table. The CommitPoint object calls this method during commit processing when this Archivable object is a member of the CommitPoint create list. This method should never be called directly from cassettes.

The implementation of this method determines which table is used and which data members from the object are to be stored into the table.

Following copied from interface: com.ibm.etill.framework.archive.Archivable
Parameters:
Connection - The JDBC Connection object used to access the database.
Throws:
ETillAbortOperation - Thrown if an SQLException is caught.

updateRecord

public void updateRecord(Connection)
                  throws ETillAbortOperation
Description copied from interface: Archivable
Updates an existing or newly-created record representing this object in a Payment Server database table. The CommitPoint object calls this method during commit processing when this Archivable object is a member of the CommitPoint update list. This method should never be called directly from cassettes.

If the Archivable object's record is being created within the same CommitPoint as this update, the CommitPoint object will ensure that the update is applied after the record has been created. The implementation of this method determines which fields in the record will be updated.

Following copied from interface: com.ibm.etill.framework.archive.Archivable
Parameters:
Connection - The JDBC Connection object used to access the database.
Throws:
ETillAbortOperation - Thrown if an SQLException is caught.

deleteRecord

public void deleteRecord(Connection)
                  throws ETillAbortOperation
Description copied from interface: Archivable
Deletes an existing or newly-created record representing this object from a database table. The CommitPoint object calls this method during commit processing when this Archivable object is a member of the CommitPoint delete list. This method should never be called directly from cassettes.

If the Archivable object's record is being created within the same CommitPoint as this deletion, the CommitPoint object will simply remove all operations on this record before committing the changes.

Following copied from interface: com.ibm.etill.framework.archive.Archivable
Parameters:
Connection - The JDBC Connection object used to access the database.
Throws:
ETillAbortOperation - Thrown if an SQLException is caught.

setAccountTitle

public void setAccountTitle(String)

setFinancialInstitution

public void setFinancialInstitution(String)

getAllAccounts

public static Hashtable getAllAccounts()