| Modifier and Type | Method and Description |
|---|---|
static OccurrenceJobPersistence |
SessionUtil.getCurrentDaoOccurrencesJob(org.gcube.application.framework.core.session.ASLSession session) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SessionUtil.setCurrentEJBOccurrencesJob(org.gcube.application.framework.core.session.ASLSession session,
OccurrenceJobPersistence occurrenceJobPersistence) |
| Modifier and Type | Method and Description |
|---|---|
static int |
OccurrenceJobUtil.changeStatusOccurrenceJobById(String jobIdentifier,
DownloadState state,
OccurrenceJobPersistence occurrencesJobDao)
Change status occurrence job by id.
|
static JobOccurrencesModel |
OccurrenceJobUtil.convertJob(OccurrencesJob job,
org.gcube.data.spd.model.service.types.CompleteJobStatus statusResponse,
OccurrenceJobPersistence occurrencesJobDao)
Convert job.
|
static JobOccurrencesModel |
OccurrenceJobUtil.createOccurrenceJobOnServiceByKeys(JobOccurrencesModel jobModel,
SpeciesService taxonomyService,
OccurrenceJobPersistence occurrencesJobDao,
List<String> keys,
List<DataSource> dataSources,
SaveFileFormat saveFileFormat,
OccurrencesSaveEnum csvType,
int expectedOccurrence)
Creates the occurrence job on service by keys.
|
static int |
OccurrenceJobUtil.deleteOccurrenceJobById(String jobIdentifier,
OccurrenceJobPersistence occurrencesJobDao)
Delete occurrence job by id.
|
| Modifier and Type | Method and Description |
|---|---|
static OccurrenceJobPersistence |
DaoSession.createOccurrencesJobDao(String username,
String scope,
org.gcube.application.framework.core.session.ASLSession session)
Creates the occurrences job dao.
|
static OccurrenceJobPersistence |
DaoSession.getOccurrencesJobDAO(org.gcube.application.framework.core.session.ASLSession session)
Gets the occurrences job dao.
|
static OccurrenceJobPersistence |
DaoSession.initOccurrencesJobsDao(org.gcube.application.framework.core.session.ASLSession session)
Inits the occurrences jobs dao.
|
Copyright © 2021. All Rights Reserved.