Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
JAVA
JAVA
borderStylesolid
titlecom.sample.jpa.AccessAccountStateless
package com.sample.jpa;
import java.util.List;
public interface AccessAccountStateless {
 public SavingsAccount createSavingsAccount
                      (int accNo, String name, 
                       String address, int branchCode,									
		       double interestRate, 
                       double minBalance,
												       double balance, 
                       String savingsAccountRules);
	
 public CurrentAccount createCurrentAccount
                      (int accNo, String name,							
					       String address, int branchCode,			
								       double interestRate, 
                       double minBalance,										
		       double balance, 
                       String currentAccountRules);
 public List listAccounts();
 public SavingsAccount updateSavingsAccountBalance
                      (int accNo, double newBalance);
 public CurrentAccount updateCurrentAccountBalance
                      (int accNo, double newBalance);
 public void deleteSavingsAccount(int accNo);
 public void deleteCurrentAccount(int accNo);
}

...