public class VcsBranchHibernateDao extends BambooHibernateObjectDao<BambooVcsBranch> implements VcsBranchDao
| Constructor and Description |
|---|
VcsBranchHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAll(ImmutableChain chain) |
List<BambooVcsBranch> |
findByChain(@NotNull ImmutableChain chain) |
@Nullable BambooVcsBranch |
findByChainAndName(long chainId,
@NotNull String branchName) |
List<BambooVcsBranch> |
findByChainId(long chainId)
Note: the returned VCS branches will not have a chain associated with them.
|
List<BambooVcsBranch> |
findNotDeletedByChain(@NotNull ImmutableChain chain)
Given a chain, this will return a list of
BambooVcsBranch of which Bamboo hasn't detected yet
that they were deleted in the repository. |
@NotNull List<BambooVcsBranch> |
findWithDetectedDeletionDate()
Retrieve a list of
BambooVcsBranch for which a deletion has been detected. |
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, saveAllpublic List<BambooVcsBranch> findByChain(@NotNull @NotNull ImmutableChain chain)
findByChain in interface VcsBranchDaopublic List<BambooVcsBranch> findByChainId(long chainId)
VcsBranchDaofindByChainId in interface VcsBranchDao@Nullable public @Nullable BambooVcsBranch findByChainAndName(long chainId, @NotNull @NotNull String branchName)
findByChainAndName in interface VcsBranchDao@NotNull public @NotNull List<BambooVcsBranch> findWithDetectedDeletionDate()
VcsBranchDaoBambooVcsBranch for which a deletion has been detected.findWithDetectedDeletionDate in interface VcsBranchDaoBambooVcsBranch for which a deletion has been detectedpublic List<BambooVcsBranch> findNotDeletedByChain(@NotNull @NotNull ImmutableChain chain)
VcsBranchDaoBambooVcsBranch of which Bamboo hasn't detected yet
that they were deleted in the repository.findNotDeletedByChain in interface VcsBranchDaochain - the chain for which we want to find VCS branches.BambooVcsBranch which still exists in the repository according to Bamboopublic void deleteAll(ImmutableChain chain)
deleteAll in interface VcsBranchDaoCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.