Class DaoMetadata
- java.lang.Object
-
- org.hortonmachine.gears.io.geopaparazzi.geopap4.DaoMetadata
-
public class DaoMetadata extends Object
- Author:
- Andrea Antonello (www.hydrologis.com)
-
-
Field Summary
Fields Modifier and Type Field Description static StringEMPTY_VALUE
-
Constructor Summary
Constructors Constructor Description DaoMetadata()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateTables(Connection connection)Create the notes tables.static voidfillProjectMetadata(Connection connection, String name, String description, String notes, String creationUser)Populate the project metadata table.
-
-
-
Field Detail
-
EMPTY_VALUE
public static final String EMPTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createTables
public static void createTables(Connection connection) throws Exception
Create the notes tables.- Throws:
IOException- if something goes wrong.Exception
-
fillProjectMetadata
public static void fillProjectMetadata(Connection connection, String name, String description, String notes, String creationUser) throws Exception
Populate the project metadata table.- Parameters:
name- the project namedescription- an optional description.notes- optional notes.creationUser- the user creating the project.- Throws:
IOException- if something goes wrong.Exception
-
-