/v3.2/nimbits-tds/src/com/nimbits/client/service/facebook/FacebookService.java

http://nimbits-server.googlecode.com/ · Java · 35 lines · 11 code · 6 blank · 18 comment · 0 complexity · dc82116aa3fe58226bd40f48747f1bb5 MD5 · raw file

  1. /*
  2. * Copyright (c) 2010 Tonic Solutions LLC.
  3. *
  4. * http://www.nimbits.com
  5. *
  6. *
  7. * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
  8. *
  9. * http://www.gnu.org/licenses/gpl.html
  10. *
  11. * Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
  12. */
  13. package com.nimbits.client.service.facebook;
  14. import com.google.gwt.user.client.rpc.RemoteService;
  15. import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
  16. import com.nimbits.client.exception.NimbitsException;
  17. import com.nimbits.client.model.email.EmailAddress;
  18. import java.io.UnsupportedEncodingException;
  19. /**
  20. * Created by bsautner
  21. * User: benjamin
  22. * Date: 4/13/11
  23. * Time: 12:28 PM
  24. */
  25. @RemoteServiceRelativePath("facebook")
  26. public interface FacebookService extends RemoteService {
  27. EmailAddress facebookLogin(final String code) throws UnsupportedEncodingException, NimbitsException;
  28. String updateStatus(final String token, final String message, final String picture, final String link, final String name, final String captions, final String description);
  29. }