Package com.atlassian.bamboo.chains
Interface ChainStageDao
- All Superinterfaces:
BambooObjectDao<ChainStage>
- All Known Implementing Classes:
ChainStageHibernateDao
-
Method Summary
Modifier and TypeMethodDescriptionlonglong@Nullable BambooEntityOidgetMaxStageOid(int serverKey) Returns the maxBambooEntityOidthat's currently in use ofBambooEntityType.STAGEtype, with the given server key.voidmarkForDeletion(@NotNull ImmutableChainStage chainStage) Marks the stage for deletion in the underlying store.Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Method Details
-
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
Returns the maxBambooEntityOidthat's currently in use ofBambooEntityType.STAGEtype, with the given server key. Returns null if no OIDs are in use of this type with the given server key. -
markForDeletion
Marks the stage for deletion in the underlying store.- Parameters:
chainStage- the stage to mark for deletion
-