org.seasar.tuigwaa.model
クラス DataServiceImpl
java.lang.Object
org.seasar.tuigwaa.model.DataServiceImpl
- すべての実装インタフェース:
- DataService
- public class DataServiceImpl
- extends Object
- implements DataService
メソッドの概要 |
protected Long |
bindEntityId(TgwEntity entity,
Object bean)
|
void |
delete(TgwEntity entity,
Long id)
|
void |
deleteAll(TgwEntity entity)
|
void |
deleteByFilter(TgwEntity entity,
String methodName)
フィルタで指定されたデータを削除する |
protected Object |
doFind(TgwEntity entity,
String methodName,
CriteriaFunction extraCriteria)
|
DataTable |
find(TgwEntity entity,
String methodName)
|
DataTable |
find(TgwEntity entity,
String methodName,
CriteriaFunction extraCriteria)
|
protected TgwEntity |
getFileEntity()
|
protected EntityDAO |
getFileEntityDao()
|
protected DaoMethod |
getMethod(TgwEntity entity,
String methodName)
|
Object |
getValue(TgwEntity entity,
String methodName)
|
Object |
getValue(TgwEntity entity,
String methodName,
CriteriaFunction extraCriteria)
|
protected boolean |
hasFileEntity()
|
DataTable |
list(TgwEntity entity)
|
Object |
load(TgwEntity entity,
Long id)
|
Object |
loadByValue(TgwEntity entity,
String attrName,
Object value)
|
protected void |
manageFileData(Long id)
|
int |
rowCount(TgwEntity entity)
|
int |
rowCountByFilter(TgwEntity entity,
String filterName,
CriteriaFunction extraCriteria)
|
int |
rowCountByFilter(TgwEntity entity,
String filterName,
String searchName,
Object dto)
|
int |
rowCountBySearch(TgwEntity entity,
String searchMethodName,
Object dto)
|
protected CriteriaFunction |
rowCriteria()
|
Long |
saveOrUpdate(TgwEntity entity,
Object dto)
|
Long |
saveOrUpdate(TgwEntity entity,
Object dto,
String methodName)
|
DataTable |
search(TgwEntity entity,
String methodName,
Object dto)
|
DataTable |
search(TgwEntity entity,
String methodName,
Object dto,
CriteriaFunction extraCriteria)
|
DataTable |
searchByFilter(TgwEntity entity,
String searchMethodName,
Object dto,
String filterMethodName)
|
DataTable |
searchByFilter(TgwEntity entity,
String searchMethodName,
Object dto,
String filterMethodName,
CriteriaFunction extraCriteria)
|
void |
setDaoService(DAOService daoService)
|
void |
setModel(ModelService model)
|
protected int |
toCount(DataTable dataTable)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataServiceImpl
public DataServiceImpl()
setDaoService
public void setDaoService(DAOService daoService)
setModel
public void setModel(ModelService model)
saveOrUpdate
public Long saveOrUpdate(TgwEntity entity,
Object dto)
- 定義:
- インタフェース
DataService
内の saveOrUpdate
saveOrUpdate
public Long saveOrUpdate(TgwEntity entity,
Object dto,
String methodName)
- 定義:
- インタフェース
DataService
内の saveOrUpdate
load
public Object load(TgwEntity entity,
Long id)
- 定義:
- インタフェース
DataService
内の load
loadByValue
public Object loadByValue(TgwEntity entity,
String attrName,
Object value)
- 定義:
- インタフェース
DataService
内の loadByValue
delete
public void delete(TgwEntity entity,
Long id)
- 定義:
- インタフェース
DataService
内の delete
deleteByFilter
public void deleteByFilter(TgwEntity entity,
String methodName)
- フィルタで指定されたデータを削除する
- 定義:
- インタフェース
DataService
内の deleteByFilter
deleteAll
public void deleteAll(TgwEntity entity)
- 定義:
- インタフェース
DataService
内の deleteAll
list
public DataTable list(TgwEntity entity)
- 定義:
- インタフェース
DataService
内の list
find
public DataTable find(TgwEntity entity,
String methodName)
- 定義:
- インタフェース
DataService
内の find
find
public DataTable find(TgwEntity entity,
String methodName,
CriteriaFunction extraCriteria)
- 定義:
- インタフェース
DataService
内の find
getValue
public Object getValue(TgwEntity entity,
String methodName)
- 定義:
- インタフェース
DataService
内の getValue
getValue
public Object getValue(TgwEntity entity,
String methodName,
CriteriaFunction extraCriteria)
- 定義:
- インタフェース
DataService
内の getValue
search
public DataTable search(TgwEntity entity,
String methodName,
Object dto)
- 定義:
- インタフェース
DataService
内の search
search
public DataTable search(TgwEntity entity,
String methodName,
Object dto,
CriteriaFunction extraCriteria)
- 定義:
- インタフェース
DataService
内の search
searchByFilter
public DataTable searchByFilter(TgwEntity entity,
String searchMethodName,
Object dto,
String filterMethodName)
- 定義:
- インタフェース
DataService
内の searchByFilter
searchByFilter
public DataTable searchByFilter(TgwEntity entity,
String searchMethodName,
Object dto,
String filterMethodName,
CriteriaFunction extraCriteria)
- 定義:
- インタフェース
DataService
内の searchByFilter
rowCount
public int rowCount(TgwEntity entity)
- 定義:
- インタフェース
DataService
内の rowCount
rowCountBySearch
public int rowCountBySearch(TgwEntity entity,
String searchMethodName,
Object dto)
- 定義:
- インタフェース
DataService
内の rowCountBySearch
rowCountByFilter
public int rowCountByFilter(TgwEntity entity,
String filterName,
String searchName,
Object dto)
- 定義:
- インタフェース
DataService
内の rowCountByFilter
rowCountByFilter
public int rowCountByFilter(TgwEntity entity,
String filterName,
CriteriaFunction extraCriteria)
- 定義:
- インタフェース
DataService
内の rowCountByFilter
rowCriteria
protected CriteriaFunction rowCriteria()
getMethod
protected final DaoMethod getMethod(TgwEntity entity,
String methodName)
doFind
protected final Object doFind(TgwEntity entity,
String methodName,
CriteriaFunction extraCriteria)
bindEntityId
protected final Long bindEntityId(TgwEntity entity,
Object bean)
toCount
protected final int toCount(DataTable dataTable)
manageFileData
protected final void manageFileData(Long id)
hasFileEntity
protected boolean hasFileEntity()
getFileEntity
protected TgwEntity getFileEntity()
getFileEntityDao
protected EntityDAO getFileEntityDao()
Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.