|
intra-mart 6.1.14 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
アカウントが保有する属性に関連するマッパです。
メソッドの概要 | |
AccountAttributeBaseModel |
create(String userId,
String attributeName)
プライマリキーに該当するアカウントが保有する属性を生成します。 |
void |
delete(AccountAttributeBaseModel model)
アカウントが保有する属性の基本モデルを1つだけ削除します。 |
void |
delete(Collection models)
アカウントが保有する属性の基本モデルを複数削除します。 |
void |
insert(AccountAttributeBaseModel model)
アカウントが保有する属性の基本モデルを1つだけ挿入します。 |
void |
insert(Collection models)
アカウントが保有する属性の基本モデルを複数挿入します。 |
AccountAttributeBaseModel |
select(String userId,
String attributeName)
プライマリーキーで特定されるアカウントが保有する属性の基本モデルを取得します。 |
void |
update(AccountAttributeBaseModel model)
アカウントが保有する属性の基本モデルを1つだけ更新します。 |
void |
update(Collection models)
アカウントが保有する属性の基本モデルを複数更新します。 |
インタフェース jp.co.intra_mart.foundation.datastore.common.model.Mapper から継承したメソッド |
checkByBaseProperty, close, createBaseModel, init, isClosed, notifyDelete, notifyUpdate, select |
メソッドの詳細 |
public AccountAttributeBaseModel create(String userId, String attributeName) throws MapperException
userId
- ユーザIDattributeName
- 属性キー
MapperException
- モデルの生成に失敗した場合public AccountAttributeBaseModel select(String userId, String attributeName) throws MapperException
userId
- ユーザIDattributeName
- 属性キー
MapperException
- 検索で例外が発生した場合public void insert(AccountAttributeBaseModel model) throws MapperException
AccountAttributeMapper
の create(String,String)
で生成されたものである必要があります。
model
- 挿入するアカウントが保有する属性の基本モデル
MapperException
- 挿入で何らかの例外が発生した場合public void insert(Collection models) throws MapperException
AccountAttributeMapper
の create(String,String)
で生成されたアカウントが保有する属性の基本モデルの集合である必要があります。
models
- 挿入するアカウントが保有する属性の基本モデルの集合
MapperException
- 挿入で何らかの例外が発生した場合public void update(AccountAttributeBaseModel model) throws MapperException
AccountAttributeMapper
の select
系メソッド
から取得されたもので生成されたものである必要があります。
model
- 更新するアカウントが保有する属性の基本モデル
MapperException
- 更新で何らかの例外が発生した場合public void update(Collection models) throws MapperException
AccountAttributeMapper
の select
系メソッド
から取得されたものかで生成されたアカウントが保有する属性の基本モデルの集合である必要があります。
models
- 更新するアカウントが保有する属性の基本モデルの集合
MapperException
- 更新で何らかの例外が発生した場合public void delete(AccountAttributeBaseModel model) throws MapperException
AccountAttributeMapper
の select
系メソッド から取得されたものである必要があります。
model
- 削除するアカウントが保有する属性の基本モデル
MapperException
- 削除で何らかの例外が発生した場合public void delete(Collection models) throws MapperException
AccountAttributeMapper
の select
系メソッド から取得されたアカウントが保有する属性の基本モデルの集合である必要があります。
models
- 削除するアカウントが保有する属性の基本モデルの集合
MapperException
- 削除で何らかの例外が発生した場合
|
intra-mart 6.1.14 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |