23 lines
850 B
Java
23 lines
850 B
Java
package org.gcube.portlets.user.shareupdates.client;
|
|
|
|
import org.gcube.portal.databook.shared.ClientFeed;
|
|
import org.gcube.portal.databook.shared.FeedType;
|
|
import org.gcube.portal.databook.shared.PrivacyLevel;
|
|
import org.gcube.portlets.user.shareupdates.shared.LinkPreview;
|
|
import org.gcube.portlets.user.shareupdates.shared.UserSettings;
|
|
|
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
|
|
|
/**
|
|
* The async counterpart of <code>ShareUpdateService</code>.
|
|
*/
|
|
public interface ShareUpdateServiceAsync {
|
|
void share(String feedText, FeedType type, PrivacyLevel pLevel,
|
|
String vreName, String linkTitle, String linkDesc, String url,
|
|
String urlThumbnail, String host, AsyncCallback<ClientFeed> callback);
|
|
|
|
void checkLink(String linkToCheck, AsyncCallback<LinkPreview> callback);
|
|
|
|
void getUserSettings(AsyncCallback<UserSettings> callback);
|
|
}
|