Class LegacyDao
- java.lang.Object
-
- ca.stellardrift.permissionsex.datastore.sql.dao.LegacyDao
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLegacyDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInsertOptionQuery()@Nullable StringgetOption(SqlDao dao, String name, LegacyMigration.Type type, @Nullable String world, String option)StringgetSelectEntitiesQuery()StringgetSelectOptionQuery()StringgetSelectOptionsQuery()StringgetSelectParentsQuery()StringgetSelectPermissionQuery()booleanhasTable(SqlDao dao, String table)PreparedStatementprepareStatement(SqlDao dao, String query)voidrenameTable(SqlDao dao, String oldName, String newName)
-
-
-
Constructor Detail
-
LegacyDao
protected LegacyDao()
-
-
Method Detail
-
getSelectEntitiesQuery
public String getSelectEntitiesQuery()
-
getSelectOptionsQuery
public String getSelectOptionsQuery()
-
getSelectOptionQuery
public String getSelectOptionQuery()
-
getInsertOptionQuery
public String getInsertOptionQuery()
-
getSelectPermissionQuery
public String getSelectPermissionQuery()
-
getSelectParentsQuery
public String getSelectParentsQuery()
-
prepareStatement
public PreparedStatement prepareStatement(SqlDao dao, String query) throws SQLException
- Throws:
SQLException
-
hasTable
public boolean hasTable(SqlDao dao, String table) throws SQLException
- Throws:
SQLException
-
renameTable
public void renameTable(SqlDao dao, String oldName, String newName) throws SQLException
- Throws:
SQLException
-
getOption
public @Nullable String getOption(SqlDao dao, String name, LegacyMigration.Type type, @Nullable String world, String option) throws SQLException
- Throws:
SQLException
-
-