Class MySqlDao
- java.lang.Object
-
- ca.stellardrift.permissionsex.datastore.sql.SqlDao
-
- ca.stellardrift.permissionsex.datastore.sql.dao.MySqlDao
-
- All Implemented Interfaces:
AutoCloseable
public class MySqlDao extends SqlDao
-
-
Constructor Summary
Constructors Constructor Description MySqlDao(SqlDataStore ds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetInsertGlobalParameterQueryUpdating()protected StringgetInsertOptionUpdatingQuery()protected StringgetInsertPermissionUpdatingQuery()-
Methods inherited from class ca.stellardrift.permissionsex.datastore.sql.SqlDao
addParent, addSegment, allocateSegment, allocateSubjectRef, clearOption, clearPermission, close, deleteTable, executeInTransaction, getAllIdentifiers, getAllRankLadderNames, getAllSubjectRefs, getConnection, getContextInheritance, getDataStore, getDeleteContextInheritanceQuery, getDeleteContextQuery, getDeleteGlobalParameterQuery, getDeleteInheritanceParentQuery, getDeleteInheritanceQuery, getDeleteOptionKeyQuery, getDeleteOptionsQuery, getDeletePermissionKeyQuery, getDeletePermissionsQuery, getDeleteRankLadderQuery, getDeleteSegmentIdQuery, getDeleteSubjectIdQuery, getDeleteSubjectTypeNameQuery, getGetSubjectRefIdQuery, getGetSubjectRefTypeNameQuery, getGlobalParameter, getIdAllocating, getInsertContextInheritanceQuery, getInsertContextQuery, getInsertInheritanceQuery, getInsertRankLadderQuery, getInsertSegmentQuery, getInsertSubjectTypeNameQuery, getOrCreateSubjectRef, getRankLadder, getRegisteredTypes, getRenameTableQuery, getSchemaVersion, getSegments, getSelectAllContextKeysUniqueQuery, getSelectAllRankLadderNamesQuery, getSelectAllSubjectsQuery, getSelectContextInheritanceQuery, getSelectContextsSegmentQuery, getSelectGlobalParameterQuery, getSelectInheritanceSegmentQuery, getSelectOptionsSegmentQuery, getSelectPermissionsSegmentQuery, getSelectRankLadderQuery, getSelectSegmentsSubjectQuery, getSelectSubjectIdentifiersQuery, getSelectSubjectTypesQuery, getSubjectRef, getSubjectRef, getTestRankLadderExistsQuery, getUpdatePermissionDefaultQuery, getUsedContextKeys, hasEntriesForRankLadder, initializeTables, legacy, prepareStatement, prepareStatement, removeParent, removeSegment, removeSubject, removeSubject, renameTable, setContextInheritance, setContexts, setDefaultValue, setGlobalParameter, setOption, setOptions, setParents, setPermission, setPermissions, setRankLadder, setSchemaVersion, updateFullSegment
-
-
-
-
Constructor Detail
-
MySqlDao
public MySqlDao(SqlDataStore ds) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
getInsertGlobalParameterQueryUpdating
protected String getInsertGlobalParameterQueryUpdating()
- Specified by:
getInsertGlobalParameterQueryUpdatingin classSqlDao
-
getInsertOptionUpdatingQuery
protected String getInsertOptionUpdatingQuery()
- Specified by:
getInsertOptionUpdatingQueryin classSqlDao
-
getInsertPermissionUpdatingQuery
protected String getInsertPermissionUpdatingQuery()
- Specified by:
getInsertPermissionUpdatingQueryin classSqlDao
-
-