Class H2ContentPermissionSetTrigger
- java.lang.Object
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.setup.h2triggers.H2ContentPermissionSetTrigger
-
- All Implemented Interfaces:
org.h2.api.Trigger
public class H2ContentPermissionSetTrigger extends Object implements org.h2.api.Trigger
H2 triggers for content_perm_set table. Triggers handle only DELETE events from this table, and insert records to DENORMALISED_CONTENT_CHANGE_LOG.- Since:
- 7.11.0
-
-
Constructor Summary
Constructors Constructor Description H2ContentPermissionSetTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()For SonarCube: we must implement this method, but we do not need to initialise anything here.voidfire(Connection connection, Object[] oldValues, Object[] newValues)voidinit(Connection connection, String s, String s1, String s2, boolean b, int i)For SonarCube: we must implement this method, but we do not need to initialise anything here.voidremove()For SonarCube: we must implement this method, but we do not need to initialise anything here.
-
-
-
Method Detail
-
init
public void init(Connection connection, String s, String s1, String s2, boolean b, int i) throws SQLException
For SonarCube: we must implement this method, but we do not need to initialise anything here.- Specified by:
initin interfaceorg.h2.api.Trigger- Throws:
SQLException
-
fire
public void fire(Connection connection, Object[] oldValues, Object[] newValues) throws SQLException
- Specified by:
firein interfaceorg.h2.api.Trigger- Throws:
SQLException
-
close
public void close() throws SQLExceptionFor SonarCube: we must implement this method, but we do not need to initialise anything here.- Specified by:
closein interfaceorg.h2.api.Trigger- Throws:
SQLException
-
remove
public void remove() throws SQLExceptionFor SonarCube: we must implement this method, but we do not need to initialise anything here.- Specified by:
removein interfaceorg.h2.api.Trigger- Throws:
SQLException
-
-