public class JobManager extends SubmittedManager
| Modifier and Type | Field and Description |
|---|---|
static String |
selectedSpecies |
static String |
selectedSpeciesIsCustomized |
static String |
selectedSpeciesJobId |
static String |
selectedSpeciesSpeciesID |
static String |
selectedSpeciesStatus |
protected static String |
tableField |
protected static String |
tableTypeField |
static String |
tempFolders |
static String |
tempFoldersFolderName |
static String |
tempFoldersJobId |
static String |
toDropTables |
static String |
toDropTablesJobId |
static String |
toDropTablesTableName |
protected static String |
workingTables |
submittedTable| Constructor and Description |
|---|
JobManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addToDeleteTempFolder(int jobId,
String folderName) |
static void |
addToDropTableList(int jobId,
String tableName) |
static void |
cleanTemp(int jobId) |
static List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Submitted> |
getObjects(int jobId) |
static String[] |
getSpeciesByStatus(int jobId,
SpeciesStatus status) |
static String |
getWorkingHCAF(int submittedId) |
static String |
getWorkingHSPEC(int submittedId) |
static String |
getWorkingHSPEN(int submittedId) |
protected static String |
getWorkingTable(int submittedId,
String tableType) |
static org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Job |
insertNewJob(org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Job toPerform)
Creates a new entry in Job table and AquaMap table (for every aquamap object in job)
|
static boolean |
isJobComplete(int jobId) |
static boolean |
isSpeciesListReady(int jobId,
Set<String> toCheck) |
static boolean |
isSpeciesSetCustomized(int submittedId,
Set<String> ids) |
static void |
setWorkingHCAF(int submittedId,
String tableName) |
static void |
setWorkingHSPEC(int submittedId,
String tableName) |
static void |
setWorkingHSPEN(int submittedId,
String tableName) |
protected static void |
setWorkingTable(int submittedId,
String tableType,
String tableName) |
static void |
updateSpeciesStatus(int jobId,
String[] speciesId,
SpeciesStatus status) |
delete, deleteFromTables, getAuthor, getCount, getField, getGisId, getHCAFTableId, getHSPECTableId, getHSPENTableId, getJsonList, getList, getList, getStatus, getSubmittedById, insertInTable, isAquaMap, isGIS, markSaved, setGisPublishedId, setSerializedPath, setStartTime, update, updateField, updateGISData, updateStatuspublic static final String toDropTables
public static final String toDropTablesJobId
public static final String toDropTablesTableName
public static final String tempFolders
public static final String tempFoldersJobId
public static final String tempFoldersFolderName
public static final String selectedSpecies
public static final String selectedSpeciesStatus
public static final String selectedSpeciesJobId
public static final String selectedSpeciesSpeciesID
public static final String selectedSpeciesIsCustomized
protected static final String workingTables
protected static final String tableField
protected static final String tableTypeField
protected static void setWorkingTable(int submittedId,
String tableType,
String tableName)
throws Exception
Exceptionprotected static String getWorkingTable(int submittedId, String tableType) throws Exception
Exceptionpublic static void setWorkingHCAF(int submittedId,
String tableName)
throws Exception
Exceptionpublic static void setWorkingHSPEN(int submittedId,
String tableName)
throws Exception
Exceptionpublic static void setWorkingHSPEC(int submittedId,
String tableName)
throws Exception
Exceptionpublic static String getWorkingHCAF(int submittedId) throws Exception
Exceptionpublic static String getWorkingHSPEN(int submittedId) throws Exception
Exceptionpublic static String getWorkingHSPEC(int submittedId) throws Exception
Exceptionpublic static void addToDropTableList(int jobId,
String tableName)
throws Exception
Exceptionpublic static void addToDeleteTempFolder(int jobId,
String folderName)
throws Exception
Exceptionpublic static void updateSpeciesStatus(int jobId,
String[] speciesId,
SpeciesStatus status)
throws Exception
Exceptionpublic static String[] getSpeciesByStatus(int jobId, SpeciesStatus status) throws Exception
Exceptionpublic static boolean isSpeciesListReady(int jobId,
Set<String> toCheck)
throws Exception
Exceptionpublic static boolean isSpeciesSetCustomized(int submittedId,
Set<String> ids)
throws Exception
Exceptionpublic static org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Job insertNewJob(org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Job toPerform)
throws Exception
ExceptionCopyright © 2016. All Rights Reserved.