Class HibernateTombstoneDao
java.lang.Object
com.atlassian.confluence.impl.user.crowd.hibernate.HibernateTombstoneDao
- All Implemented Interfaces:
com.atlassian.crowd.dao.tombstone.TombstoneDao
public final class HibernateTombstoneDao
extends Object
implements com.atlassian.crowd.dao.tombstone.TombstoneDao
- Since:
- 7.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateTombstoneDao(Clock clock, org.hibernate.SessionFactory sessionFactory) -
Method Summary
Modifier and TypeMethodDescription<T extends com.atlassian.crowd.model.tombstone.ApplicationTombstone>
List<T>getTombstonesAfter(long after, Long applicationId, Class<T> type) <T extends com.atlassian.crowd.model.tombstone.AbstractTombstone>
List<T>getTombstonesAfter(long after, Collection<Long> directoryIds, Class<T> type) intremoveAllUpTo(long timestamp) voidstoreAliasTombstone(long applicationId, String username) voidstoreEventsTombstone(String reason) voidstoreEventsTombstoneForApplication(long applicationId) voidstoreEventsTombstoneForDirectory(String reason, long directoryId) voidstoreGroupMembershipTombstone(long directoryId, String childGroupName, String parentGroupName) voidstoreGroupTombstones(long directoryId, Collection<String> names) voidstoreUserMembershipTombstone(long directoryId, String username, String parentGroupName) voidstoreUserTombstones(long directoryId, Collection<String> names)
-
Constructor Details
-
HibernateTombstoneDao
-
-
Method Details
-
storeUserTombstones
- Specified by:
storeUserTombstonesin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeGroupTombstones
- Specified by:
storeGroupTombstonesin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeUserMembershipTombstone
- Specified by:
storeUserMembershipTombstonein interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeGroupMembershipTombstone
public void storeGroupMembershipTombstone(long directoryId, String childGroupName, String parentGroupName) - Specified by:
storeGroupMembershipTombstonein interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeEventsTombstoneForDirectory
- Specified by:
storeEventsTombstoneForDirectoryin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeEventsTombstoneForApplication
public void storeEventsTombstoneForApplication(long applicationId) - Specified by:
storeEventsTombstoneForApplicationin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeEventsTombstone
- Specified by:
storeEventsTombstonein interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
storeAliasTombstone
- Specified by:
storeAliasTombstonein interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
getTombstonesAfter
public <T extends com.atlassian.crowd.model.tombstone.AbstractTombstone> List<T> getTombstonesAfter(long after, Collection<Long> directoryIds, Class<T> type) - Specified by:
getTombstonesAfterin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
getTombstonesAfter
public <T extends com.atlassian.crowd.model.tombstone.ApplicationTombstone> List<T> getTombstonesAfter(long after, Long applicationId, Class<T> type) - Specified by:
getTombstonesAfterin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-
removeAllUpTo
public int removeAllUpTo(long timestamp) - Specified by:
removeAllUpToin interfacecom.atlassian.crowd.dao.tombstone.TombstoneDao
-