public class SchedulerStatusCrudService extends it.netgrid.commons.ormlite.TemplateCrudService<SchedulerStatus,Long>
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_REQUEST |
| Constructor and Description |
|---|
SchedulerStatusCrudService(com.j256.ormlite.support.ConnectionSource connection,
com.j256.ormlite.dao.Dao<SchedulerStatus,Long> schedulerStatusDao,
it.netgrid.commons.data.CrudService<TaskStatus,Long> taskStatusService) |
| Modifier and Type | Method and Description |
|---|---|
int |
createRaw(SchedulerStatus scheduler) |
int |
deleteRaw(SchedulerStatus scheduler) |
SchedulerStatus |
read(Long key) |
int |
updateRaw(SchedulerStatus scheduler) |
public static final String INVALID_REQUEST
@Inject
public SchedulerStatusCrudService(com.j256.ormlite.support.ConnectionSource connection,
com.j256.ormlite.dao.Dao<SchedulerStatus,Long> schedulerStatusDao,
it.netgrid.commons.data.CrudService<TaskStatus,Long> taskStatusService)
public int createRaw(SchedulerStatus scheduler) throws SQLException, IllegalArgumentException
SQLExceptionIllegalArgumentExceptionpublic int deleteRaw(SchedulerStatus scheduler) throws SQLException, IllegalArgumentException
SQLExceptionIllegalArgumentExceptionpublic int updateRaw(SchedulerStatus scheduler) throws SQLException, IllegalArgumentException
SQLExceptionIllegalArgumentExceptionpublic SchedulerStatus read(Long key) throws SQLException
read in interface it.netgrid.commons.data.CrudService<SchedulerStatus,Long>read in class it.netgrid.commons.ormlite.TemplateCrudService<SchedulerStatus,Long>SQLExceptionCopyright © 2017 Netgrid. All rights reserved.