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 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 date
        batchSize - maximum number of entities to process
        Returns:
        true if any entity got processed and next batch can be cleaned up, false otherwise