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 Type
    Method
    Description
    boolean
    runCleanup(@NotNull Date timeoutThreshold, int batchSize)
    Run the cleanup of Crowd deleted entities.
  • Method Details

    • 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