public class ThreddsWorkspaceSyncServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements ThreddsWorkspaceSyncService
| Constructor and Description |
|---|
ThreddsWorkspaceSyncServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus |
doSyncFolder(String folderId,
WsThreddsSynchFolderConfiguration clientConfig)
Do sync folder.
|
List<GcubeVRE> |
getListOfVREsForLoggedUser()
Gets the list of VR es for logged user.
|
SyncronizeWithThredds |
getSyncService()
Gets the sync service.
|
WsThreddsSynchFolderDescriptor |
isItemSynched(String folderId) |
static boolean |
isWithinPortal()
Checks if is within portal.
|
org.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus |
monitorSyncStatus(String folderId) |
void |
registerCallbackForId(String folderId)
Register callback for id.
|
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic SyncronizeWithThredds getSyncService()
public static boolean isWithinPortal()
public org.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus doSyncFolder(String folderId, WsThreddsSynchFolderConfiguration clientConfig) throws Exception
doSyncFolder in interface ThreddsWorkspaceSyncServicefolderId - the folder idclientConfig - the th configException - the exceptionpublic List<GcubeVRE> getListOfVREsForLoggedUser() throws Exception
getListOfVREsForLoggedUser in interface ThreddsWorkspaceSyncServiceException - the exceptionpublic WsThreddsSynchFolderDescriptor isItemSynched(String folderId) throws Exception
isItemSynched in interface ThreddsWorkspaceSyncServiceExceptionpublic void registerCallbackForId(String folderId) throws Exception
folderId - the folder idException - the exceptionpublic org.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus monitorSyncStatus(String folderId) throws org.gcube.portal.wssynclibrary.shared.ItemNotSynched, Exception
monitorSyncStatus in interface ThreddsWorkspaceSyncServiceorg.gcube.portal.wssynclibrary.shared.ItemNotSynchedExceptionCopyright © 2018. All Rights Reserved.