DeleteResult

Inheritance: java.lang.Object

public class DeleteResult

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

Learn more

Methods

Method Description
getItemResults() Returns the results of deleting each path.
getTotalCount() Returns the total number of paths to delete.
getSuccessCount() Returns the number of successfully deleted paths.
getFailedCount() Returns the number of paths not deleted due to errors.
getErrors() Returns descriptions of deletion errors.

getItemResults()

public final PathDeleteResult[] getItemResults()

Returns the results of deleting each path.

Returns: com.groupdocs.search.results.PathDeleteResult[] - The results of deleting each path.

getTotalCount()

public final int getTotalCount()

Returns the total number of paths to delete.

Returns: int - The total number of paths to delete.

getSuccessCount()

public final int getSuccessCount()

Returns the number of successfully deleted paths.

Returns: int - The number of successfully deleted paths.

getFailedCount()

public final int getFailedCount()

Returns the number of paths not deleted due to errors.

Returns: int - The number of paths not deleted due to errors.

getErrors()

public final String[] getErrors()

Returns descriptions of deletion errors.

Returns: java.lang.String[] - Descriptions of deletion errors.