Added getLongValue to ResourceTemplateRespository.