58 lines
1.3 KiB
Java
58 lines
1.3 KiB
Java
package org.gcube.portlets.widgets.workspacesharingwidget.client.rpc;
|
|
|
|
import java.util.List;
|
|
|
|
import org.gcube.portlets.widgets.workspacesharingwidget.shared.FileModel;
|
|
import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel;
|
|
import org.gcube.portlets.widgets.workspacesharingwidget.shared.WorkspaceACL;
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
/**
|
|
* The client side stub for the RPC service.
|
|
*/
|
|
@RemoteServiceRelativePath("workspacesharing")
|
|
public interface WorkspaceSharingService extends RemoteService {
|
|
String greetServer(String name) throws IllegalArgumentException;
|
|
|
|
/**
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
List<InfoContactModel> getAllContacts() throws Exception;
|
|
|
|
/**
|
|
* @param folderSharedId
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
List<InfoContactModel> getListUserSharedByFolderSharedId(
|
|
String folderSharedId) throws Exception;
|
|
|
|
/**
|
|
* @param itemId
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
InfoContactModel getOwnerByItemId(String itemId) throws Exception;
|
|
|
|
/**
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
List<WorkspaceACL> getACLs() throws Exception;
|
|
|
|
/**
|
|
* @return
|
|
*/
|
|
String getMyLogin();
|
|
|
|
/**
|
|
* @param itemId
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
FileModel getFileModelByWorkpaceItemId(String itemId) throws Exception;
|
|
}
|