Interface ChainStageDao

    • Method Detail

      • getChainStagesMarkedForDeletion

        @NotNull
        @NotNull com.google.common.collect.Multimap<PlanKey,​Long> getChainStagesMarkedForDeletion()
        Returns:
        all ChainStages that are marked as deleted
      • getChainStageCount

        long getChainStageCount()
        Returns:
        the total number of ChainStages (Stages) that exist on the bamboo instance
      • getManualChainStageCount

        long getManualChainStageCount()
        Returns:
        the total number of ChainStages (Stages) that exist on the bamboo instance that are marked as manual
      • getMaxStageOid

        @Nullable
        @Nullable BambooEntityOid getMaxStageOid​(int serverKey)
        Returns the max BambooEntityOid that's currently in use of BambooEntityType.STAGE type, with the given server key. Returns null if no OIDs are in use of this type with the given server key.
      • markForDeletion

        void markForDeletion​(@NotNull
                             @NotNull ImmutableChainStage chainStage)
        Marks the stage for deletion in the underlying store.
        Parameters:
        chainStage - the stage to mark for deletion