Package com.atlassian.bamboo.specs
Class BambooSpecsSourceDaoImpl
- java.lang.Object
-
- com.atlassian.bamboo.specs.BambooSpecsSourceDaoImpl
-
- All Implemented Interfaces:
BambooSpecsSourceDao
public class BambooSpecsSourceDaoImpl extends Object implements BambooSpecsSourceDao
-
-
Constructor Summary
Constructors Constructor Description BambooSpecsSourceDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detachPlanFromRss(long planId)
Optional<VcsBambooSpecsSource>
findBambooSpecsSourceForPlan(long planId)
Optional<VcsBambooSpecsSource>
findById(long specsSourceId)
Map<Long,VcsBambooSpecsSource>
findSpecsSourcesForAllPlans()
void
saveOrUpdate(VcsBambooSpecsSource vcsBambooSpecsSource)
void
scrollPlanVcsBambooSpecsSourceForExport(Consumer<PlanVcsBambooSpecsSourceDto> consumer)
void
scrollVcsBambooSpecsSourceForExport(Consumer<VcsBambooSpecsSource> consumer)
void
updateBambooSpecsSourceForPlan(@NotNull Chain plan, @NotNull VcsBambooSpecsSource vcsBambooSpecsSource)
-
-
-
Method Detail
-
saveOrUpdate
public void saveOrUpdate(VcsBambooSpecsSource vcsBambooSpecsSource)
- Specified by:
saveOrUpdate
in interfaceBambooSpecsSourceDao
-
findById
public Optional<VcsBambooSpecsSource> findById(long specsSourceId)
- Specified by:
findById
in interfaceBambooSpecsSourceDao
-
scrollVcsBambooSpecsSourceForExport
public void scrollVcsBambooSpecsSourceForExport(Consumer<VcsBambooSpecsSource> consumer)
- Specified by:
scrollVcsBambooSpecsSourceForExport
in interfaceBambooSpecsSourceDao
-
scrollPlanVcsBambooSpecsSourceForExport
public void scrollPlanVcsBambooSpecsSourceForExport(Consumer<PlanVcsBambooSpecsSourceDto> consumer)
- Specified by:
scrollPlanVcsBambooSpecsSourceForExport
in interfaceBambooSpecsSourceDao
-
findBambooSpecsSourceForPlan
public Optional<VcsBambooSpecsSource> findBambooSpecsSourceForPlan(long planId)
- Specified by:
findBambooSpecsSourceForPlan
in interfaceBambooSpecsSourceDao
-
findSpecsSourcesForAllPlans
public Map<Long,VcsBambooSpecsSource> findSpecsSourcesForAllPlans()
- Specified by:
findSpecsSourcesForAllPlans
in interfaceBambooSpecsSourceDao
-
detachPlanFromRss
public void detachPlanFromRss(long planId)
- Specified by:
detachPlanFromRss
in interfaceBambooSpecsSourceDao
-
updateBambooSpecsSourceForPlan
public void updateBambooSpecsSourceForPlan(@NotNull @NotNull Chain plan, @NotNull @NotNull VcsBambooSpecsSource vcsBambooSpecsSource)
- Specified by:
updateBambooSpecsSourceForPlan
in interfaceBambooSpecsSourceDao
-
-