public class RdbmsTaskDefinitionRepository extends AbstractRdbmsKeyValueRepository<TaskDefinition> implements TaskDefinitionRepository
TaskDefinitionRepository.dataSource, deleteFromTableByKey, inClauseByKey, jdbcTemplate, keyColumn, LIST_OF_NAMES, namedParameterJdbcTemplate, orderMap, rowMapper, saveRow, selectClause, tableName, tablePrefix, tableSuffix, valueColumn, whereClauseByKey| Constructor and Description |
|---|
RdbmsTaskDefinitionRepository(DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(TaskDefinition definition) |
TaskDefinition |
findByNameRequired(String name)
Performs a findByName query and throws an exception if the name is not found.
|
<S extends TaskDefinition> |
save(S definition) |
count, delete, delete, deleteAll, exists, findAll, findAll, findAll, findAll, findByNameLike, findOne, saveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindByNameLikepublic RdbmsTaskDefinitionRepository(DataSource dataSource)
public <S extends TaskDefinition> S save(S definition)
save in interface org.springframework.data.repository.CrudRepository<TaskDefinition,String>public void delete(TaskDefinition definition)
delete in interface org.springframework.data.repository.CrudRepository<TaskDefinition,String>public TaskDefinition findByNameRequired(String name)
TaskDefinitionRepositoryfindByNameRequired in interface TaskDefinitionRepositoryname - the name of the task definitionNoSuchTaskDefinitionException if not found.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.