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.boot.Metadata metatada) |
static void |
deleteAll(TopiaContext tx) |
static void |
dropTable(org.hibernate.boot.Metadata metatada) |
static TMSVersion |
get(TopiaContext tx) |
static org.nuiton.util.version.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.boot.Metadata metatada)
public static void dropTable(org.hibernate.boot.Metadata metatada)
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.Version getVersion(TopiaContext tx, String tableName)
Copyright © 2004–2017 CodeLutin. All rights reserved.