private Object findGFSEntity ( EntityMetadata entityMetadata , Class entityClass , Object key ) { GridFSDBFile outputFile = findGridFSDBFile ( entityMetadata , key ) ; return outputFile != null ? handler . getEntityFromGFSDBFile ( entityMetadata . getEntityClazz ( ) , instantiateEntity ( entityClass , null ) , entityMetadata , outputFile , kunderaMetadata ) : null ; }
Find GFS entity .