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