The seven men accused of being involved in a violent brawl between two rival barber shops have been sentenced.