Class AbstractDeletedDocumentsRequest

    • Constructor Detail

      • AbstractDeletedDocumentsRequest

        public AbstractDeletedDocumentsRequest()
        Default constructor.
      • AbstractDeletedDocumentsRequest

        protected AbstractDeletedDocumentsRequest​(org.xwiki.job.Request request)
        Parameters:
        request - the request to copy
        Since:
        14.7RC1, 14.4.4, 13.10.9
    • Method Detail

      • getBatchId

        public String getBatchId()
        Returns:
        the ID of the batch of deleted documents to handle. If setDeletedDocumentIds(List) is also specified, the two will be merged when the operation is executed
      • setBatchId

        public void setBatchId​(String batchId)
        Parameters:
        batchId - the ID of the batch of deleted documents to handle. If setDeletedDocumentIds(List) is also specified, the two will be merged when the operation is executed
      • getDeletedDocumentIds

        public List<Long> getDeletedDocumentIds()
        Returns:
        the list of IDs of the deleted documents to handle. If setBatchId(String) is also specified, the two will be merged when the operation is executed
      • setDeletedDocumentIds

        public void setDeletedDocumentIds​(List<Long> deletedDocumentIds)
        Parameters:
        deletedDocumentIds - the list of IDs of the deleted documents to handle. If setBatchId(String) is also specified, the two will be merged when the operation is executed
      • getWikiReference

        public org.xwiki.model.reference.WikiReference getWikiReference()
        Returns:
        the wiki on which the handle operation is performed
      • setWikiReference

        public void setWikiReference​(org.xwiki.model.reference.WikiReference wikiReference)
        Parameters:
        wikiReference - the wiki on which the handle operation is performed