com.atlassian.bamboo.author
Interface AuthorDao
- All Superinterfaces:
- BambooObjectDao, bucket.core.persistence.ObjectDao
- All Known Implementing Classes:
- AuthorHibernateDao
public interface AuthorDao
- extends BambooObjectDao
Methods inherited from interface bucket.core.persistence.ObjectDao |
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw |
getAuthorByName
ExtendedAuthor getAuthorByName(java.lang.String name)
- Parameters:
name
-
- Returns:
- a
ExtendedAuthor
object given an author name
getBuildResultsTriggeredByAuthor
@Deprecated
java.util.List getBuildResultsTriggeredByAuthor(ExtendedAuthor author)
- Deprecated. use the version with limited result count instead
- Parameters:
author
-
- Returns:
List
of BuildResultsSummary
triggered by author
getBuildResultsTriggeredByAuthor
@NotNull
java.util.List<BuildResultsSummary> getBuildResultsTriggeredByAuthor(ExtendedAuthor author,
int maxResultCount)
- Parameters:
author
- maxResultCount
-
- Returns:
List
of BuildResultsSummary
triggered by author
getBuildResultsFailedByAuthor
@NotNull
java.util.List<BuildResultsSummary> getBuildResultsFailedByAuthor(ExtendedAuthor author,
int maxResultCount)
- Parameters:
author
- maxResultCount
-
- Returns:
List
of BuildResultsSummary
triggered by author and failed
getBuildResultsFailedByAuthor
@Deprecated
java.util.List getBuildResultsFailedByAuthor(ExtendedAuthor author)
- Deprecated. use the version with limited result count instead
- Parameters:
author
-
- Returns:
List
of BuildResultsSummary
triggered by author and failed
getBuildResultsSuccessfulByAuthor
@NotNull
java.util.List<BuildResultsSummary> getBuildResultsSuccessfulByAuthor(ExtendedAuthor author,
int maxResultCount)
- Parameters:
author
- maxResultCount
-
- Returns:
List
of BuildResultsSummary
triggered by author and succesful
getBuildResultsSuccessfulByAuthor
@Deprecated
java.util.List getBuildResultsSuccessfulByAuthor(ExtendedAuthor author)
- Deprecated. use the version with limited result count instead
- Parameters:
author
-
- Returns:
List
of BuildResultsSummary
triggered by author and succesful
getBuildResultsBrokenByAuthor
@Deprecated
java.util.List getBuildResultsBrokenByAuthor(ExtendedAuthor author)
- Deprecated. use the version with limited result count instead
- Parameters:
author
-
- Returns:
List
of BuildResultsSummary
broken by author
getBuildResultsBrokenByAuthor
@NotNull
java.util.List<BuildResultsSummary> getBuildResultsBrokenByAuthor(ExtendedAuthor author,
int maxResultCount)
- Parameters:
author
- maxResultCount
-
- Returns:
List
of BuildResultsSummary
broken by author
getBuildResultsFixedByAuthor
@Deprecated
java.util.List getBuildResultsFixedByAuthor(ExtendedAuthor author)
- Deprecated.
- Parameters:
author
-
- Returns:
List
of BuildResultsSummary
fixed by author
getBuildResultsFixedByAuthor
@NotNull
java.util.List<BuildResultsSummary> getBuildResultsFixedByAuthor(ExtendedAuthor author,
int maxResultCount)
- Parameters:
author
- maxResultCount
-
- Returns:
List
of BuildResultsSummary
fixed by author
getNumberOfBuildsTriggeredByAuthor
int getNumberOfBuildsTriggeredByAuthor(ExtendedAuthor author)
- Parameters:
author
-
- Returns:
- int
getNumberOfFailedBuildsByAuthor
int getNumberOfFailedBuildsByAuthor(ExtendedAuthor author)
- Parameters:
author
-
- Returns:
- int
getNumberOfSuccessfulBuildsByAuthor
int getNumberOfSuccessfulBuildsByAuthor(ExtendedAuthor author)
- Parameters:
author
-
- Returns:
- int
getNumberOfBuildFixedByAuthor
int getNumberOfBuildFixedByAuthor(ExtendedAuthor author)
- Parameters:
author
-
- Returns:
- int
getNumberOfBuildBrokenByAuthor
int getNumberOfBuildBrokenByAuthor(ExtendedAuthor author)
- Parameters:
author
-
- Returns:
- int
getAllUnlinkedAuthors
java.util.Set getAllUnlinkedAuthors()
- Returns:
Set
of ExtendedAuthor
which are not yet linked to any user.
getLinkedAuthorsForUser
java.util.List<ExtendedAuthor> getLinkedAuthorsForUser(com.atlassian.user.User user)
- Parameters:
user
-
- Returns:
List
of ExtendedAuthor
which are linked to a given user.
Copyright © 2010 Atlassian. All Rights Reserved.