Package | Description |
---|---|
org.gbif.api.model.occurrence | |
org.gbif.api.service.registry |
Modifier and Type | Field and Description |
---|---|
static EnumSet<Download.Status> |
Download.Status.EXECUTING_STATUSES
Statuses that represent a download that that hasn't finished.
|
static EnumSet<Download.Status> |
Download.Status.FINISH_STATUSES
Statuses that represent a download that that has finished.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Download.Status |
Download.getStatus() |
static Download.Status |
Download.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Download.Status[] |
Download.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Download.setStatus(Download.Status status) |
Modifier and Type | Method and Description |
---|---|
long |
OccurrenceDownloadService.count(Set<Download.Status> status,
String source)
Counts downloads based on the given parameters.
|
long |
OccurrenceDownloadService.countByUser(@NotNull String user,
Set<Download.Status> status,
LocalDateTime from)
Counts the downloads created by a user.
|
PagingResponse<Download> |
OccurrenceDownloadService.list(Pageable page,
Set<Download.Status> status,
String source)
Retrieves a pageable result of all the downloads, optionally the downloads can be filtered by
status and source.
|
PagingResponse<Download> |
OccurrenceDownloadService.listByUser(@NotNull String user,
Pageable page,
Set<Download.Status> status,
LocalDateTime from,
Boolean statistics)
Retrieves a pageable result of the downloads created by a user in a given status.
|
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.