@ SuppressWarnings ( "unchecked" ) public List < ManagedUser > getManagedUsers ( ) { final Query query = pm . newQuery ( ManagedUser . class ) ; query . setOrdering ( "username asc" ) ; return ( List < ManagedUser > ) query . execute ( ) ; }
Returns a complete list of all ManagedUser objects in ascending order by username .