2014-02-25 15:58:42 +01:00
|
|
|
package org.gcube.portlets.widgets.workspacesharingwidget.client.view.sharing;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
2014-03-03 19:17:26 +01:00
|
|
|
import org.gcube.portlets.widgets.workspacesharingwidget.shared.CredentialModel;
|
2014-02-25 15:58:42 +01:00
|
|
|
import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel;
|
|
|
|
|
|
|
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
|
|
|
|
|
|
|
public interface ContactFetcher {
|
|
|
|
|
2014-06-23 12:27:21 +02:00
|
|
|
public void getListContact(AsyncCallback<List<InfoContactModel>> callback, boolean reloadList, boolean readGroupsFromHL, boolean readGroupsFromPortal);
|
2014-02-25 15:58:42 +01:00
|
|
|
public void getListSharedUserByFolderId(String sharedFolderId, AsyncCallback<List<InfoContactModel>> callback);
|
|
|
|
public List<InfoContactModel> getExclusiveContactsFromAllContact(List<InfoContactModel> listSharedUser);
|
|
|
|
public void getOwner(String sharedFolderId, AsyncCallback<InfoContactModel> callback);
|
|
|
|
|
2014-03-03 19:17:26 +01:00
|
|
|
/**
|
|
|
|
* @param listAlreadySharedContact
|
|
|
|
* @param callback
|
|
|
|
*/
|
2014-06-23 12:27:21 +02:00
|
|
|
public void getInfoContactModelsFromCredential(
|
2014-03-03 19:17:26 +01:00
|
|
|
List<CredentialModel> listAlreadySharedContact,
|
|
|
|
AsyncCallback<List<InfoContactModel>> callback);
|
2014-08-25 15:29:49 +02:00
|
|
|
|
|
|
|
public void getAdministratorsByFolderId(String sharedFolderId, AsyncCallback<List<InfoContactModel>> callback);
|
2014-03-03 19:17:26 +01:00
|
|
|
|
2014-02-25 15:58:42 +01:00
|
|
|
}
|