An alternative to hotels, self-catering apartments in Barcelona are often modern and luxurious, and give you maximum flexibility.
As I occasionally do work for apartment booking agencies I'll abstain from giving recommendations other than to say, look for apartment rental agencies which are members of Apartur : The Association of Tourist Apartments in Barcelona.