1 64 65 package com.jcorporate.expresso.core.dataobjects; 66 67 import java.util.List ; 68 69 78 public interface DataQueryInterface { 79 80 92 public List searchAndRetrieve(DataObject criteria, String sortOrder) throws DataException; 93 94 104 public List searchAndRetrieve(DataObject criteria) throws DataException; 105 106 120 public List searchAndRetrieve(DataTransferObject criteria) throws DataException; 121 122 138 public List searchAndRetrieve(DataTransferObject criteria, String sortOrder) throws DataException; 139 140 148 public boolean find(DataObject criteria) throws DataException; 149 150 151 159 public boolean find(DataTransferObject criteria) throws DataException; 160 161 162 166 public void release(); 167 168 } 169 | Popular Tags |