I have a hard time believing that Granlund in his 1.5 years here fell so madly in love with San Jose and the Sharks organization that he would be willing to take a short term deal to spend what are likely his last effective years in the NHL on a shitty team helping mentor a bunch of kids till he is put out to pasture. He has been a consummate professional and always says the right things which might make people think that he would be amenable to a team friendly deal. But many would be free agents say how much they love playing in the city they currently are and would love to be back. Doesn't mean he isn't going to look for what's best for himself when it comes to free agency time.
I would be surprised if multiple contending teams don't offer him a decent contract to play on teams much closer to the Cup than we are. Getting good value for him now was the right thing to do. If he desperately wanted to stay on a team friendly deal, I'm sure that can be arranged in the offseason. I highly doubt it though.