Package org.oa4mp.server.api.storage.sql
Class MYSQLAdmin
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.sql.SQLDatabase
-
- edu.uiuc.ncsa.security.storage.sql.DBInitializer
-
- org.oa4mp.server.api.storage.sql.MYSQLAdmin
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Initializable
public class MYSQLAdmin extends edu.uiuc.ncsa.security.storage.sql.DBInitializerPlanned 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 voidcreateSchema(Statement s)voidcreateTables(Statement s)voiddropSchema(Statement s)voiddropTables(Statement s)voidrecreateTransactionTables(Statement s)voidsetPermissions(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:
createSchemain classedu.uiuc.ncsa.security.storage.sql.DBInitializer- Throws:
SQLException
-
setPermissions
public void setPermissions(Statement s) throws SQLException
- Specified by:
setPermissionsin classedu.uiuc.ncsa.security.storage.sql.DBInitializer- Throws:
SQLException
-
dropSchema
public void dropSchema(Statement s) throws SQLException
- Specified by:
dropSchemain classedu.uiuc.ncsa.security.storage.sql.DBInitializer- Throws:
SQLException
-
createTables
public void createTables(Statement s) throws SQLException
- Specified by:
createTablesin classedu.uiuc.ncsa.security.storage.sql.DBInitializer- Throws:
SQLException
-
recreateTransactionTables
public void recreateTransactionTables(Statement s) throws SQLException
- Specified by:
recreateTransactionTablesin classedu.uiuc.ncsa.security.storage.sql.DBInitializer- Throws:
SQLException
-
dropTables
public void dropTables(Statement s) throws SQLException
- Specified by:
dropTablesin classedu.uiuc.ncsa.security.storage.sql.DBInitializer- Throws:
SQLException
-
-