Interface CrowdDeletedEntityCleanupService
- All Known Implementing Classes:
CrowdDeletedEntityCleanupServiceImpl
public interface CrowdDeletedEntityCleanupService
Cleans up after entities deleted from Embedded Crowd. Removes i.a. permissions of users and groups which no longer
exist in the EC directory.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
runCleanup
(@NotNull Date timeoutThreshold, int batchSize) Run the cleanup of Crowd deleted entities.
-
Method Details
-
runCleanup
Run the cleanup of Crowd deleted entities.- Parameters:
timeoutThreshold
- cleanup after entities deleted before this datebatchSize
- maximum number of entities to process- Returns:
- true if any entity got processed and next batch can be cleaned up, false otherwise
-