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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
runCleanup(@NotNull Date timeoutThreshold, int batchSize)
Run the cleanup of Crowd deleted entities.
-
-
-
Method Detail
-
runCleanup
boolean runCleanup(@NotNull @NotNull Date timeoutThreshold, int batchSize)
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
-
-