1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package org.seasar.tuigwaa.database;
23
24 import java.util.Collection;
25 import java.util.List;
26
27 import org.seasar.tuigwaa.model.core.TgwEntity;
28
29
30 /***
31 * @author nishioka
32 */
33 public interface DynaDatabaseService {
34
35
36 public void createSchema(String schema) throws Exception;
37
38 public void dropSchema(String schema) throws Exception;
39
40
41 public void createTable(TgwEntity entity);
42
43 public void createTables(String schema, Collection entityList);
44
45 public void alterTable(TgwEntity entity) throws Exception;
46
47 public void dropTables(String schema, String[] tableNames) throws Exception;
48
49 public void dropTable(String schema, String tableName) throws Exception;
50
51 public List readTables(String domainName);
52
53 }