Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atlassian.bamboo.author
Interface AuthorDao

All Superinterfaces:
  BambooObjectDao

All Known Implementing Classes:
  AuthorHibernateDao

    public interface AuthorDao

extends BambooObjectDao

Method Summary
`Set` | `getAllUnlinkedAuthors()`
`ExtendedAuthor` | `getAuthorByName(String name)`
`Set` | `getAuthorsInBuild(long buildId)`
`List` | `getBuildResultsBrokenByAuthor(ExtendedAuthor author)`
`List` | `getBuildResultsFailedByAuthor(ExtendedAuthor author)`
`List` | `getBuildResultsFixedByAuthor(ExtendedAuthor author)`
`List` | `getBuildResultsSuccessfulByAuthor(ExtendedAuthor author)`
`List` | `getBuildResultsTriggeredByAuthor(ExtendedAuthor author)`
`List` | `getLinkedAuthorsForUser(User user)`

Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
`findById`

Method Detail

### getAuthorsInBuild

    Set getAuthorsInBuild(long buildId)

  Parameters:
    `buildId` -
  Returns:
    a `Set` of `Author` objects given build key.

### getAuthorByName

    ExtendedAuthor getAuthorByName(String name)

  Parameters:
    `name` -
  Returns:
    a `ExtendedAuthor` object given an author name

### getBuildResultsTriggeredByAuthor

    List getBuildResultsTriggeredByAuthor(ExtendedAuthor author)

  Parameters:
    `author` -
  Returns:
    `List` of `BuildResultsSummary` triggered by author

### getBuildResultsFailedByAuthor

    List getBuildResultsFailedByAuthor(ExtendedAuthor author)

  Parameters:
    `author` -
  Returns:
    `List` of `BuildResultsSummary` triggered by author and failed

### getBuildResultsSuccessfulByAuthor

    List getBuildResultsSuccessfulByAuthor(ExtendedAuthor author)

  Parameters:
    `author` -
  Returns:
    `List` of `BuildResultsSummary` triggered by author and succesful

### getBuildResultsBrokenByAuthor

    List getBuildResultsBrokenByAuthor(ExtendedAuthor author)

  Parameters:
    `author` -
  Returns:
    `List` of `BuildResultsSummary` broken by author

### getBuildResultsFixedByAuthor

    List getBuildResultsFixedByAuthor(ExtendedAuthor author)

  Parameters:
    `author` -
  Returns:
    `List` of `BuildResultsSummary` fixed by author

### getAllUnlinkedAuthors

    Set getAllUnlinkedAuthors()

  Returns:
    `Set` of `ExtendedAuthor` which are not yet linked to any user.

### getLinkedAuthorsForUser

    List getLinkedAuthorsForUser(User user)

  Parameters:
    `user` -
  Returns:
    `List` of `ExtendedAuthor` which are linked to a given user.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.