public String[] listGroups() throws DBException {
Transaction tx = new Transaction();
try {
XMLSerializableAdapter col = getGroupsCollection();
Key[] keys = col.listKeys(tx);
String[] result = new String[keys.length];
for ( int i = 0; i < keys.length; i++ )
result[i] = keys[i].toString();
return result;
}