Interface CrowdDeletedEntityCleanupService
-
- All Known Implementing Classes:
CrowdDeletedEntityCleanupServiceImpl
public interface CrowdDeletedEntityCleanupServiceCleans 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 booleanrunCleanup(@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
-
-