@ Programmatic public DocumentType findByReference ( final String reference ) { return queryResultsCache . execute ( ( ) -> repositoryService . firstMatch ( new QueryDefault <> ( DocumentType . class , "findByReference" , "reference" , reference ) ) , DocumentTypeRepository . class , "findByReference" , reference ) ; }
region > findByReference