public abstract class AbstractGenericManager extends Object implements GenericManager
コンストラクタと説明 |
---|
AbstractGenericManager() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected List<Map<String,Object>> |
convertList(List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList)
引数のListをMapに変換.
|
Long |
count(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<Where> criteria)
count.
|
int |
delete(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity)
delete.
|
int |
delete(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<Where> criteria)
selectDelete.
|
int |
deleteLock(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity)
delete.
|
int |
deleteLock(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<Where> criteria)
selectDelete.
|
int |
insert(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity)
insert.
|
int |
insert(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList)
insert.
|
List<Map<String,Object>> |
select(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<Where> criteria,
List<OrderDto> order)
select.
|
List<Map<String,Object>> |
select(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<Where> criteria,
List<OrderDto> order,
int limit,
int offset)
select.
|
List<Map<String,Object>> |
selectForUpdate(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity,
List<OrderDto> order)
selectForUpdate.
|
List<Map<String,Object>> |
selectForUpdate(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<Where> criteria,
List<OrderDto> order)
selectForUpdate.
|
int |
update(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity,
String... includes)
update.
|
int |
update(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList,
String... includes)
update.
|
int |
updateExcludes(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity,
String... excludes)
updateExcludes.
|
int |
updateExcludes(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList,
String... excludes)
updateExcludes.
|
int |
updateLock(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity,
String... includes)
updateLock.
|
int |
updateLock(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList,
String... includes)
updateLock.
|
int |
updateLockExcludes(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity,
String... excludes)
updateLockExcludes.
|
int |
updateLockExcludes(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service,
List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList,
String... excludes)
updateLockExcludes.
|
public List<Map<String,Object>> select(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<Where> criteria, List<OrderDto> order, int limit, int offset) throws KaidenSystemException
select
インタフェース内 GenericManager
service
- GenerateService
criteria
- 検索条件order
- ソート条件limit
- limitoffset
- offsetKaidenSystemException
- KaidenSystemException
public List<Map<String,Object>> select(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<Where> criteria, List<OrderDto> order) throws KaidenSystemException
select
インタフェース内 GenericManager
service
- GenerateService
criteria
- 検索条件order
- ソート条件KaidenSystemException
- KaidenSystemException
public List<Map<String,Object>> selectForUpdate(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<Where> criteria, List<OrderDto> order)
検索条件に合致するデータのロックを取得します。
selectForUpdate
インタフェース内 GenericManager
service
- GenerateService
criteria
- 検索条件order
- ソート条件public List<Map<String,Object>> selectForUpdate(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity, List<OrderDto> order)
entityデータの主キーロックを取得します。
selectForUpdate
インタフェース内 GenericManager
service
- GenerateService
entity
- GenerateEntity
order
- ソート条件public Long count(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<Where> criteria) throws KaidenSystemException
count
インタフェース内 GenericManager
service
- GenerateService
criteria
- 検索条件KaidenSystemException
- KaidenSystemException
public int insert(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity) throws KaidenSystemException
insert
インタフェース内 GenericManager
service
- GenerateService
entity
- GenerateEntity
KaidenSystemException
- KaidenSystemException
public int insert(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList) throws KaidenSystemException
insert
インタフェース内 GenericManager
service
- GenerateService
entityList
- GenerateEntity
KaidenSystemException
- KaidenSystemException
public int update(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity, String... includes) throws KaidenSystemException
update
インタフェース内 GenericManager
service
- GenerateService
entity
- GenerateEntity
includes
- 更新対象のカラムKaidenSystemException
- KaidenSystemException
public int update(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList, String... includes) throws KaidenSystemException
update
インタフェース内 GenericManager
service
- GenerateService
entityList
- GenerateEntity
includes
- 更新対象のカラムKaidenSystemException
- KaidenSystemException
public int updateLock(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity, String... includes) throws KaidenSystemException
更新前に更新対象データの主キーロックを取得します。
updateLock
インタフェース内 GenericManager
service
- GenerateService
entity
- GenerateEntity
includes
- 更新対象のカラムKaidenSystemException
- KaidenSystemException
public int updateLock(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList, String... includes) throws KaidenSystemException
更新前に更新対象データの主キーロックを取得します。
updateLock
インタフェース内 GenericManager
service
- GenerateService
entityList
- GenerateEntity
includes
- 更新対象のカラムKaidenSystemException
- KaidenSystemException
public int updateExcludes(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity, String... excludes) throws KaidenSystemException
updateExcludes
インタフェース内 GenericManager
service
- GenerateService
entity
- GenerateEntity
excludes
- 更新対象外のカラムKaidenSystemException
- KaidenSystemException
public int updateExcludes(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList, String... excludes) throws KaidenSystemException
updateExcludes
インタフェース内 GenericManager
service
- GenerateService
entityList
- GenerateEntity
excludes
- 更新対象外のカラムKaidenSystemException
- KaidenSystemException
public int updateLockExcludes(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity, String... excludes) throws KaidenSystemException
更新前に更新対象データの主キーロックを取得します。
updateLockExcludes
インタフェース内 GenericManager
service
- GenerateService
entity
- GenerateEntity
excludes
- 更新対象外のカラムKaidenSystemException
- KaidenSystemException
public int updateLockExcludes(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList, String... excludes) throws KaidenSystemException
更新前に更新対象データの主キーロックを取得します。
updateLockExcludes
インタフェース内 GenericManager
service
- GenerateService
entityList
- GenerateEntity
excludes
- 更新対象外のカラムKaidenSystemException
- KaidenSystemException
public int delete(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity) throws KaidenSystemException
delete
インタフェース内 GenericManager
service
- サービスクラスentity
- GenerateEntity
KaidenSystemException
- KaidenSystemException
public int delete(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<Where> criteria) throws KaidenSystemException
delete
インタフェース内 GenericManager
service
- サービスクラスcriteria
- 検索条件KaidenSystemException
- KaidenSystemException
public int deleteLock(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity) throws KaidenSystemException
削除前に削除対象データの主キーロックを取得します。
deleteLock
インタフェース内 GenericManager
service
- サービスクラスentity
- GenerateEntity
KaidenSystemException
- KaidenSystemException
public int deleteLock(jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service, List<Where> criteria) throws KaidenSystemException
削除前に検索条件に合致するデータのロックを取得します。
deleteLock
インタフェース内 GenericManager
service
- サービスクラスcriteria
- 検索条件KaidenSystemException
- KaidenSystemException
Copyright © 2023 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.