def _cnames(self, resource):
raise NotImplementedError()<EOL>
Get resource category names.

        :param resource: resource from where get category names.
        :param Logger logger: logger to use.
        :return: resource category names.
        :rtype: list