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.
|
Boolean |
doUnSyncFolder(String folderId)
Do sync folder.
|
List<org.gcube.portal.wssynclibrary.shared.thredds.ThCatalogueBean> |
getAvailableCataloguesForScope(String scope)
Gets the available catalogues for scope.
|
List<GcubeScope> |
getListOfScopesForLoggedUser()
Gets the list of VR es for logged user.
|
SyncronizeWithThredds |
getSyncService()
Gets the sync service.
|
WsThreddsSynchFolderDescriptor |
isItemSynched(String folderId)
Checks if is item synched.
|
static boolean |
isWithinPortal()
Checks if is within portal.
|
org.gcube.portal.wssynclibrary.shared.thredds.ThSyncStatus |
monitorSyncStatus(String folderId)
Monitor sync status.
|
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<org.gcube.portal.wssynclibrary.shared.thredds.ThCatalogueBean> getAvailableCataloguesForScope(String scope) throws Exception
getAvailableCataloguesForScope in interface ThreddsWorkspaceSyncServicescope - the scopeException - the exceptionpublic List<GcubeScope> getListOfScopesForLoggedUser() throws Exception
getListOfScopesForLoggedUser in interface ThreddsWorkspaceSyncServiceException - the exceptionpublic WsThreddsSynchFolderDescriptor isItemSynched(String folderId) throws org.gcube.portal.wssynclibrary.shared.WorkspaceFolderLocked, Exception
ThreddsWorkspaceSyncServiceisItemSynched in interface ThreddsWorkspaceSyncServicefolderId - the folder idorg.gcube.portal.wssynclibrary.shared.WorkspaceFolderLocked - the workspace folder lockedException - the exceptionpublic 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
ThreddsWorkspaceSyncServicemonitorSyncStatus in interface ThreddsWorkspaceSyncServicefolderId - the folder idorg.gcube.portal.wssynclibrary.shared.ItemNotSynched - the item not synchedException - the exceptionpublic Boolean doUnSyncFolder(String folderId) throws Exception
doUnSyncFolder in interface ThreddsWorkspaceSyncServicefolderId - the folder idclientConfig - the th configException - the exceptionCopyright © 2018. All Rights Reserved.