Expose getMessageIds() through DatabaseComponent interface.

This commit is contained in:
akwizgran
2018-04-12 14:22:27 +01:00
parent 196caa7b45
commit b7874365a3
2 changed files with 17 additions and 0 deletions

View File

@@ -266,6 +266,14 @@ public interface DatabaseComponent {
*/
Collection<LocalAuthor> getLocalAuthors(Transaction txn) throws DbException;
/**
* Returns the IDs of all messages in the given group.
* <p/>
* Read-only.
*/
Collection<MessageId> getMessageIds(Transaction txn, GroupId g)
throws DbException;
/**
* Returns the IDs of any messages that need to be validated.
* <p/>