public final class HibernateTombstoneDao extends Object implements com.atlassian.crowd.dao.tombstone.TombstoneDao
| Constructor and Description |
|---|
HibernateTombstoneDao(Clock clock,
org.hibernate.SessionFactory sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.atlassian.crowd.model.tombstone.AbstractTombstone> |
getTombstonesAfter(long after,
Collection<Long> directoryIds,
Class<T> type) |
<T extends com.atlassian.crowd.model.tombstone.ApplicationTombstone> |
getTombstonesAfter(long after,
Long applicationId,
Class<T> type) |
int |
removeAllUpTo(long timestamp) |
void |
storeAliasTombstone(long applicationId,
String username) |
void |
storeEventsTombstone(String reason) |
void |
storeEventsTombstoneForApplication(long applicationId) |
void |
storeEventsTombstoneForDirectory(String reason,
long directoryId) |
void |
storeGroupMembershipTombstone(long directoryId,
String childGroupName,
String parentGroupName) |
void |
storeGroupTombstones(long directoryId,
Collection<String> names) |
void |
storeUserMembershipTombstone(long directoryId,
String username,
String parentGroupName) |
void |
storeUserTombstones(long directoryId,
Collection<String> names) |
public HibernateTombstoneDao(Clock clock, org.hibernate.SessionFactory sessionFactory)
public void storeUserTombstones(long directoryId,
Collection<String> names)
storeUserTombstones in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic void storeGroupTombstones(long directoryId,
Collection<String> names)
storeGroupTombstones in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic void storeUserMembershipTombstone(long directoryId,
String username,
String parentGroupName)
storeUserMembershipTombstone in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic void storeGroupMembershipTombstone(long directoryId,
String childGroupName,
String parentGroupName)
storeGroupMembershipTombstone in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic void storeEventsTombstoneForDirectory(String reason, long directoryId)
storeEventsTombstoneForDirectory in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic void storeEventsTombstoneForApplication(long applicationId)
storeEventsTombstoneForApplication in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic void storeEventsTombstone(String reason)
storeEventsTombstone in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic void storeAliasTombstone(long applicationId,
String username)
storeAliasTombstone in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic <T extends com.atlassian.crowd.model.tombstone.AbstractTombstone> List<T> getTombstonesAfter(long after, Collection<Long> directoryIds, Class<T> type)
getTombstonesAfter in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic <T extends com.atlassian.crowd.model.tombstone.ApplicationTombstone> List<T> getTombstonesAfter(long after, Long applicationId, Class<T> type)
getTombstonesAfter in interface com.atlassian.crowd.dao.tombstone.TombstoneDaopublic int removeAllUpTo(long timestamp)
removeAllUpTo in interface com.atlassian.crowd.dao.tombstone.TombstoneDaoCopyright © 2003–2022 Atlassian. All rights reserved.