<< Click to Display Table of Contents >>

SGServer.js

 

 

Namespace

SuperGIS.Server


Class

SGServer(string ServerPath, async)

control the SuperGIS 3D Earth Server.

Method

string

getServerPath()

return the path of the server.

Method

string

ProxyPath(string URL)

return the path of the proxy URL.

Method

string

FilePath(string FilePath)

return the path of the file.

Method

Boolean

Login(string Username, string Password, funcProcessCallback)

return the login status of the account.

Method

void

Logout(funcProcessCallback)

logout the user.

Method

string

GetWorkSpace(funcProcessCallback)

return the work space of the server.

Method

string

ServiceStatus(string Action, funcProcessCallback)

return the service status.

Method

array

GetResourceList(funcProcessCallback)

return an array of resources.

Method

Resource

GetResource(string ResourceName, funcProcessResponse)

return the resource object.

Method

Boolean

RemoveResource(string ResorceName, funcProcessResponse)

remove the resources.

Method

array

GetUserList(funcProcessResponse)

return an array of user accounts.

Method

Boolean

AddUser(object SUsr, string Password, funcProcessResponse)

add a user.

Method

Boolean

RemoveUser(string Username, funcProcessResponse)

remove a user account.

Method

SUsr

GetUser(string Username, funcProcessResponse)

return a SUsr object.

Method

void

SetUser(object SUsr, funcProcessResponse)

set a Susr object.

Method

array

GetAppList(funcProcessResponse)

return a array of applications.

Method

string

GetApp(string GUID, funcProcessResponse)

return the application name.

Method

Boolean

RemoveApp(string GUID, funcProcessResponse)

remove an application.

Method

Boolean

AddApp(object SApp, funcProcessResponse)

add an application.

Method

Boolean

SetApp(object SApp, funcProcessResponse)

edit an application.





Class

SGServerUser()

control the users of SuperGIS 3D Earth Server

Method

Name

getName()

return the user name.

Method

void

setName(v)

set the user name.

Mehod

Alias

getAlias()

return the user alias.

Method

void

setAlias(v)

set the user alias.

Method

Description

getDescription()

return the user description.

Method

void

setDescription(v)

set the user description.

Method

Boolean

getModifications()

return if the user account can be modified or not.

Method

void

setModifications(Boolean v)

set if the user account can be modified or not.

Method

Boolean

getValidation()

return if the user account is valid.

Method

void

setValidation(Boolean v)

set if the user account is valid.

Method

EffectiveDate

getEffectiveDate()

return the effective date of the user account.

Method

void

setEffectiveDate(v)

set the effective date of the user account.

Method

ExpirationDate

getExpirationDate()

return the expiration date of the user account.

Method

void

setExpirationDate(v)

set the expiration date of the user account.

Method

Boolean

getAdministrator()

return if the user account is administrator.

Method

void

setAdministrator(Boolean v)

set if the user account is administrator.

Method

Boolean

getManage()

return if the user account can log into the Manager.

Method

void

setManage(Boolean v)

set if the user account can log into the Manager.

Method

Boolean

getPublish()

return if the user account can publish resources.

Method

void

setPublish(Boolean v)

set if the user account can publish resources.

Method

Boolean

getDataAccess()

return if the user account can access the published data.

Method

void

setDataAccess(Boolean v)

set if the user account can access the published data.





Class

SGServerApp()

control the web applications of SuperGIS 3D Earth Server

Method

GUID

getGUID()

return the GUID of the web application.

Method

void

setGUID(v)

set the GUID of the web application.

Method

Name

getName()

return the name of the web application

Method

void

setName(v)

set the name of the web application.

Method

Resources

getResources()

return the resources included in the web application.

Method

void

setResources(v)

set the resources included in the web application.

Method

Title

getTitle()

return the title of the web application.

Method

void

setTitle(v)

set the title of the web application.

Method

Copyright

getCopyright()

return the copyright settings of the web application.

Method

void

setCopyright(v)

set the copyright settings of the web application.

Method

Graticule

getGraticule()

return the graticule settings of the web application.

Method

void

setGraticule(v)

set the graticule settings of the web application.

Method

Toolbar

getToolbar()

return the toolbar settings of the web application.

Method

void

setToolbar(v)

set the toolbar settings of the web application.

Method

IndexMap

getIndexMap()

return the index map settings of the web application.

Method

void

setIndexMap(v)

set the index map settings of the web application.

Method

AddGeometries

getAddGeometries()

return the add geometries tool settings of the web application.

Method

void

setAddGeometries(v)

set the add geometries tool settings of the web application.

Method

AddKml

getAddKml()

return the add kml tool settings of the web application.

Method

void

setAddKml(v)

set the add kml tool settings of the web application.

Method

Query

getQuery()

return the query tool settings of the web application.

Method

void

setQuery(v)

set the query tool settings of the web application.

Method

Measurements

getMeasurements()

return the measurement tool settings of the web application.

Method

void

setMeasurements(v)

set the measurement tool settings of the web application.

Method

Share

getShare()

return the share tool settings of the web application.

Method

void

setShare(v)

set the share tool settings of the web application.

Method

void

setSMTPServer(v)

set the SMTP server settings of the web application.

Method

void

setSMTPAccount(v)

set the SMTP account settings of the web application.

Method

void

setSMTPPassword(v)

set the SMTP password settings of the web application.

Method

Controler

getControler()

return the controler settings of the web application.

Method

void

setControler(v)

set the controler settings of the web application.

Method

TableOfContents

getTableOfContents()

return the table of contents settings of the web application.

Method

void

setTableOfContents(v)

set the table of contents settings of the web application.

Method

Exaggeration

getExaggeration()

return the exaggeration settings of the web application.

Method

void

setExaggeration(v)

set the exaggeration settings of the web application.

 

 


© 2017 Supergeo Technologies Inc.