/**
  * Return useable attribute ids
  *
  * @param string[] $attributeCodes
  *
  * @return integer[]
  */
 protected function getAttributeIds($attributeCodes = null)
 {
     $attributeIds = $this->attributeRepository->getAttributeIdsUseableInGrid($attributeCodes);
     return $attributeIds;
 }