How the hydraulic barber chair work?

a piston with an intake/outake port and a return sping is one way to assemble it