-
Method Summary
Finds all permission request that are older than the stalenessDuration and have either the status VALIDATED or SENT_TO_PERMISSION_ADMINISTRATOR.
-
Method Details
-
findStalePermissionRequests
Collection<T> findStalePermissionRequests(int stalenessDuration)
Finds all permission request that are older than the stalenessDuration and have either the status VALIDATED or SENT_TO_PERMISSION_ADMINISTRATOR.
- Parameters:
stalenessDuration - the max amount of hours the permission request has to be created ago to not be considered stale.
- Returns:
- all permission request created now -
stalenessDuration hours ago, with above specified status.