Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39573

Add parameter to getDeletedResources to specify age

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.4
    • Fix Version/s: None
    • Component/s: Kernel
    • Labels:
    • Previous Issue Keys:
      KNL-1353

      Description

      As mentioned on SAK-27732, it would be useful to be able to getAllDeletedResources (and getDeletedResources) older than a specific date to improve the performance of the cleanup job. There is already a column in the database for it, so I propose a new api method

      public List getAllDeletedResources(String id, Time olderThan);

      Which would query into getDeletedResources and get all deleted resources older than a specific date that should make these queries much more efficient. Default would just return all.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Git Source Code