Add AuthorManager#getMyAuthorInfo() without transaction

and add test for it
This commit is contained in:
Torsten Grote
2020-11-24 12:11:36 -03:00
parent 6939d8d230
commit 5aa041f9e1
3 changed files with 26 additions and 1 deletions

View File

@@ -19,6 +19,11 @@ public interface AuthorManager {
*/
AuthorInfo getAuthorInfo(Transaction txn, AuthorId a) throws DbException;
/**
* Returns the {@link AuthorInfo} for the {@link LocalAuthor}.
*/
AuthorInfo getMyAuthorInfo() throws DbException;
/**
* Returns the {@link AuthorInfo} for the {@link LocalAuthor}.
*/