Four Palestine Action activists have been jailed for between four and almost eight years.