Class PostgresContentPermissionSetDdlHelper
- java.lang.Object
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.setup.postgres.BasePostgresDdlHelper
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.setup.postgres.PostgresContentPermissionSetDdlHelper
-
public class PostgresContentPermissionSetDdlHelper extends BasePostgresDdlHelper
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.postgres.BasePostgresDdlHelper
jdbcTemplate, schemaName
-
-
Constructor Summary
Constructors Constructor Description PostgresContentPermissionSetDdlHelper(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getCreateTriggerFunctionDdl()
protected List<String>
getCreateTriggerScripts()
protected String
getTriggerFunctionName()
protected String
getTriggerName()
protected String
getTriggerTableName()
-
Methods inherited from class com.atlassian.confluence.security.denormalisedpermissions.impl.setup.postgres.BasePostgresDdlHelper
createTriggersAndFunctions, disableService, dropIndex, dropTriggersAndFunctions, enableService, getCreateEmptyTriggerFunctionDdl, getCreateTriggerDdl, getDropTriggerDdl, getTriggerName, indexExist
-
-
-
-
Method Detail
-
getTriggerName
protected String getTriggerName()
- Specified by:
getTriggerName
in classBasePostgresDdlHelper
-
getTriggerTableName
protected String getTriggerTableName()
- Specified by:
getTriggerTableName
in classBasePostgresDdlHelper
-
getTriggerFunctionName
protected String getTriggerFunctionName()
- Specified by:
getTriggerFunctionName
in classBasePostgresDdlHelper
-
getCreateTriggerFunctionDdl
protected String getCreateTriggerFunctionDdl()
- Specified by:
getCreateTriggerFunctionDdl
in classBasePostgresDdlHelper
-
getCreateTriggerScripts
protected List<String> getCreateTriggerScripts()
- Overrides:
getCreateTriggerScripts
in classBasePostgresDdlHelper
-
-