public class UserIntramartDBMapper extends IntramartDBMapper implements UserMapper
コンストラクタと説明 |
---|
UserIntramartDBMapper() |
修飾子とタイプ | メソッドと説明 |
---|---|
UserBaseModel |
create(String userCode)
プライマリキーに該当するユーザを生成します。
|
void |
delete(Collection models)
ユーザの基本モデルを複数削除します。
|
void |
delete(UserBaseModel model)
ユーザの基本モデルを1つだけ削除します。
|
protected String |
getApplicationName()
ユーザに対して定義されているアプリケーション名を取得します。
|
protected String |
getEntityName()
ユーザに対して定義されているエンティティ名を取得します。
|
void |
insert(Collection models)
ユーザの基本モデルを複数挿入します。
|
void |
insert(UserBaseModel model)
ユーザの基本モデルを1つだけ挿入します。
|
UserBaseModel |
select(String userCode)
プライマリーキーで特定されるユーザの基本モデルを取得します。
|
void |
update(Collection models)
ユーザの基本モデルを複数更新します。
|
void |
update(UserBaseModel model)
ユーザの基本モデルを1つだけ更新します。
|
checkByBaseProperty, close, createBaseAccessor, createBaseModel, delete, init, insert, isClosed, notifyDelete, notifyUpdate, select, select, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkByBaseProperty, close, createBaseModel, init, isClosed, notifyDelete, notifyUpdate, select
protected String getApplicationName()
getApplicationName
クラス内 IntramartDBMapper
protected String getEntityName()
getEntityName
クラス内 IntramartDBMapper
public UserBaseModel create(String userCode) throws MapperException
create
インタフェース内 UserMapper
userCode
- ユーザコードMapperException
- モデルの生成に失敗した場合public UserBaseModel select(String userCode) throws MapperException
select
インタフェース内 UserMapper
userCode
- ユーザコードMapperException
- 検索で例外が発生した場合public void insert(UserBaseModel model) throws MapperException
UserMapper
の create(String)
で生成されたものである必要があります。insert
インタフェース内 UserMapper
model
- 挿入するユーザの基本モデルMapperException
- 挿入で何らかの例外が発生した場合public void insert(Collection models) throws MapperException
UserMapper
の create(String)
で生成されたユーザの基本モデルの集合である必要があります。insert
インタフェース内 UserMapper
insert
クラス内 IntramartDBMapper
models
- 挿入するユーザの基本モデルの集合MapperException
- 挿入で何らかの例外が発生した場合public void update(UserBaseModel model) throws MapperException
UserMapper
の select
系メソッド
から取得されたもので生成されたものである必要があります。update
インタフェース内 UserMapper
model
- 更新するユーザの基本モデルMapperException
- 更新で何らかの例外が発生した場合public void update(Collection models) throws MapperException
UserMapper
の select
系メソッド
から取得されたものかで生成されたユーザの基本モデルの集合である必要があります。update
インタフェース内 UserMapper
update
クラス内 IntramartDBMapper
models
- 更新するユーザの基本モデルの集合MapperException
- 更新で何らかの例外が発生した場合public void delete(UserBaseModel model) throws MapperException
UserMapper
の select
系メソッド から取得されたものである必要があります。delete
インタフェース内 UserMapper
model
- 削除するユーザの基本モデルMapperException
- 削除で何らかの例外が発生した場合public void delete(Collection models) throws MapperException
UserMapper
の select
系メソッド から取得されたユーザ基本モデルの集合である必要があります。delete
インタフェース内 UserMapper
delete
クラス内 IntramartDBMapper
models
- 削除するユーザの基本モデルの集合MapperException
- 削除で何らかの例外が発生した場合Copyright © 2012 NTT DATA INTRAMART CORPORATION