|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface ResourceTypeDao
リソースタイプ情報の管理を行うDAOクラスのインターフェース。
メソッドの概要 | |
---|---|
void |
addResourceMetaAttribute(ResourceMetaAttribute metaAttribute)
リソースメタ属性を追加する。 |
void |
addResourceType(ResourceType resourceType)
リソースタイプを追加する。 |
void |
clear()
登録されているリソースタイプを全て消去する。 |
void |
deleteResourceMetaAttribute(String domainId)
指定したdomainの全リソースタイプを削除する。 |
void |
deleteResourceMetaAttribute(String domainId,
String attributeName)
リソースタイプを削除する。 |
void |
deleteResourceType(String domainId)
指定したdomainの全リソースタイプを削除する。 |
void |
deleteResourceType(String domainId,
String resourceTypeId)
リソースタイプを削除する。 |
ResourceMetaAttribute |
getResourceMetaAttribute(String domainId,
String attributeName)
リソースメタ属性を取得する。 |
ResourceType |
getResourceType(String domainId,
String resourceTypeId)
resourceTypeIdで指定されたリソースタイプを取得する。 |
boolean |
isResourceMetaAttributeExist(String domainId,
String resourceMetaAttributeId)
メタアトリビュートが存在するかどうかを返す。 |
boolean |
isResourceTypeExist(String domainId,
String resourceTypeId)
リソースタイプが存在するかどうかを返す。 |
List<ResourceMetaAttribute> |
listAllResourceMetaAttributes()
全リソースメタ属性を列挙する。 |
List<ResourceMetaAttribute> |
listAllResourceMetaAttributes(String domainId)
指定したドメインIDの全リソースメタ属性を列挙する。 |
List<ResourceType> |
listAllResourceTypes()
全リソースタイプを列挙する。 |
List<ResourceType> |
listAllResourceTypes(String domainId)
特定ドメインの全リソースタイプを列挙する。 |
メソッドの詳細 |
---|
void clear() throws DaoException
DaoException
- 情報の削除に失敗したList<ResourceType> listAllResourceTypes() throws DaoException
DaoException
- 処理に失敗したList<ResourceType> listAllResourceTypes(String domainId) throws DaoException
DaoException
- 処理に失敗したvoid addResourceType(ResourceType resourceType) throws DaoException
resourceType
- 追加するリソースタイプの情報
DaoException
- 情報の書き出しに失敗したvoid deleteResourceType(String domainId, String resourceTypeId) throws DaoException
domainId
- 削除するリソースタイプのドメインIDresourceTypeId
- 削除するリソースタイプのリソースタイプID
DaoException
- 情報の読み込みに失敗したvoid deleteResourceType(String domainId) throws DaoException
domainId
- 削除するリソースタイプのドメインID
DaoException
- 情報の読み込みに失敗したResourceType getResourceType(String domainId, String resourceTypeId) throws DaoException
domainId
- 取得するリソースタイプのドメインIDresourceTypeId
- 取得するリソースタイプのリソースタイプID
DaoException
- 情報の読み込みに失敗したboolean isResourceTypeExist(String domainId, String resourceTypeId) throws DaoException
domainId
- 取得するリソースタイプのドメインIDresourceTypeId
- 取得するリソースタイプのリソースタイプID
DaoException
- 処理に失敗したList<ResourceMetaAttribute> listAllResourceMetaAttributes() throws DaoException
DaoException
- 処理に失敗したList<ResourceMetaAttribute> listAllResourceMetaAttributes(String domainId) throws DaoException
domainId
- ドメインID
DaoException
- 処理に失敗したvoid addResourceMetaAttribute(ResourceMetaAttribute metaAttribute) throws DaoException
metaAttribute
- 追加するリソースメタ属性の情報
DaoException
- 処理に失敗したvoid deleteResourceMetaAttribute(String domainId, String attributeName) throws DaoException
domainId
- ドメインIDattributeName
- 属性名
DaoException
- 処理に失敗したvoid deleteResourceMetaAttribute(String domainId) throws DaoException
domainId
- ドメインID
DaoException
- 処理に失敗したResourceMetaAttribute getResourceMetaAttribute(String domainId, String attributeName) throws DaoException
domainId
- ドメインIDattributeName
- 属性名
DaoException
- 処理に失敗したboolean isResourceMetaAttributeExist(String domainId, String resourceMetaAttributeId) throws DaoException
domainId
- 取得するメタアトリビュートのドメインIDresourceMetaAttributeId
- 取得するメタアトリビュートのID
DaoException
- 処理に失敗した
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |