Class MYSQLAdmin
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.sql.SQLDatabase
-
- edu.uiuc.ncsa.security.storage.sql.DBInitializer
-
- org.oa4mp.server.api.sql.storage.MYSQLAdmin
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Initializable
public class MYSQLAdmin extends edu.uiuc.ncsa.security.storage.sql.DBInitializer
Planned administrative utility. Right now there are supplied scripts for this.Created by Jeff Gaynor
on May 17, 2011 at 1:47:12 PM
-
-
Constructor Summary
Constructors Constructor Description MYSQLAdmin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createSchema(Statement s)
void
createTables(Statement s)
void
dropSchema(Statement s)
void
dropTables(Statement s)
void
recreateTransactionTables(Statement s)
void
setPermissions(Statement s)
-
Methods inherited from class edu.uiuc.ncsa.security.storage.sql.DBInitializer
createNew, destroy, destroy2, getAdminConnectionParameters, getDatabaseName, getSchema, getUser, init, init2, isCreated, isDestroyed, isInitialized
-
-
-
-
Method Detail
-
createSchema
public void createSchema(Statement s) throws SQLException
- Specified by:
createSchema
in classedu.uiuc.ncsa.security.storage.sql.DBInitializer
- Throws:
SQLException
-
setPermissions
public void setPermissions(Statement s) throws SQLException
- Specified by:
setPermissions
in classedu.uiuc.ncsa.security.storage.sql.DBInitializer
- Throws:
SQLException
-
dropSchema
public void dropSchema(Statement s) throws SQLException
- Specified by:
dropSchema
in classedu.uiuc.ncsa.security.storage.sql.DBInitializer
- Throws:
SQLException
-
createTables
public void createTables(Statement s) throws SQLException
- Specified by:
createTables
in classedu.uiuc.ncsa.security.storage.sql.DBInitializer
- Throws:
SQLException
-
recreateTransactionTables
public void recreateTransactionTables(Statement s) throws SQLException
- Specified by:
recreateTransactionTables
in classedu.uiuc.ncsa.security.storage.sql.DBInitializer
- Throws:
SQLException
-
dropTables
public void dropTables(Statement s) throws SQLException
- Specified by:
dropTables
in classedu.uiuc.ncsa.security.storage.sql.DBInitializer
- Throws:
SQLException
-
-