public interface ErrorDefinitionDAO
Modifier and Type | Method and Description |
---|---|
Long |
delete(List<Long> errorDefinitionIds)
Delete all definitions stored under given ids
|
ErrorDefinition |
find(Long errorDefinitionId)
Get definition by ID
|
List<Long> |
getAll()
Get all error definitions
|
List<Long> |
getDistinct()
Get distinct ids that are currently used by the error metadata table
|
Long |
getIdByData(ErrorDefinition errorDefinition)
Get DB id by data
|
Long |
save(ErrorDefinition errorDefinition)
Persist a new error definition
|
Long getIdByData(ErrorDefinition errorDefinition)
errorDefinition
- wanted definitionLong save(ErrorDefinition errorDefinition)
errorDefinition
- definition to be insertedErrorDefinition find(Long errorDefinitionId)
errorDefinitionId
- DB IDList<Long> getDistinct()
Copyright © 2020. All rights reserved.