Class GoogleAdapter

  • All Implemented Interfaces:
    org.springframework.social.connect.ApiAdapter<Google>

    public class GoogleAdapter
    extends Object
    implements org.springframework.social.connect.ApiAdapter<Google>
    Google ApiAdapter implementation.
    Author:
    Gabriel Axel
    • Constructor Detail

      • GoogleAdapter

        public GoogleAdapter()
    • Method Detail

      • test

        public boolean test​(Google google)
        Attempt to see if the connection is valid.
        Specified by:
        test in interface org.springframework.social.connect.ApiAdapter<Google>
      • setConnectionValues

        public void setConnectionValues​(Google google,
                                        org.springframework.social.connect.ConnectionValues values)
        Set a value on the connection.
        Specified by:
        setConnectionValues in interface org.springframework.social.connect.ApiAdapter<Google>
      • fetchUserProfile

        public org.springframework.social.connect.UserProfile fetchUserProfile​(Google google)
        Return the current user profile.
        Specified by:
        fetchUserProfile in interface org.springframework.social.connect.ApiAdapter<Google>
      • updateStatus

        public void updateStatus​(Google google,
                                 String message)
        Specified by:
        updateStatus in interface org.springframework.social.connect.ApiAdapter<Google>