Added a method to get a list of available but not subscribed groups.

This commit is contained in:
akwizgran
2013-04-13 23:33:21 +01:00
parent 03af1d359d
commit 1a8dbd1dbb
5 changed files with 82 additions and 0 deletions

View File

@@ -162,6 +162,12 @@ public interface DatabaseComponent {
Collection<TransportUpdate> generateTransportUpdates(ContactId c,
long maxLatency) throws DbException;
/**
* Returns any groups that contacts have made visible but to which the user
* does not subscribe.
*/
Collection<Group> getAvailableGroups() throws DbException;
/** Returns the configuration for the given transport. */
TransportConfig getConfig(TransportId t) throws DbException;