Class H2EmptyTrigger
- java.lang.Object
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.setup.h2triggers.H2EmptyTrigger
-
- All Implemented Interfaces:
org.h2.api.Trigger
public class H2EmptyTrigger extends Object implements org.h2.api.Trigger
Empty trigger. Does not do anything. Used when denormalised service is disabled.- Since:
- 7.11.0
-
-
Constructor Summary
Constructors Constructor Description H2EmptyTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
For SonarCube: we must implement this method, but we do not need to initialise anything here.void
fire(Connection connection, Object[] oldValues, Object[] newValues)
This method does nothing because this trigger is used when denormalised permissions are disabledvoid
init(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.void
remove()
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:
init
in interfaceorg.h2.api.Trigger
- Throws:
SQLException
-
fire
public void fire(Connection connection, Object[] oldValues, Object[] newValues) throws SQLException
This method does nothing because this trigger is used when denormalised permissions are disabled- Specified by:
fire
in interfaceorg.h2.api.Trigger
- Throws:
SQLException
-
close
public void close() throws SQLException
For SonarCube: we must implement this method, but we do not need to initialise anything here.- Specified by:
close
in interfaceorg.h2.api.Trigger
- Throws:
SQLException
-
remove
public void remove() throws SQLException
For SonarCube: we must implement this method, but we do not need to initialise anything here.- Specified by:
remove
in interfaceorg.h2.api.Trigger
- Throws:
SQLException
-
-