1 package org.riverock.dbrevision.manager.dao;
2
3 import org.riverock.dbrevision.manager.RevisionBean;
4 import org.riverock.dbrevision.db.Database;
5
6 import java.util.List;
7
8
9
10
11
12
13 public interface ManagerDao {
14 List<RevisionBean> getRevisions(Database adapter);
15
16 RevisionBean getRevision(Database database, String moduleName, String versionName);
17
18 void checkDbRevisionTableExist(Database database);
19
20 void makrCurrentVersion(Database database, String moduleName, String versionName, String patchName);
21
22 RevisionBean getRevision(Database database, String moduleName);
23 }