Class H2EmptyTrigger
java.lang.Object
com.atlassian.confluence.security.denormalisedpermissions.impl.setup.h2triggers.H2EmptyTrigger
- All Implemented Interfaces:
- org.h2.api.Trigger
Empty trigger. Does not do anything. Used when denormalised service is disabled.
- Since:
- 7.11.0
- 
Field SummaryFields inherited from interface org.h2.api.TriggerDELETE, INSERT, SELECT, UPDATE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()For SonarCube: we must implement this method, but we do not need to initialise anything here.voidfire(Connection connection, Object[] oldValues, Object[] newValues) This method does nothing because this trigger is used when denormalised permissions are disabledvoidinit(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.
- 
Constructor Details- 
H2EmptyTriggerpublic H2EmptyTrigger()
 
- 
- 
Method Details- 
initpublic 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 interface- org.h2.api.Trigger
- Throws:
- SQLException
 
- 
fireThis method does nothing because this trigger is used when denormalised permissions are disabled- Specified by:
- firein interface- org.h2.api.Trigger
- Throws:
- SQLException
 
- 
closeFor SonarCube: we must implement this method, but we do not need to initialise anything here.- Specified by:
- closein interface- org.h2.api.Trigger
- Throws:
- SQLException
 
- 
removeFor SonarCube: we must implement this method, but we do not need to initialise anything here.- Specified by:
- removein interface- org.h2.api.Trigger
- Throws:
- SQLException
 
 
-