Uses of Class
org.drasyl.node.plugin.groups.manager.database.DatabaseException
Packages that use DatabaseException
Package
Description
Contains a backend (e.g.
Adapter to connect the groups manager with a JDBC-compliant database.
- 
Uses of DatabaseException in org.drasyl.node.plugin.groups.manager.databaseMethod parameters in org.drasyl.node.plugin.groups.manager.database with type arguments of type DatabaseExceptionModifier and TypeMethodDescriptionstatic voidDatabaseAdapterManager.addAdapter(String scheme, ThrowingFunction<URI, DatabaseAdapter, DatabaseException> adapter) Methods in org.drasyl.node.plugin.groups.manager.database that throw DatabaseExceptionModifier and TypeMethodDescriptionbooleanAdds a group to the database if it doesn't exist already.booleanDatabaseAdapter.addGroupMember(Membership membership) Adds or updates the givengroupMember#memberto the givengroupMember#group.voidDatabaseAdapter.close()Closes the connection to the database.booleanDatabaseAdapter.deleteGroup(String name) Deleted the group with the specifiedname.DatabaseAdapter.deleteStaleMemberships()Deletes all stale memberships from all groups and returns the deleted members.Returns the group with the specifiednameornullif it could not be found.DatabaseAdapter.getGroupMembers(String name) Returns the members of the groupnameas set.DatabaseAdapter.getGroups()Lists all groups.static DatabaseAdapterDatabaseAdapterManager.initAdapter(URI uri) booleanDatabaseAdapter.removeGroupMember(IdentityPublicKey member, String groupName) Removes thememberfrom the givengroup.booleanDatabaseAdapter.updateGroup(Group group) Updates the specifiedgroup.
- 
Uses of DatabaseException in org.drasyl.node.plugin.groups.manager.database.jdbcMethods in org.drasyl.node.plugin.groups.manager.database.jdbc that throw DatabaseExceptionModifier and TypeMethodDescriptionbooleanbooleanJdbcDatabaseAdapter.addGroupMember(Membership membership) voidJdbcDatabaseAdapter.close()booleanJdbcDatabaseAdapter.deleteGroup(String name) JdbcDatabaseAdapter.deleteStaleMemberships()JdbcDatabaseAdapter.getGroupMembers(String name) JdbcDatabaseAdapter.getGroups()booleanJdbcDatabaseAdapter.removeGroupMember(IdentityPublicKey member, String groupName) booleanJdbcDatabaseAdapter.updateGroup(Group group) Constructors in org.drasyl.node.plugin.groups.manager.database.jdbc that throw DatabaseException