Package org.gbif.api.service.registry
Interface DatasetProcessStatusService
-
public interface DatasetProcessStatusService
Interface to access and persist information about dataset processing statuses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createDatasetProcessStatus(@NotNull @Valid DatasetProcessStatus datasetProcessStatus)
Persists theDatasetProcessStatus
object.DatasetProcessStatus
getDatasetProcessStatus(@NotNull UUID datasetKey, int attempt)
Retrieves aDatasetProcessStatus
by its datasetKey and attempt.PagingResponse<DatasetProcessStatus>
listAbortedDatasetProcesses(Pageable page)
Retrieves a pageable result of all dataset processing statuses that have been aborted in their latest crawlPagingResponse<DatasetProcessStatus>
listDatasetProcessStatus(@NotNull UUID datasetKey, Pageable page)
Lists theDatasetProcessStatus
of a dataset.PagingResponse<DatasetProcessStatus>
listDatasetProcessStatus(Pageable page)
Retrieves a pageable result of all the dataset processing statuses.void
updateDatasetProcessStatus(@NotNull @Valid DatasetProcessStatus datasetProcessStatus)
Persists theDatasetProcessStatus
object which must exist.
-
-
-
Method Detail
-
createDatasetProcessStatus
void createDatasetProcessStatus(@NotNull @Valid @NotNull @Valid DatasetProcessStatus datasetProcessStatus)
Persists theDatasetProcessStatus
object.
-
updateDatasetProcessStatus
void updateDatasetProcessStatus(@NotNull @Valid @NotNull @Valid DatasetProcessStatus datasetProcessStatus)
Persists theDatasetProcessStatus
object which must exist.
-
getDatasetProcessStatus
DatasetProcessStatus getDatasetProcessStatus(@NotNull @NotNull UUID datasetKey, int attempt)
Retrieves aDatasetProcessStatus
by its datasetKey and attempt.
-
listDatasetProcessStatus
PagingResponse<DatasetProcessStatus> listDatasetProcessStatus(@Nullable Pageable page)
Retrieves a pageable result of all the dataset processing statuses.
-
listDatasetProcessStatus
PagingResponse<DatasetProcessStatus> listDatasetProcessStatus(@NotNull @NotNull UUID datasetKey, @Nullable Pageable page)
Lists theDatasetProcessStatus
of a dataset. The result is sorted by the descending started crawling date (i.e. the last crawl comes first).
-
listAbortedDatasetProcesses
PagingResponse<DatasetProcessStatus> listAbortedDatasetProcesses(@Nullable Pageable page)
Retrieves a pageable result of all dataset processing statuses that have been aborted in their latest crawl
-
-