Package org.qubership.atp.ram.services
Class ManualRootCauseService
java.lang.Object
org.qubership.atp.ram.services.CrudService<ManualRootCause>
org.qubership.atp.ram.services.ManualRootCauseService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByUuid(UUID uuid) findByUuid(UUID uuid) getManualRootCauseByProjectUuid(UUID projectUuid, boolean withRootCauseName) Get all manual root causes with root cause ids or root cause names.protected org.springframework.data.mongodb.repository.MongoRepository<ManualRootCause, UUID> Methods inherited from class org.qubership.atp.ram.services.CrudService
get, getAll, save, saveAll
-
Constructor Details
-
ManualRootCauseService
public ManualRootCauseService()
-
-
Method Details
-
repository
protected org.springframework.data.mongodb.repository.MongoRepository<ManualRootCause,UUID> repository()- Specified by:
repositoryin classCrudService<ManualRootCause>
-
getManualRootCauseByProjectUuid
public List<ManualRootCause> getManualRootCauseByProjectUuid(UUID projectUuid, boolean withRootCauseName) Get all manual root causes with root cause ids or root cause names.- Parameters:
projectUuid- - project idwithRootCauseName- - get names if true- Returns:
- all manual root causes
-
findByUuid
-
deleteByUuid
-
getProjectIdByManualRootCauseId
-