public class BeanConverter extends Object
| Constructor and Description |
|---|
BeanConverter() |
| Modifier and Type | Method and Description |
|---|---|
static GcubeScopeType |
toGcubeScope(String scopeName)
To gcube scope.
|
static String |
toScopeTitle(String scope)
To scope title.
|
static org.gcube.portal.wssynclibrary.shared.thredds.ThSynchFolderConfiguration |
toThSynchFolderConfiguration(WsThreddsSynchFolderConfiguration t,
String rootFolderId,
String targetScopeUserToken)
To th synch folder configuration.
|
static WsThreddsSynchFolderDescriptor |
toWsThreddsFolderConfig(org.gcube.portal.wssynclibrary.shared.thredds.ThSyncFolderDescriptor t,
org.gcube.portal.wssynclibrary.shared.thredds.Sync_Status theStatus)
To ws thredds folder config.
|
public static WsThreddsSynchFolderDescriptor toWsThreddsFolderConfig(org.gcube.portal.wssynclibrary.shared.thredds.ThSyncFolderDescriptor t, org.gcube.portal.wssynclibrary.shared.thredds.Sync_Status theStatus)
t - the ttheStatus - the the statuspublic static String toScopeTitle(String scope)
scope - the scopepublic static GcubeScopeType toGcubeScope(String scopeName)
scopeName - the scope namepublic static org.gcube.portal.wssynclibrary.shared.thredds.ThSynchFolderConfiguration toThSynchFolderConfiguration(WsThreddsSynchFolderConfiguration t, String rootFolderId, String targetScopeUserToken)
t - the trootFolderId - the root folder idtargetScopeUserToken - the target scope user tokenCopyright © 2018. All Rights Reserved.