com.groupdocs.search.results

Class DeleteResult



  • public class DeleteResult
    extends Object

    Represents the result of the operation to delete indexed files or folders from an index.

    • Constructor Detail

      • DeleteResult

        protected DeleteResult(PathDeleteResult[] itemResults,
                    int totalCount,
                    int failedCount,
                    String[] errors)

        Initializes a new instance of the DeleteResult class.

        Parameters:
        itemResults - The results of deleting each path.
        totalCount - The total number of paths to delete.
        failedCount - The number of paths not deleted due to errors.
        errors - The descriptions of deletion errors.
    • Method Detail

      • getItemResults

        public final PathDeleteResult[] getItemResults()

        Returns the results of deleting each path.

        Returns:
        The results of deleting each path.
      • getTotalCount

        public final int getTotalCount()

        Returns the total number of paths to delete.

        Returns:
        The total number of paths to delete.
      • getSuccessCount

        public final int getSuccessCount()

        Returns the number of successfully deleted paths.

        Returns:
        The number of successfully deleted paths.
      • getFailedCount

        public final int getFailedCount()

        Returns the number of paths not deleted due to errors.

        Returns:
        The number of paths not deleted due to errors.
      • getErrors

        public final String[] getErrors()

        Returns descriptions of deletion errors.

        Returns:
        Descriptions of deletion errors.