|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.nict.langrid.dao.hibernate.HibernateDao jp.go.nict.langrid.dao.hibernate.HibernateCRUDDao<ServiceType> jp.go.nict.langrid.dao.hibernate.HibernateServiceTypeDao
public class HibernateServiceTypeDao
Hibernateを使ったServiceTypeDaoの実装。
入れ子のクラスの概要 |
---|
クラス jp.go.nict.langrid.dao.hibernate.HibernateDao から継承された入れ子のクラス/インタフェース |
---|
HibernateDao.DaoBlock, HibernateDao.DaoBlockR<R> |
コンストラクタの概要 | |
---|---|
HibernateServiceTypeDao(HibernateDaoContext context)
コンストラクタ。 |
メソッドの概要 | |
---|---|
void |
addServiceMetaAttribute(ServiceMetaAttribute metaAttribute)
サービスメタ属性を追加する。 |
void |
addServiceType(ServiceType serviceType)
サービスタイプを追加する。 |
void |
clear()
登録されているサービスタイプを全て消去する。 |
void |
deleteServiceMetaAttribute(String domainId)
指定したdomainの全サービスタイプを削除する。 |
void |
deleteServiceMetaAttribute(String domainId,
String attributeName)
サービスタイプを削除する。 |
void |
deleteServiceType(String domainId)
指定したDomainの全サービスタイプを削除する。 |
void |
deleteServiceType(String domainId,
String serviceTypeId)
サービスタイプを削除する。 |
ServiceMetaAttribute |
getServiceMetaAttribute(String domainId,
String attributeName)
サービスメタ属性を取得する。 |
ServiceType |
getServiceType(String domainId,
String serviceTypeId)
serviceTypeIdで指定されたサービスタイプを取得する。 |
boolean |
isServiceMetaAttributeExist(String domainId,
String serviceMetaAttributeId)
メタアトリビュートが存在するかどうかを返す。 |
boolean |
isServiceTypeExist(String domainId,
String resourceTypeId)
サービスタイプが存在するかどうかを返す。 |
List<ServiceMetaAttribute> |
listAllServiceMetaAttributes()
全サービスメタ属性を列挙する。 |
List<ServiceMetaAttribute> |
listAllServiceMetaAttributes(String domainId)
指定したドメインIDの全サービスメタ属性を列挙する。 |
List<ServiceType> |
listAllServiceTypes()
全サービスタイプを列挙する。 |
List<ServiceType> |
listAllServiceTypes(String domainId)
指定したドメインIDのサービスタイプを列挙する。 |
クラス 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 HibernateServiceTypeDao(HibernateDaoContext context)
context
- DaoContextメソッドの詳細 |
---|
public void clear() throws DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の clear
HibernateCRUDDao<ServiceType>
内の clear
DaoException
- 情報の削除に失敗したpublic List<ServiceType> listAllServiceTypes() throws DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の listAllServiceTypes
DaoException
- 処理に失敗したpublic List<ServiceType> listAllServiceTypes(String domainId) throws DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の listAllServiceTypes
domainId
- ドメインID
DaoException
- 処理に失敗したpublic void addServiceType(ServiceType serviceType) throws ServiceTypeAlreadyExistsException, DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の addServiceType
serviceType
- 追加するサービスタイプの情報
DaoException
- 情報の書き出しに失敗した
ServiceTypeAlreadyExistsException
public void deleteServiceType(String domainId, String serviceTypeId) throws ServiceTypeNotFoundException, DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の deleteServiceType
domainId
- 削除するサービスタイプのドメインIDserviceTypeId
- 削除するサービスタイプのサービスタイプID
DaoException
- 情報の読み込みに失敗した
ServiceTypeNotFoundException
public void deleteServiceType(String domainId) throws ServiceTypeNotFoundException, DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の deleteServiceType
domainId
- 削除するサービスタイプのドメインID
DaoException
- 情報の読み込みに失敗した
ServiceTypeNotFoundException
public ServiceType getServiceType(String domainId, String serviceTypeId) throws ServiceTypeNotFoundException, DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の getServiceType
domainId
- 取得するサービスタイプのドメインIDserviceTypeId
- 取得するサービスタイプのサービスタイプID
DaoException
- 情報の読み込みに失敗した
ServiceTypeNotFoundException
public boolean isServiceTypeExist(String domainId, String resourceTypeId) throws DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の isServiceTypeExist
domainId
- 取得するサービスタイプのドメインIDresourceTypeId
- 取得するサービスタイプのサービスタイプID
DaoException
- 処理に失敗したpublic List<ServiceMetaAttribute> listAllServiceMetaAttributes() throws DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の listAllServiceMetaAttributes
DaoException
- 処理に失敗したpublic List<ServiceMetaAttribute> listAllServiceMetaAttributes(String domainId) throws DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の listAllServiceMetaAttributes
domainId
- ドメインID
DaoException
- 処理に失敗したpublic void addServiceMetaAttribute(ServiceMetaAttribute metaAttribute) throws ServiceMetaAttributeAlreadyExistsException, DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の addServiceMetaAttribute
metaAttribute
- 追加するサービスメタ属性の情報
DaoException
- 処理に失敗した
ServiceMetaAttributeAlreadyExistsException
public void deleteServiceMetaAttribute(String domainId, String attributeName) throws ServiceMetaAttributeNotFoundException, DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の deleteServiceMetaAttribute
domainId
- ドメインIDattributeName
- 属性名
DaoException
- 処理に失敗した
ServiceMetaAttributeNotFoundException
public void deleteServiceMetaAttribute(String domainId) throws ServiceMetaAttributeNotFoundException, DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の deleteServiceMetaAttribute
domainId
- ドメインID
DaoException
- 処理に失敗した
ServiceMetaAttributeNotFoundException
public ServiceMetaAttribute getServiceMetaAttribute(String domainId, String attributeName) throws ServiceMetaAttributeNotFoundException, DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の getServiceMetaAttribute
domainId
- ドメインIDattributeName
- 属性名
DaoException
- 処理に失敗した
ServiceMetaAttributeNotFoundException
public boolean isServiceMetaAttributeExist(String domainId, String serviceMetaAttributeId) throws DaoException
ServiceTypeDao
の記述:
ServiceTypeDao
内の isServiceMetaAttributeExist
domainId
- 取得するメタアトリビュートのドメインIDserviceMetaAttributeId
- 取得するメタアトリビュートのID
DaoException
- 処理に失敗した
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |