org.seasar.tuigwaa.model
インタフェース DataService

既知の実装クラスの一覧:
AbstractDataService, DataServiceImpl

public interface DataService


フィールドの概要
static String DAOTYPE_AGGREGATION
           
static String DAOTYPE_FILTER
           
static String DAOTYPE_VALUE
           
 
メソッドの概要
 void delete(TgwEntity entity, Long id)
           
 void deleteAll(TgwEntity entity)
           
 void deleteByFilter(TgwEntity entity, String methodName)
           
 DataTable find(TgwEntity entity, String methodName)
           
 DataTable find(TgwEntity entity, String methodName, CriteriaFunction extraCriteria)
           
 Object getValue(TgwEntity entity, String methodName)
           
 Object getValue(TgwEntity entity, String methodName, CriteriaFunction extraCriteria)
           
 DataTable list(TgwEntity entity)
           
 Object load(TgwEntity entity, Long id)
           
 Object loadByValue(TgwEntity entity, String attrName, Object value)
           
 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)
           
 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)
           
 

フィールドの詳細

DAOTYPE_FILTER

public static final String DAOTYPE_FILTER
関連項目:
定数フィールド値

DAOTYPE_AGGREGATION

public static final String DAOTYPE_AGGREGATION
関連項目:
定数フィールド値

DAOTYPE_VALUE

public static final String DAOTYPE_VALUE
関連項目:
定数フィールド値
メソッドの詳細

load

public Object load(TgwEntity entity,
                   Long id)

loadByValue

public Object loadByValue(TgwEntity entity,
                          String attrName,
                          Object value)

saveOrUpdate

public Long saveOrUpdate(TgwEntity entity,
                         Object dto)

saveOrUpdate

public Long saveOrUpdate(TgwEntity entity,
                         Object dto,
                         String methodName)

delete

public void delete(TgwEntity entity,
                   Long id)

deleteByFilter

public void deleteByFilter(TgwEntity entity,
                           String methodName)

deleteAll

public void deleteAll(TgwEntity entity)

list

public DataTable list(TgwEntity entity)

search

public DataTable search(TgwEntity entity,
                        String methodName,
                        Object dto)

search

public DataTable search(TgwEntity entity,
                        String methodName,
                        Object dto,
                        CriteriaFunction extraCriteria)

find

public DataTable find(TgwEntity entity,
                      String methodName)

find

public DataTable find(TgwEntity entity,
                      String methodName,
                      CriteriaFunction extraCriteria)

searchByFilter

public DataTable searchByFilter(TgwEntity entity,
                                String searchMethodName,
                                Object dto,
                                String filterMethodName)

searchByFilter

public DataTable searchByFilter(TgwEntity entity,
                                String searchMethodName,
                                Object dto,
                                String filterMethodName,
                                CriteriaFunction extraCriteria)

rowCount

public int rowCount(TgwEntity entity)

rowCountBySearch

public int rowCountBySearch(TgwEntity entity,
                            String searchMethodName,
                            Object dto)

rowCountByFilter

public int rowCountByFilter(TgwEntity entity,
                            String filterName,
                            CriteriaFunction extraCriteria)

rowCountByFilter

public int rowCountByFilter(TgwEntity entity,
                            String filterName,
                            String searchName,
                            Object dto)

getValue

public Object getValue(TgwEntity entity,
                       String methodName)

getValue

public Object getValue(TgwEntity entity,
                       String methodName,
                       CriteriaFunction extraCriteria)


Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.