|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildDao
Method Summary | |
---|---|
java.util.Set<Build> |
filterFavouritedBuilds(java.util.Collection<Build> builds,
com.atlassian.user.User user)
Deprecated. |
java.util.Collection<Build> |
getAllBuilds()
Returns all builds in the system |
Build |
getBuildByKey(java.lang.String key)
Returns a Build object that matches the key. |
Build |
getBuildByName(java.lang.String buildName)
|
Build |
getBuildByProjectAndName(java.lang.String projectKey,
java.lang.String buildName)
|
java.util.Collection<Build> |
getBuildsByProject(Project project)
|
java.util.Collection<Build> |
getBuildsForDeletion()
Returns all builds marked for deletion. |
int |
getPlanCount()
Return number of plans that currently exist in the database |
boolean |
isExistingBuildKey(java.lang.String projectKey,
java.lang.String buildKey)
|
boolean |
isExistingBuildName(java.lang.String projectKey,
java.lang.String buildName)
|
void |
saveBuild(Build build)
|
void |
saveBuildAndDefinition(Build build)
|
void |
updateBuild(Build build)
|
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 |
---|
@Nullable Build getBuildByKey(java.lang.String key)
Build
object that matches the key.
key
- - must not be null
Build
. Null if not founf@NotNull java.util.Collection<Build> getAllBuilds()
Collections.EMPTY_LIST
@NotNull java.util.Collection<Build> getBuildsForDeletion()
Build
. If no results Collections.EMPTY_LIST
void updateBuild(Build build)
Build getBuildByName(java.lang.String buildName)
void saveBuildAndDefinition(Build build)
void saveBuild(Build build)
boolean isExistingBuildName(java.lang.String projectKey, java.lang.String buildName)
@Nullable Build getBuildByProjectAndName(java.lang.String projectKey, java.lang.String buildName)
java.util.Collection<Build> getBuildsByProject(Project project)
boolean isExistingBuildKey(java.lang.String projectKey, java.lang.String buildKey)
int getPlanCount()
@Deprecated java.util.Set<Build> filterFavouritedBuilds(@NotNull java.util.Collection<Build> builds, @NotNull com.atlassian.user.User user)
Build
s that are a subset of the given Build
s collection that are favourited by the User
builds
- user
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |