public < T extends Object > List < T > findAll ( Class < T > clazz ) { Preconditions . checkNotNull ( clazz , "Tryed to get all morphia objects of a given object, but given object is null" ) ; return this . datastore . find ( clazz ) . asList ( ) ; }
Retrieves a list of mapped Morphia objects from MongoDB