2013-01-26 20:02:51 +01:00
|
|
|
package org.gcube.portlets.user.shareupdates.client;
|
|
|
|
|
2013-04-16 23:49:16 +02:00
|
|
|
import java.util.ArrayList;
|
|
|
|
|
2013-01-26 20:02:51 +01:00
|
|
|
import org.gcube.portal.databook.shared.ClientFeed;
|
|
|
|
import org.gcube.portal.databook.shared.FeedType;
|
|
|
|
import org.gcube.portal.databook.shared.PrivacyLevel;
|
2013-10-07 23:10:21 +02:00
|
|
|
import org.gcube.portlets.widgets.pickuser.shared.PickingUser;
|
2013-01-26 20:02:51 +01:00
|
|
|
import org.gcube.portlets.user.shareupdates.shared.LinkPreview;
|
2013-04-11 18:46:58 +02:00
|
|
|
import org.gcube.portlets.user.shareupdates.shared.UserSettings;
|
2013-01-26 20:02:51 +01:00
|
|
|
|
|
|
|
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,
|
2014-01-30 16:39:42 +01:00
|
|
|
String vreName, LinkPreview preview, String urlThumbnail,
|
|
|
|
ArrayList<String> mentionedUsers, String fileName,
|
2014-03-05 00:38:20 +01:00
|
|
|
String FilePathOnServer, boolean notifyGroup,
|
|
|
|
AsyncCallback<ClientFeed> callback);
|
2013-04-11 18:46:58 +02:00
|
|
|
|
2013-01-26 20:02:51 +01:00
|
|
|
void checkLink(String linkToCheck, AsyncCallback<LinkPreview> callback);
|
2013-04-11 18:46:58 +02:00
|
|
|
|
|
|
|
void getUserSettings(AsyncCallback<UserSettings> callback);
|
2013-04-16 23:49:16 +02:00
|
|
|
|
|
|
|
void getPortalUsers(AsyncCallback<ArrayList<PickingUser>> callback);
|
2014-01-17 19:21:35 +01:00
|
|
|
|
|
|
|
void checkUploadedFile(String fileName, String fileabsolutePathOnServer,
|
|
|
|
AsyncCallback<LinkPreview> callback);
|
2013-01-26 20:02:51 +01:00
|
|
|
}
|