public class ChainStageHibernateDao extends BambooHibernateObjectDao<ChainStage> implements ChainStageDao
| Constructor and Description |
|---|
ChainStageHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
long |
getChainStageCount() |
@NotNull com.google.common.collect.Multimap<PlanKey,Long> |
getChainStagesMarkedForDeletion() |
long |
getManualChainStageCount() |
@Nullable BambooEntityOid |
getMaxStageOid(int serverKey)
Returns the max
BambooEntityOid that's currently in use of BambooEntityType.STAGE type, with the
given server key. |
void |
markForDeletion(@NotNull ImmutableChainStage chainStage)
Marks the stage for deletion in the underlying store.
|
convertSearchTermToLikeExpression, countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAllgetCacheAwareHibernateTemplatecheckDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll@NotNull public @NotNull com.google.common.collect.Multimap<PlanKey,Long> getChainStagesMarkedForDeletion()
getChainStagesMarkedForDeletion in interface ChainStageDaoChainStages that are marked as deletedpublic long getChainStageCount()
getChainStageCount in interface ChainStageDaopublic long getManualChainStageCount()
getManualChainStageCount in interface ChainStageDao@Nullable public @Nullable BambooEntityOid getMaxStageOid(int serverKey)
ChainStageDaoBambooEntityOid 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.getMaxStageOid in interface ChainStageDaopublic void markForDeletion(@NotNull
@NotNull ImmutableChainStage chainStage)
ChainStageDaomarkForDeletion in interface ChainStageDaoCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.