List < OwnerDocument > function ( String arg0 ) { return this . repository . findByOwnerCodeAndDocumentType ( arg0 , DocumentType . OWNER ) ; }
returns a list of owners with the given owner code . the list should contain only one owner as ids are unique . concode_field_sep Logger logger concode_elem_sep OwnerDocumentRepository repository concode_field_sep void setRepository concode_elem_sep boolean save concode_elem_sep boolean deleteAll concode_elem_sep boolean delete