Nautica Workflow

jp.co.argo21.nautica.workflow.dataaccess
インタフェース ConcurrencyBlockDAO

既知の実装クラスの一覧:
MySQLConcurrencyBlockDAO

public interface ConcurrencyBlockDAO

ConcurrencyBlockBeanをデータとするDAOインタフェース。

導入されたバージョン:
Nautica Workflow 0.9
バージョン:
$Revision: 1.2 $

メソッドの概要
 void delete(java.lang.String pid, java.lang.String bid)
          並行性ブロックを削除する。
 ConcurrencyBlockBean findByPrimaryKey(java.lang.String pid, java.lang.String bid)
          主キーにより、並行性ブロックを取得する。
 int findSubblockExistenceByBlockID(java.lang.String pid, java.lang.String bid)
          ブロック直下のサブブロックの存在を取得する。
 int findSubblockExistenceByProcessID(java.lang.String pid)
          プロセス直下のサブブロックの存在を取得する。
 void insert(ConcurrencyBlockBean bean)
          並行性ブロックを挿入する。
 

メソッドの詳細

findByPrimaryKey

public ConcurrencyBlockBean findByPrimaryKey(java.lang.String pid,
                                             java.lang.String bid)
                                      throws java.sql.SQLException,
                                             DAOException
主キーにより、並行性ブロックを取得する。

パラメータ:
pid - プロセスID
bid - ブロックID
戻り値:
並行性ブロック
例外:
java.sql.SQLException - 任意のSQL例外
DAOException - DAO実行中に処理としてあげる場合がある例外

findSubblockExistenceByBlockID

public int findSubblockExistenceByBlockID(java.lang.String pid,
                                          java.lang.String bid)
                                   throws java.sql.SQLException,
                                          DAOException
ブロック直下のサブブロックの存在を取得する。

パラメータ:
pid - プロセスID
bid - ブロックID
戻り値:
存在するサブブロックの個数
例外:
java.sql.SQLException - 任意のSQL例外
DAOException - DAO実行中に処理としてあげる場合がある例外

findSubblockExistenceByProcessID

public int findSubblockExistenceByProcessID(java.lang.String pid)
                                     throws java.sql.SQLException,
                                            DAOException
プロセス直下のサブブロックの存在を取得する。

パラメータ:
pid - プロセスID
戻り値:
存在するサブブロックの個数
例外:
java.sql.SQLException - 任意のSQL例外
DAOException - DAO実行中に処理としてあげる場合がある例外

insert

public void insert(ConcurrencyBlockBean bean)
            throws java.sql.SQLException,
                   DAOException
並行性ブロックを挿入する。

パラメータ:
bean - 並行性ブロック
例外:
java.sql.SQLException - 任意のSQL例外
DAOException - DAO実行中に処理としてあげる場合がある例外

delete

public void delete(java.lang.String pid,
                   java.lang.String bid)
            throws java.sql.SQLException,
                   DAOException
並行性ブロックを削除する。

パラメータ:
pid - プロセスID
bid - ブロックID
例外:
java.sql.SQLException - 任意のSQL例外
DAOException - DAO実行中に処理としてあげる場合がある例外

株式会社アルゴ21


Copyright 2005 株式会社アルゴ21