public class TaskStatusCrudService extends it.netgrid.commons.ormlite.TemplateCrudService<TaskStatus,Long>
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_CANONICAL_NAME |
static String |
INVALID_NAME |
static String |
INVALID_SCHEDULER |
static String |
INVALID_SCHEDULER_JOB_DETAILS |
static String |
INVALID_SCHEDULER_TRIGGER |
| Constructor and Description |
|---|
TaskStatusCrudService(com.j256.ormlite.support.ConnectionSource connection,
SchedulerUtils schedulerUtils,
Configuration config,
org.quartz.Scheduler scheduler,
com.cronutils.validator.CronValidator cronValidator,
com.j256.ormlite.dao.Dao<TaskStatus,Long> taskStatusDao,
it.netgrid.commons.data.CrudService<RunStatus,Long> runStatusService,
it.netgrid.commons.data.CrudService<SchedulerStatus,Long> schedulerStatusService) |
| Modifier and Type | Method and Description |
|---|---|
int |
createRaw(TaskStatus task) |
int |
deleteRaw(TaskStatus task) |
Map<String,String> |
getConfigMap(String config) |
String |
getConfigString(Map<String,String> config) |
TaskStatus |
read(Long key) |
int |
updateRaw(TaskStatus task) |
public static final String INVALID_NAME
public static final String INVALID_CANONICAL_NAME
public static final String INVALID_SCHEDULER
public static final String INVALID_SCHEDULER_JOB_DETAILS
public static final String INVALID_SCHEDULER_TRIGGER
@Inject
public TaskStatusCrudService(com.j256.ormlite.support.ConnectionSource connection,
SchedulerUtils schedulerUtils,
Configuration config,
org.quartz.Scheduler scheduler,
com.cronutils.validator.CronValidator cronValidator,
com.j256.ormlite.dao.Dao<TaskStatus,Long> taskStatusDao,
it.netgrid.commons.data.CrudService<RunStatus,Long> runStatusService,
it.netgrid.commons.data.CrudService<SchedulerStatus,Long> schedulerStatusService)
public int createRaw(TaskStatus task) throws SQLException, IllegalArgumentException
SQLExceptionIllegalArgumentExceptionpublic int deleteRaw(TaskStatus task) throws SQLException, IllegalArgumentException
SQLExceptionIllegalArgumentExceptionpublic int updateRaw(TaskStatus task) throws SQLException, IllegalArgumentException
SQLExceptionIllegalArgumentExceptionpublic TaskStatus read(Long key) throws SQLException
read in interface it.netgrid.commons.data.CrudService<TaskStatus,Long>read in class it.netgrid.commons.ormlite.TemplateCrudService<TaskStatus,Long>SQLExceptionCopyright © 2017 Netgrid. All rights reserved.