[ucmdb] generic class for retrieve entities