public class ItemIntramartDBMapper extends IntramartDBMapper implements ItemMapper
コンストラクタと説明 |
---|
ItemIntramartDBMapper() |
修飾子とタイプ | メソッドと説明 |
---|---|
ItemBaseModel |
create(String itemCode)
プライマリキーに該当する商品を生成します。
|
void |
delete(Collection models)
商品の基本モデルを複数削除します。
|
void |
delete(ItemBaseModel model)
商品の基本モデルを1つだけ削除します。
|
protected String |
getApplicationName()
商品に対して定義されているアプリケーション名を取得します。
|
protected String |
getEntityName()
商品に対して定義されているエンティティ名を取得します。
|
void |
insert(Collection models)
商品の基本モデルを複数挿入します。
|
void |
insert(ItemBaseModel model)
商品の基本モデルを1つだけ挿入します。
|
ItemBaseModel |
select(String itemCode)
プライマリーキーで特定される商品の基本モデルを取得します。
|
void |
update(Collection models)
商品の基本モデルを複数更新します。
|
void |
update(ItemBaseModel 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 ItemBaseModel create(String itemCode) throws MapperException
create
インタフェース内 ItemMapper
itemCode
- 商品コードMapperException
- モデルの生成に失敗した場合public ItemBaseModel select(String itemCode) throws MapperException
select
インタフェース内 ItemMapper
itemCode
- 商品コードMapperException
- 検索で例外が発生した場合public void insert(ItemBaseModel model) throws MapperException
ItemMapper
の create(String)
で生成されたものである必要があります。insert
インタフェース内 ItemMapper
model
- 挿入する商品の基本モデルMapperException
- 挿入で何らかの例外が発生した場合public void insert(Collection models) throws MapperException
ItemMapper
の create(String)
で生成された商品の基本モデルの集合である必要があります。insert
インタフェース内 ItemMapper
insert
クラス内 IntramartDBMapper
models
- 挿入する商品の基本モデルの集合MapperException
- 挿入で何らかの例外が発生した場合public void update(ItemBaseModel model) throws MapperException
ItemMapper
の select
系メソッド
から取得されたもので生成されたものである必要があります。update
インタフェース内 ItemMapper
model
- 更新する商品の基本モデルMapperException
- 更新で何らかの例外が発生した場合public void update(Collection models) throws MapperException
ItemMapper
の select
系メソッド
から取得されたものかで生成された商品の基本モデルの集合である必要があります。update
インタフェース内 ItemMapper
update
クラス内 IntramartDBMapper
models
- 更新する商品の基本モデルの集合MapperException
- 更新で何らかの例外が発生した場合public void delete(ItemBaseModel model) throws MapperException
ItemMapper
の select
系メソッド から取得されたものである必要があります。delete
インタフェース内 ItemMapper
model
- 削除する商品の基本モデルMapperException
- 削除で何らかの例外が発生した場合public void delete(Collection models) throws MapperException
ItemMapper
の select
系メソッド から取得された商品基本モデルの集合である必要があります。delete
インタフェース内 ItemMapper
delete
クラス内 IntramartDBMapper
models
- 削除する商品の基本モデルの集合MapperException
- 削除で何らかの例外が発生した場合Copyright © 2012 NTT DATA INTRAMART CORPORATION