|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.author.HibernateAuthorManagerImpl
public class HibernateAuthorManagerImpl
Constructor Summary | |
---|---|
HibernateAuthorManagerImpl()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HibernateAuthorManagerImpl()
Method Detail |
---|
public void createAndSaveAuthor(java.lang.String authorName)
ExtendedAuthorManager
createAndSaveAuthor
in interface ExtendedAuthorManager
public ExtendedAuthor generateOrRetrieveAuthorFromCommit(Commit commit, java.lang.String authorName)
ExtendedAuthorManager
generateOrRetrieveAuthorFromCommit
in interface ExtendedAuthorManager
ExtendedAuthor
which made the commit.public java.util.Set getAllAuthors()
getAllAuthors
in interface AuthorManager
Set
of all Author
public Author getAuthorByName(java.lang.String name)
getAuthorByName
in interface AuthorManager
Author
with given name.public java.util.Set<ExtendedAuthor> getAllUnlinkedAuthors()
getAllUnlinkedAuthors
in interface ExtendedAuthorManager
Set
of ExtendedAuthor
objects not linked to userspublic ExtendedAuthor getExtendedAuthorByName(java.lang.String name)
getExtendedAuthorByName
in interface ExtendedAuthorManager
ExtendedAuthor
with given name (assuming unique)@Deprecated public java.util.List<ResultsSummary> findBuildResultsTriggeredByAuthor(ExtendedAuthor author)
findBuildResultsTriggeredByAuthor
in interface ExtendedAuthorManager
List
of BuildResultsSummary
triggered by author@NotNull public java.util.List<ResultsSummary> findBuildResultsTriggeredByAuthor(ExtendedAuthor author, int maxResultCount)
findBuildResultsTriggeredByAuthor
in interface ExtendedAuthorManager
maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
triggered by author@Deprecated public java.util.List<ResultsSummary> findBuildResultsFailedByAuthor(ExtendedAuthor author)
findBuildResultsFailedByAuthor
in interface ExtendedAuthorManager
List
of BuildResultsSummary
triggered by author and failed@NotNull public java.util.List<ResultsSummary> findBuildResultsFailedByAuthor(ExtendedAuthor author, int maxResultCount)
findBuildResultsFailedByAuthor
in interface ExtendedAuthorManager
maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
triggered by author and failed@Deprecated public java.util.List<ResultsSummary> findBuildResultsSuccessfulByAuthor(ExtendedAuthor author)
findBuildResultsSuccessfulByAuthor
in interface ExtendedAuthorManager
List
of BuildResultsSummary
triggered by author and successful@NotNull public java.util.List<ResultsSummary> findBuildResultsSuccessfulByAuthor(ExtendedAuthor author, int maxResultCount)
findBuildResultsSuccessfulByAuthor
in interface ExtendedAuthorManager
maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
triggered by author and successful@Deprecated public java.util.List<ResultsSummary> findBuildResultsBrokenByAuthor(ExtendedAuthor author)
findBuildResultsBrokenByAuthor
in interface ExtendedAuthorManager
List
of BuildResultsSummary
broken by author@NotNull public java.util.List<ResultsSummary> findBuildResultsBrokenByAuthor(ExtendedAuthor author, int maxResultCount)
findBuildResultsBrokenByAuthor
in interface ExtendedAuthorManager
maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
broken by author@NotNull public java.util.Collection<ResultsSummary> findLatestBuildBrokenByAuthorInEachPlan(ExtendedAuthor author)
ExtendedAuthorManager
findLatestBuildBrokenByAuthorInEachPlan
in interface ExtendedAuthorManager
List
of BuildResultsSummary
broken by author@Deprecated public java.util.List<ResultsSummary> findBuildResultsFixedByAuthor(ExtendedAuthor author)
findBuildResultsFixedByAuthor
in interface ExtendedAuthorManager
List
of BuildResultsSummary
fixed by author@NotNull public java.util.List<ResultsSummary> findBuildResultsFixedByAuthor(ExtendedAuthor author, int maxResultCount)
findBuildResultsFixedByAuthor
in interface ExtendedAuthorManager
maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
fixed by authorpublic int findNumberOfBuildsTriggeredByAuthor(ExtendedAuthor author)
findNumberOfBuildsTriggeredByAuthor
in interface ExtendedAuthorManager
public int findNumberOfFailedBuildsByAuthor(ExtendedAuthor author)
findNumberOfFailedBuildsByAuthor
in interface ExtendedAuthorManager
public int findNumberOfSuccessfulBuildsByAuthor(ExtendedAuthor author)
findNumberOfSuccessfulBuildsByAuthor
in interface ExtendedAuthorManager
public int findNumberOfBuildFixedByAuthor(ExtendedAuthor author)
findNumberOfBuildFixedByAuthor
in interface ExtendedAuthorManager
public int findNumberOfBuildBrokenByAuthor(ExtendedAuthor author)
findNumberOfBuildBrokenByAuthor
in interface ExtendedAuthorManager
public ExtendedAuthor getAuthorById(long id)
getAuthorById
in interface ExtendedAuthorManager
Author
given idpublic java.util.List<ExtendedAuthor> getLinkedAuthorForUser(com.atlassian.user.User user)
getLinkedAuthorForUser
in interface ExtendedAuthorManager
List
of ExtendedAuthor
linked to the user.public void removeAuthor(ExtendedAuthor extendedAuthor)
ExtendedAuthorManager
removeAuthor
in interface ExtendedAuthorManager
public void saveAuthor(Author author)
ExtendedAuthorManager
saveAuthor
in interface ExtendedAuthorManager
public AuthorDao getAuthorDao()
public void setAuthorDao(AuthorDao authorDao)
public void setBambooUserManager(BambooUserManager userManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |