public List < Group > getGroups ( ) { List < Group > allGroups = new ArrayList < Group > ( ) ; if ( root != null ) { getGroups ( root , allGroups ) ; } return allGroups ; }
Retrieves a list of all groups in the KeePass database .