Commentators in the media should note this Haaretz article - Haniyeh in Iran: Hamas will never recognize Israel.
"Hamas would never acknowledge the Israeli state, said Ismail Haniyeh, the leader of the Palestinian movement in Gaza, on Friday in Tehran."
Haniyeh is not just "the leader of the Palestinian movement in Gaza". He is a partner in the Palestinian unity government with Fatah's Mahmoud Abbas who steadfastly refuses to recognise Israel as a Jewish State.
So whatever view one might have about the occupation, settlements and settlement building, it is abundantly clear that these are no longer issues in the conflict.
The occupation is now irrelevant insofar as the matter of attaining peace is concerned.