public Site addFavoriteSite(Site site) - Adds the given site
to the current users list of favorite sites, if the request cannot be completed successfully
an exception is thrown with error code 400.
Parameters
- Site site
- A Site object representing the site to add to favourites.
Returns
Returns a new Site object reflecting the changes made.
Exception
Throws an SkyVaultServiceException if the operation cannot be carried out and has an error code of 400.
Example
case ADD_FAVE:
site = siteService.addFavoriteSite(site);
message = site.getShortName()+" added to your favorites";
break;
Note: This method was added in version 1.1.