public class OnlyContainDatasourceWorkspace
extends java.lang.Object
Only the data source of the virtual workspace, no map, no three-dimensional scene, no symbol library.
Constructor and Description |
---|
OnlyContainDatasourceWorkspace(java.util.List<FilteredDatasourceInfo> datasourceInfos, boolean useUgoWorkspace) |
Modifier and Type | Method and Description |
---|---|
protected Datasource |
createMemoryDatasource() |
void |
dispose()
Destroy
|
java.lang.String |
getConnectionInfo()
Returns the data source connection information
|
protected com.supermap.services.providers.OnlyContainDatasourceWorkspace.DatasourceFactory |
getDatasourceFactory() |
java.util.List<FilteredDatasourceInfo> |
getDatasourceInfos() |
IDatasources |
getDatasources()
Returns the list of data sources
|
protected Workspace |
getOrCreateUGOWorkspace() |
Workspace |
getUGOWorkspace()
Returns the
com.supermap.data.Workspace object for the internal wrapper. |
protected com.supermap.services.providers.OnlyContainDatasourceWorkspace.UGOWorkspaceFactory |
getUgoWorkspaceFactory() |
boolean |
isSaveSupportedOrNot()
Whether to support saving the workspace
|
boolean |
open() |
boolean |
save()
Save the workspace
|
protected void |
setDatasourceFactory(com.supermap.services.providers.OnlyContainDatasourceWorkspace.DatasourceFactory datasourceFactory) |
void |
setDatasourceInfos(java.util.List<FilteredDatasourceInfo> datasourceInfos) |
protected void |
setUgoWorkspaceFactory(com.supermap.services.providers.OnlyContainDatasourceWorkspace.UGOWorkspaceFactory ugoWorkspaceFactory) |
public OnlyContainDatasourceWorkspace(java.util.List<FilteredDatasourceInfo> datasourceInfos, boolean useUgoWorkspace)
public boolean open()
public boolean save()
Save the workspace
public boolean isSaveSupportedOrNot()
Whether to support saving the workspace
public java.lang.String getConnectionInfo()
Returns the data source connection information
public Workspace getUGOWorkspace()
Returns the com.supermap.data.Workspace
object for the internal wrapper.
public void dispose()
Destroy
public java.util.List<FilteredDatasourceInfo> getDatasourceInfos()
public void setDatasourceInfos(java.util.List<FilteredDatasourceInfo> datasourceInfos)
public IDatasources getDatasources()
Returns the list of data sources
protected Datasource createMemoryDatasource()
protected Workspace getOrCreateUGOWorkspace()
protected com.supermap.services.providers.OnlyContainDatasourceWorkspace.DatasourceFactory getDatasourceFactory()
protected void setDatasourceFactory(com.supermap.services.providers.OnlyContainDatasourceWorkspace.DatasourceFactory datasourceFactory)
protected com.supermap.services.providers.OnlyContainDatasourceWorkspace.UGOWorkspaceFactory getUgoWorkspaceFactory()
protected void setUgoWorkspaceFactory(com.supermap.services.providers.OnlyContainDatasourceWorkspace.UGOWorkspaceFactory ugoWorkspaceFactory)