1 /****************************************************************************** 2 * SetTimestampsDao.java - Dao interface for the SetTimestamps table. 3 * 4 * PicMan - The BuckoSoft Picture Manager in Java 5 * Copyright(c) 2011 - Dick Balaska 6 * 7 */ 8 package com.buckosoft.PicMan.db; 9 10 import java.util.Date; 11 import java.util.HashMap; 12 13 /** Dao interface for the SetTimestamps table. 14 * @author Dick Balaska 15 * @since 2011/12/30 16 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/src/com/buckosoft/PicMan/db/SetTimestampsDao.java">SetTimestampsDao.java</a> 17 */ 18 public interface SetTimestampsDao { 19 20 /** Return a hash of the ages of the newest filter in each set/size. 21 * @return the hash. 22 */ 23 HashMap<String, Date> getSetTimestamps(); 24 25 /* Update the setsTimestamps table from this map. 26 * @param changed a keyed map of names, values don't matter . 27 */ 28 // void updateFilterDates(LinkedHashMap<String, String> changed); 29 30 /** Update the timestamp for this set. 31 * @param setSizeName The SetSize to be updated. i.e. mlbXO_100 32 */ 33 void updateSetTimestamp(String setSizeName); 34 35 }