Class BaseSqlServerDdlHelper
- java.lang.Object
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.setup.sqlserver.BaseSqlServerDdlHelper
-
- Direct Known Subclasses:
SqlServerContentDdlHelper,SqlServerContentPermissionDdlHelper,SqlServerContentPermissionSetDdlHelper,SqlServerSpaceDdlHelper,SqlServerSpacePermissionDdlHelper
public abstract class BaseSqlServerDdlHelper extends Object
Abstract class for MSSQL operations- Since:
- 7.11.0
-
-
Constructor Summary
Constructors Constructor Description BaseSqlServerDdlHelper(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcreateTriggersAndFunctions()voiddisableService()voiddropIndex(String indexName, String tableName)voiddropTriggersAndFunctions()voidenableService()protected StringgetCreateFunction(boolean isServiceEnabled)protected abstract StringgetCreateTriggerDdl()protected StringgetDropFunctionName()protected StringgetDropTriggerDdl()protected StringgetFullFunctionName()protected StringgetFullTableName()protected StringgetFullTriggerName()protected abstract StringgetFunctionName()protected abstract StringgetTableName()protected abstract StringgetTriggerName()booleanindexExist(String indexName, String tableName)
-
-
-
Method Detail
-
createTriggersAndFunctions
public void createTriggersAndFunctions()
-
enableService
public void enableService()
-
disableService
public void disableService()
-
dropTriggersAndFunctions
public void dropTriggersAndFunctions()
-
getFullTriggerName
protected String getFullTriggerName()
-
getFullFunctionName
protected String getFullFunctionName()
-
getFullTableName
protected String getFullTableName()
-
getDropTriggerDdl
protected String getDropTriggerDdl()
-
getTriggerName
protected abstract String getTriggerName()
-
getFunctionName
protected abstract String getFunctionName()
-
getTableName
protected abstract String getTableName()
-
getCreateTriggerDdl
protected abstract String getCreateTriggerDdl()
-
getDropFunctionName
protected String getDropFunctionName()
-
getCreateFunction
protected String getCreateFunction(boolean isServiceEnabled)
-
-