PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://nimbits-server.googlecode.com/
Java | 32 lines | 9 code | 5 blank | 18 comment | 0 complexity | 2b052bd9922c3109bb989ea2a759d1ff 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
14package com.nimbits.client.service.facebook;
15
16import com.google.gwt.user.client.rpc.AsyncCallback;
17import com.nimbits.client.exception.NimbitsException;
18import com.nimbits.client.model.email.EmailAddress;
19
20import java.io.UnsupportedEncodingException;
21
22/**
23 * Created by bsautner
24 * User: benjamin
25 * Date: 4/13/11
26 * Time: 12:29 PM
27 */
28public interface FacebookServiceAsync {
29    void facebookLogin(final String code, final AsyncCallback<EmailAddress> async) throws UnsupportedEncodingException, NimbitsException;
30
31    void updateStatus(final String token, final String message, final String picture, final String link, final String name, final String captions, final String description, final AsyncCallback<String> async);
32}