1 64 65 package com.jcorporate.expresso.core.dataobjects; 66 67 import java.util.List ; 68 69 79 80 public interface DataExecutorInterface { 81 82 90 public void add(DataObject valueObject) throws DataException, DuplicateKeyException; 91 92 98 public void delete(DataObject valueObject) throws DataException; 99 100 108 public void update(DataObject valueObject, boolean updateChangedFieldsOnly) throws DataException; 109 110 118 public boolean retrieve(DataObject valueObject) throws DataException; 119 120 121 130 public void addBatch(List valueObjectList) throws DataException, DuplicateKeyException; 131 132 139 public void deleteBatch(List valueObjectList) throws DataException; 140 141 150 public void deleteBatch(List valueObjectList, boolean deleteWithSetFieldsOnly) throws DataException; 151 152 159 160 167 public void updateBatch(List valueObjectList) throws DataException; 168 169 178 public void updateBatch(List valueObjectList, boolean updateChangedFieldsOnly) throws DataException; 179 180 188 public void updateAll(DataObject valueObject, boolean updateChangedCache) throws DataException; 189 190 196 public void deleteAll(DataObject valueObject, boolean deleteChangedCache) throws DataException; 197 198 204 public void runStoreProcedure(DataObject valueObject) throws DataException; 205 206 207 } 208 | Popular Tags |