|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.go.nict.langrid.dao.hibernate.HibernateDao
jp.go.nict.langrid.dao.hibernate.HibernateCRUDDao<Federation>
jp.go.nict.langrid.dao.hibernate.HibernateFederationDao
public class HibernateFederationDao
Hibernateを使ったFederationDaoの実装。
| 入れ子のクラスの概要 |
|---|
| クラス jp.go.nict.langrid.dao.hibernate.HibernateDao から継承された入れ子のクラス/インタフェース |
|---|
HibernateDao.DaoBlock, HibernateDao.DaoBlockR<R> |
| コンストラクタの概要 | |
|---|---|
HibernateFederationDao(HibernateDaoContext context)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
void |
addFederation(Federation federation)
連邦関係を追加する。 |
void |
addFederation(String sourceGridId,
String targetGridId)
連邦関係を追加する。 |
void |
clear()
登録されている連邦情報を全て消去する。 |
void |
deleteFederation(String sourceGridId,
String targetGridId)
連邦関係を削除する。 |
void |
deleteFederationsOf(String gridId)
特定のグリッドの連携関係を全て消去する。 |
Federation |
getFederation(String sourceGridId,
String targetGridId)
連邦関係を取得する。 |
boolean |
isFederationExist(String sourceGridId,
String targetGridId)
連邦関係が存在するかどうかを返す。 |
List<Federation> |
list()
連携情報の一覧を取得する。 |
List<Federation> |
listFederationsFrom(String sourceGridId)
指定されたグリッドからの連携を列挙する。 |
List<Federation> |
listFederationsToward(String targetGridId)
指定されたグリッドへの連携を列挙する。 |
List<String> |
listSourceGridIds(String targetGridId)
連携元グリッドを列挙する。 |
List<String> |
listTargetGridIds(String sourceGridId)
連携先グリッドを列挙する。 |
void |
setConnected(String sourceGridId,
String targetGridId,
boolean isConnected)
連携中かどうか設定する |
void |
setRequesting(String sourceGridId,
String targetGridId,
boolean isRequesting)
連携の要求中かどうか設定する |
| クラス jp.go.nict.langrid.dao.hibernate.HibernateCRUDDao から継承されたメソッド |
|---|
add, add, clearEach, createCriteria, createDeleteQuery, delete, delete, exists, get, update |
| クラス jp.go.nict.langrid.dao.hibernate.HibernateDao から継承されたメソッド |
|---|
createDeleteQuery, createDeleteQuery, deleteEntities, getContext, getSession, logAdditionalInfo, logWhenRollbacking, transact, transact |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public HibernateFederationDao(HibernateDaoContext context)
context - DaoContext| メソッドの詳細 |
|---|
public void clear()
throws DaoException
FederationDao の記述:
FederationDao 内の clearHibernateCRUDDao<Federation> 内の clearDaoException - 情報の削除に失敗した
public List<Federation> list()
throws DaoException
FederationDao の記述:
FederationDao 内の listHibernateCRUDDao<Federation> 内の listDaoException - 処理に失敗した
public void deleteFederationsOf(String gridId)
throws DaoException
FederationDao の記述:
FederationDao 内の deleteFederationsOfgridId - グリッドID
DaoException - 情報の削除に失敗した
public List<String> listSourceGridIds(String targetGridId)
throws DaoException
FederationDao の記述:
FederationDao 内の listSourceGridIdstargetGridId - 連携先グリッド
DaoException - 処理に失敗した
public List<String> listTargetGridIds(String sourceGridId)
throws DaoException
FederationDao の記述:
FederationDao 内の listTargetGridIdssourceGridId - 連携元グリッド
DaoException - 処理に失敗した
public List<Federation> listFederationsFrom(String sourceGridId)
throws DaoException
FederationDao の記述:
FederationDao 内の listFederationsFromsourceGridId - 連携元グリッド
DaoException - 処理に失敗した
public List<Federation> listFederationsToward(String targetGridId)
throws DaoException
FederationDao の記述:
FederationDao 内の listFederationsTowardtargetGridId - 連携先グリッド
DaoException - 処理に失敗した
public boolean isFederationExist(String sourceGridId,
String targetGridId)
throws DaoException
FederationDao の記述:
FederationDao 内の isFederationExistsourceGridId - 連携元グリッドIDtargetGridId - 連携先グリッドID
DaoException - 処理に失敗した
public Federation getFederation(String sourceGridId,
String targetGridId)
throws FederationNotFoundException,
DaoException
FederationDao の記述:
FederationDao 内の getFederationsourceGridId - 連携元グリッドIDtargetGridId - 連携先グリッドID
FederationNotFoundException - 連携関係が存在しない
DaoException - 処理に失敗した
public void addFederation(String sourceGridId,
String targetGridId)
throws FederationAlreadyExistsException,
DaoException
FederationDao の記述:
FederationDao 内の addFederationsourceGridId - 連携元グリッドIDtargetGridId - 連携先グリッドID
FederationAlreadyExistsException - 既に連携関係が存在する
DaoException - 情報の書き出しに失敗した
public void addFederation(Federation federation)
throws FederationAlreadyExistsException,
DaoException
FederationDao の記述:
FederationDao 内の addFederationfederation - 連邦関係
FederationAlreadyExistsException - 既に連携関係が存在する
DaoException - 処理に失敗した
public void deleteFederation(String sourceGridId,
String targetGridId)
throws FederationNotFoundException,
DaoException
FederationDao の記述:
FederationDao 内の deleteFederationsourceGridId - 連携元グリッドIDtargetGridId - 連携先グリッドID
FederationNotFoundException - 指定された連携関係が見つからない
DaoException - 情報の削除に失敗した
public void setRequesting(String sourceGridId,
String targetGridId,
boolean isRequesting)
throws DaoException
FederationDao の記述:
FederationDao 内の setRequestingsourceGridId - 連携元グリッドIDtargetGridId - 連携先グリッドIDisRequesting - 連携要求中かどうか
DaoException - 設定に失敗した
public void setConnected(String sourceGridId,
String targetGridId,
boolean isConnected)
throws DaoException
FederationDao の記述:
FederationDao 内の setConnectedsourceGridId - 連携元グリッドIDtargetGridId - 連携先グリッドIDisConnected - 連携中かどうか
DaoException - 設定に失敗した
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||