Ante,
Is it some kind of commutation for a motor like in a brush less fanmotor for instance?
Yes, you are right. When rotor magnet approaches Hall Effect IC, it sends signal to transistor to induce current for stator. Now stator become electromagnet to push the magnets away (repulsion). Basic...