You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.1 KiB
Java
28 lines
1.1 KiB
Java
package org.gcube.portlets.widgets.wsthreddssync.client.rpc;
|
|
|
|
import java.util.List;
|
|
|
|
import org.gcube.portal.wssynclibrary.shared.ItemNotSynched;
|
|
import org.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus;
|
|
import org.gcube.portlets.widgets.wsthreddssync.shared.GcubeVRE;
|
|
import org.gcube.portlets.widgets.wsthreddssync.shared.WsThreddsSynchFolderConfiguration;
|
|
import org.gcube.portlets.widgets.wsthreddssync.shared.WsThreddsSynchFolderDescriptor;
|
|
|
|
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("wsthreddssync")
|
|
public interface ThreddsWorkspaceSyncService extends RemoteService {
|
|
|
|
WsThreddsSynchFolderDescriptor isItemSynched(String folderId) throws ItemNotSynched, Exception;
|
|
|
|
ThSyncStatus doSyncFolder(final String folderId, WsThreddsSynchFolderConfiguration clientConfig) throws Exception;
|
|
|
|
ThSyncStatus monitorSyncStatus(String folderId) throws ItemNotSynched, Exception;
|
|
|
|
List<GcubeVRE> getListOfVREsForLoggedUser() throws Exception;
|
|
}
|