Class TMSVersionDAO
java.lang.Object
org.nuiton.topia.migration.mappings.TMSVersionDAO
public class TMSVersionDAO
extends java.lang.Object
TMSVersion DAO helper.
- Since:
- 2.3.4
- Author:
- tchemit <chemit@codelutin.com>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTMSVersionDAO.GetVersionWork -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLEGACY_MAPPINGstatic java.lang.StringLEGACY_TABLE_NAMEstatic java.lang.StringTABLE_NAME -
Constructor Summary
Constructors Constructor Description TMSVersionDAO() -
Method Summary
Modifier and Type Method Description static TMSVersioncreate(TopiaContext tx, java.lang.String version)static voidcreateTable(org.hibernate.boot.Metadata metatada)static voiddeleteAll(TopiaContext tx)static voiddropTable(org.hibernate.boot.Metadata metatada)static TMSVersionget(TopiaContext tx)static org.nuiton.version.VersiongetVersion(TopiaContext tx, java.lang.String tableName)static voidupdate(TopiaContext tx, TMSVersion version)
-
Field Details
-
LEGACY_TABLE_NAME
public static final java.lang.String LEGACY_TABLE_NAME- See Also:
- Constant Field Values
-
TABLE_NAME
public static final java.lang.String TABLE_NAME- See Also:
- Constant Field Values
-
LEGACY_MAPPING
public static final java.lang.String LEGACY_MAPPING
-
-
Constructor Details
-
TMSVersionDAO
public TMSVersionDAO()
-
-
Method Details
-
get
- Throws:
TopiaException
-
createTable
public static void createTable(org.hibernate.boot.Metadata metatada) -
dropTable
public static void dropTable(org.hibernate.boot.Metadata metatada) -
create
- Throws:
TopiaException
-
update
- Throws:
TopiaException
-
deleteAll
- Throws:
TopiaException
-
getVersion
-