com.atlassian.bamboo.chains
Interface ChainDao

All Superinterfaces:
BambooObjectDao, bucket.core.persistence.ObjectDao
All Known Implementing Classes:
ChainHibernateDao

public interface ChainDao
extends BambooObjectDao

DAO manager for Chain


Method Summary
 java.util.List<Chain> getAllChains()
          Returns all of the Chain's
 Chain getByChainKey(java.lang.String fullKey)
          Gets a build chain by its key (eg BAM-FOO)
 Chain getByKey(Project project, java.lang.String key)
          Gets a chain by its key (eg, FOO)
 Chain getByName(Project project, java.lang.String name)
          Gets a chain by its name
 
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getAllChains

@NotNull
java.util.List<Chain> getAllChains()
Returns all of the Chain's

Returns:
chains

getByChainKey

@Nullable
Chain getByChainKey(@NotNull
                             java.lang.String fullKey)
Gets a build chain by its key (eg BAM-FOO)

Parameters:
key -
Returns:
chain

getByKey

@Nullable
Chain getByKey(@NotNull
                        Project project,
                        @NotNull
                        java.lang.String key)
Gets a chain by its key (eg, FOO)

Parameters:
project -
key -
Returns:
chain

getByName

@Nullable
Chain getByName(@NotNull
                         Project project,
                         @NotNull
                         java.lang.String name)
Gets a chain by its name

Parameters:
project -
name -
Returns:
chain


Copyright © 2010 Atlassian. All Rights Reserved.