question: get all functions which are defined on the given resourcetype concode_field_sep Permissions permissionBoundary concode_elem_sep EntityManager entityManager concode_elem_sep ResourceTypeRepository resourceTypeRepository concode_elem_sep FreemarkerSyntaxValidator freemarkerValidator concode_elem_sep ResourceRepository resourceRepository concode_elem_sep FunctionRepository functionRepository concode_elem_sep FunctionService functionService concode_field_sep void deleteFunction concode_elem_sep AmwFunctionEntity getFunctionByIdAndRevision concode_elem_sep AmwFunctionEntity getFunctionById concode_elem_sep List<AmwFunctionEntity> getAllOverwritableSupertypeFunctions concode_elem_sep List<AmwFunctionEntity> getAllOverwritableSupertypeFunctions concode_elem_sep List<RevisionInformation> getFunctionRevisions concode_elem_sep AmwFunctionEntity overwriteResourceFunction concode_elem_sep AmwFunctionEntity overwriteResourceTypeFunction concode_elem_sep AmwFunctionEntity createNewResourceFunction concode_elem_sep void saveFunction concode_elem_sep AmwFunctionEntity createNewResourceTypeFunction
target: List < AmwFunctionEntity > function ( ResourceTypeEntity arg0 ) { Objects . requireNonNull ( arg0 , "srini_string" ) ; ResourceTypeEntity loc0 = resourceTypeRepository . loadWithFunctionsAndMiksForId ( arg0 . getId ( ) ) ; return new ArrayList < > ( loc0 . getFunctions ( ) ) ; }