Interface TaskMissingDataManager


  • @Role
    public interface TaskMissingDataManager
    Handles operations on task macros that have missing data.
    Since:
    3.3
    Version:
    $Id$
    • Method Detail

      • inferMissingTaskData

        void inferMissingTaskData()
                           throws TaskException
        Some task macros, such as the ones resulted from a migration, can have some data missing. This method tries to infer the missing data from the history of the page.
        Throws:
        TaskException - if the query to retrieve the pages has failed.
      • inferMissingTaskData

        void inferMissingTaskData​(org.xwiki.model.reference.DocumentReference documentReference)
                           throws TaskException
        Similar to inferMissingTaskData() only that the process is run on a given document reference.
        Parameters:
        documentReference - the reference of the document that will be analyzed
        Throws:
        TaskException - if the retrieval of the document has failed.
      • getMissingDataTaskOwners

        List<org.xwiki.model.reference.DocumentReference> getMissingDataTaskOwners()
                                                                            throws TaskException
        Returns:
        a list of pages that contain task macros with missing data.
        Throws:
        TaskException