Class MySqlContentPermissionSetDdlHelper
- java.lang.Object
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.setup.mysql.BaseMySqlDdlHelper
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.setup.mysql.MySqlContentPermissionSetDdlHelper
-
public class MySqlContentPermissionSetDdlHelper extends BaseMySqlDdlHelper
Contains methods for creating/removing triggers for content_perm_set table- Since:
- 7.11.0
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.security.denormalisedpermissions.impl.setup.mysql.BaseMySqlDdlHelper
jdbcTemplate, schemaName
-
-
Constructor Summary
Constructors Constructor Description MySqlContentPermissionSetDdlHelper(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getCreateDeleteTriggerDdl()
protected String
getCreateInsertTriggerDdl()
protected List<String>
getCreateTriggerScripts()
protected String
getCreateUpdateTriggerDdl()
protected String
getProcedureName()
protected TriggerEvent[]
getSupportedEvents()
protected String
getTriggerName()
-
Methods inherited from class com.atlassian.confluence.security.denormalisedpermissions.impl.setup.mysql.BaseMySqlDdlHelper
createTriggersAndFunctions, disableService, dropIndex, dropTriggersAndFunctions, enableService, getTriggerName, indexExist
-
-
-
-
Method Detail
-
getProcedureName
protected String getProcedureName()
- Specified by:
getProcedureName
in classBaseMySqlDdlHelper
-
getTriggerName
protected String getTriggerName()
- Specified by:
getTriggerName
in classBaseMySqlDdlHelper
-
getCreateUpdateTriggerDdl
protected String getCreateUpdateTriggerDdl()
- Specified by:
getCreateUpdateTriggerDdl
in classBaseMySqlDdlHelper
-
getCreateInsertTriggerDdl
protected String getCreateInsertTriggerDdl()
- Specified by:
getCreateInsertTriggerDdl
in classBaseMySqlDdlHelper
-
getCreateDeleteTriggerDdl
protected String getCreateDeleteTriggerDdl()
- Specified by:
getCreateDeleteTriggerDdl
in classBaseMySqlDdlHelper
-
getSupportedEvents
protected TriggerEvent[] getSupportedEvents()
- Overrides:
getSupportedEvents
in classBaseMySqlDdlHelper
-
getCreateTriggerScripts
protected List<String> getCreateTriggerScripts()
- Overrides:
getCreateTriggerScripts
in classBaseMySqlDdlHelper
-
-