|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.go.nict.langrid.dao.hibernate.HibernateDao
jp.go.nict.langrid.dao.hibernate.HibernateCRUDDao<Domain>
jp.go.nict.langrid.dao.hibernate.HibernateDomainDao
public class HibernateDomainDao
Hibernateを使ったDomainDaoの実装。
| 入れ子のクラスの概要 |
|---|
| クラス jp.go.nict.langrid.dao.hibernate.HibernateDao から継承された入れ子のクラス/インタフェース |
|---|
HibernateDao.DaoBlock, HibernateDao.DaoBlockR<R> |
| コンストラクタの概要 | |
|---|---|
HibernateDomainDao(HibernateDaoContext context)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
void |
addDomain(Domain domain)
ドメインを追加する。 |
void |
clear()
登録されているドメインを全て消去する。 |
void |
deleteDomain(String domainId)
ドメインを削除する。 |
Domain |
getDomain(String domainId)
domainIdで指定されたドメインを取得する。 |
boolean |
isDomainExist(String domainId)
ドメインが存在するかどうかを返す。 |
List<Domain> |
listAllDomains()
全ドメインを列挙する。 |
List<Domain> |
listAllDomains(String gridId)
指定したグリッドの全ドメインを列挙する。 |
| クラス jp.go.nict.langrid.dao.hibernate.HibernateCRUDDao から継承されたメソッド |
|---|
add, add, clearEach, createCriteria, createDeleteQuery, delete, delete, exists, get, list, 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 HibernateDomainDao(HibernateDaoContext context)
context - DaoContext| メソッドの詳細 |
|---|
public void clear()
throws DaoException
DomainDao の記述:
DomainDao 内の clearHibernateCRUDDao<Domain> 内の clearDaoException - 情報の削除に失敗した
public void addDomain(Domain domain)
throws DomainAlreadyExistsException,
DaoException
DomainDao の記述:
DomainDao 内の addDomaindomain - 追加するドメインの情報
DomainAlreadyExistsException - 既にドメインが存在する
DaoException - 情報の書き出しに失敗した
public void deleteDomain(String domainId)
throws DomainNotFoundException,
DaoException
DomainDao の記述:
DomainDao 内の deleteDomaindomainId - 削除するドメインのID
DomainNotFoundException - 指定されたドメインが見つからない
DaoException - 情報の読み込みに失敗した
public Domain getDomain(String domainId)
throws DomainNotFoundException,
DaoException
DomainDao の記述:
DomainDao 内の getDomaindomainId - 取得するドメインのID
DomainNotFoundException - 指定されたドメインが見つからない
DaoException - 情報の読み込みに失敗した
public boolean isDomainExist(String domainId)
throws DaoException
DomainDao の記述:
DomainDao 内の isDomainExistdomainId - 取得するドメインのID
DaoException - 処理に失敗した
public List<Domain> listAllDomains()
throws DaoException
DomainDao の記述:
DomainDao 内の listAllDomainsDaoException - 処理に失敗した
public List<Domain> listAllDomains(String gridId)
throws DaoException
DomainDao の記述:
DomainDao 内の listAllDomainsDaoException - 処理に失敗した
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||