accountmanageroperations.java

来自「distrubit account system for bank,」· Java 代码 · 共 57 行

JAVA
57
字号
package Bank;

/**
 * <ul>
 * <li> <b>IDL Source</b>    "Bank.idl"
 * <li> <b>IDL Name</b>      ::Bank::AccountManager
 * <li> <b>Repository Id</b> IDL:Bank/AccountManager:1.0
 * </ul>
 * <b>IDL definition:</b>
 * <pre>
 * interface AccountManager {
  ...
};
 * </pre>
 */
public interface AccountManagerOperations {
  /**
   * <pre>
   *   Bank.Account open (in string name);
   * </pre>
   */
  public Bank.Account open (java.lang.String name);

  /**
   * <pre>
   *   Bank.Account getAccountById (in string id)
    raises (Bank.RecordIsNullException);
   * </pre>
   */
  public Bank.Account getAccountById (java.lang.String id) throws Bank.RecordIsNullException;

  /**
   * <pre>
   *   Bank.Account getAccountByIdNotpooling (in string id)
    raises (Bank.RecordIsNullException);
   * </pre>
   */
  public Bank.Account getAccountByIdNotpooling (java.lang.String id) throws Bank.RecordIsNullException;

  /**
   * <pre>
   *   void close (in string id);
   * </pre>
   */
  public void close (java.lang.String id);

  /**
   * <pre>
   *   void update (in string id, in string name, in float balance);
   * </pre>
   */
  public void update (java.lang.String id, 
                      java.lang.String name, 
                      float balance);

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?