@RemoteServiceRelativePath(value="wsthreddssync")
public interface ThreddsWorkspaceSyncService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
org.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus |
doSyncFolder(String folderId,
WsThreddsSynchFolderConfiguration clientConfig)
Do sync folder.
|
Boolean |
doUnSyncFolder(String folderId)
Do un sync folder.
|
List<org.gcube.portal.wssynclibrary.shared.thredds.ThCatalogueBean> |
getAvailableCataloguesForScope(String scope)
Gets the available catalogues for scope.
|
WsThreddsSynchFolderDescriptor |
getConfiguration(String folderId,
boolean loadStatus)
Gets the configuration.
|
List<GcubeScope> |
getListOfDataManagerScopesForLoggedUser()
Gets the list of vr es for logged user.
|
Map<String,GatewayRolesThredds> |
getScopesWithThreddsRolesForLoggedUser()
Gets the list of Scopes (Root-VO, VOs and VREs) for user and the Thredds roles that user has in them.
|
org.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus |
monitorSyncStatus(String folderId)
Monitor sync status.
|
WsThreddsSynchFolderDescriptor getConfiguration(String folderId, boolean loadStatus) throws org.gcube.portal.wssynclibrary.shared.WorkspaceFolderLocked, Exception
folderId - the folder idloadStatus - the load status. If true it loads the status by calling the
SyncEngine.check(String, boolean) but it is time
consuming. No otherwise.org.gcube.portal.wssynclibrary.shared.WorkspaceFolderLocked - the workspace folder lockedException - the exceptionorg.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus doSyncFolder(String folderId, WsThreddsSynchFolderConfiguration clientConfig) throws Exception
folderId - the folder idclientConfig - the client configException - the exceptionorg.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus monitorSyncStatus(String folderId) throws org.gcube.portal.wssynclibrary.shared.ItemNotSynched, Exception
folderId - the folder idorg.gcube.portal.wssynclibrary.shared.ItemNotSynched - the item not synchedException - the exceptionList<GcubeScope> getListOfDataManagerScopesForLoggedUser() throws Exception
Exception - the exceptionList<org.gcube.portal.wssynclibrary.shared.thredds.ThCatalogueBean> getAvailableCataloguesForScope(String scope) throws Exception
scope - the scopeException - the exceptionBoolean doUnSyncFolder(String folderId) throws Exception
folderId - the folder idException - the exceptionMap<String,GatewayRolesThredds> getScopesWithThreddsRolesForLoggedUser() throws Exception
Exception - the exceptionCopyright © 2021. All Rights Reserved.