1/*2 * Created on Oct 20, 20033 *4 * To change the template for this generated file go to5 * Window>Preferences>Java>Code Generation>Code and Comments6 */7packageorg.apache.jetspeed.om.registry;
8import java.util.List;
9import org.apache.torque.TorqueException;
10/***11 * @author susinha12 *13 * To change the template for this generated type comment go to14 * Window>Preferences>Java>Code Generation>Code and Comments15 */16publicinterfaceDBRegistry {
1718/*** the default database name for this class */19publicstaticfinal String DATABASE_NAME = "default";
2021/***22 * Method to get data.23 *24 * @param criteria object used to create the SELECT statement.25 * @return List of selected Objects26 * @throws TorqueException Any exceptions caught during processing will be27 * rethrown wrapped into a TorqueException.28 */29public List getXREGDataFromDb() throws TorqueException;
3031/***32 * Method to data.33 *34 * @param timestamp when database service ran last time.35 * @return boolean if data has been modified 36 * @throws TorqueException Any exceptions caught during processing will be37 * rethrown wrapped into a TorqueException.38 */39publicboolean isModified(String lastUpdateDate ) throws TorqueException;
4041 }