public class TMSVersionDAO extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TMSVersionDAO.GetVersionWork |
| Modifier and Type | Field and Description |
|---|---|
static String |
LEGACY_MAPPING |
static String |
LEGACY_TABLE_NAME |
static String |
TABLE_NAME |
| Constructor and Description |
|---|
TMSVersionDAO() |
| Modifier and Type | Method and Description |
|---|---|
static TMSVersion |
create(TopiaContext tx,
String version) |
static void |
createTable(org.hibernate.cfg.Configuration configuration) |
static void |
deleteAll(TopiaContext tx) |
static void |
dropTable(org.hibernate.cfg.Configuration configuration) |
static TMSVersion |
get(TopiaContext tx) |
static org.nuiton.util.Version |
getVersion(TopiaContext tx,
String tableName) |
static void |
update(TopiaContext tx,
TMSVersion version) |
public static final String LEGACY_TABLE_NAME
public static final String TABLE_NAME
public static final String LEGACY_MAPPING
public static TMSVersion get(TopiaContext tx) throws TopiaException
TopiaExceptionpublic static void createTable(org.hibernate.cfg.Configuration configuration)
public static void dropTable(org.hibernate.cfg.Configuration configuration)
public static TMSVersion create(TopiaContext tx, String version) throws TopiaException
TopiaExceptionpublic static void update(TopiaContext tx, TMSVersion version) throws TopiaException
TopiaExceptionpublic static void deleteAll(TopiaContext tx) throws TopiaException
TopiaExceptionpublic static org.nuiton.util.Version getVersion(TopiaContext tx, String tableName)
Copyright © 2004-2013 CodeLutin. All Rights Reserved.