com.atlassian.bamboo.plan.branch
Class VcsBranchManagerImpl

java.lang.Object
  extended by com.atlassian.bamboo.plan.branch.VcsBranchManagerImpl
All Implemented Interfaces:
VcsBranchManager

public class VcsBranchManagerImpl
extends java.lang.Object
implements VcsBranchManager


Constructor Summary
VcsBranchManagerImpl(VcsBranchDao vcsBranchDao)
           
 
Method Summary
 void deleteAll(Chain chain)
          Cannot pass ImmutableChain here because DAO associates chain argument with objects fetched from Hibernate, therefore chain argument has to be a Hibernate entity itself.
 java.util.List<BambooVcsBranch> findByChain(Chain chain)
          Cannot pass ImmutableChain here because DAO associates chain argument with objects fetched from Hibernate, therefore chain argument has to be a Hibernate entity itself.
 void save(BambooVcsBranch branch)
           
 void saveAll(java.lang.Iterable<BambooVcsBranch> requestedBranchesToSave)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VcsBranchManagerImpl

public VcsBranchManagerImpl(@NotNull
                            VcsBranchDao vcsBranchDao)
Method Detail

findByChain

public java.util.List<BambooVcsBranch> findByChain(@NotNull
                                                   Chain chain)
Cannot pass ImmutableChain here because DAO associates chain argument with objects fetched from Hibernate, therefore chain argument has to be a Hibernate entity itself.

Specified by:
findByChain in interface VcsBranchManager
Parameters:
chain -
Returns:

save

public void save(@NotNull
                 BambooVcsBranch branch)
Specified by:
save in interface VcsBranchManager

deleteAll

public void deleteAll(@NotNull
                      Chain chain)
Cannot pass ImmutableChain here because DAO associates chain argument with objects fetched from Hibernate, therefore chain argument has to be a Hibernate entity itself.

Specified by:
deleteAll in interface VcsBranchManager
Parameters:
chain -

saveAll

public void saveAll(@NotNull
                    java.lang.Iterable<BambooVcsBranch> requestedBranchesToSave)
Specified by:
saveAll in interface VcsBranchManager


Copyright © 2012 Atlassian. All Rights Reserved.