Class Index | File Index

Classes


Class STRequests.Projects


Defined in: STRequests.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
STRequests.Projects.accessProject(name)
opens an existing project, given its name
<static>  
STRequests.Projects.cloneProject(name, newName)
clones an existing project identified by name into a new one called newName
<static>  
STRequests.Projects.closeProject()
closes the current project
<static>  
STRequests.Projects.deleteProject(name)
deletes a project identified by argument name
<static>  
STRequests.Projects.disconnectFromProject(projectName)
closes the current project
<static>  
STRequests.Projects.exportProject(projfile, exportPackage)
exports a project to a given file.
<static>  
STRequests.Projects.getCurrentProject()
gets the name of the current project
<static>  
STRequests.Projects.importProject(projfile, name)
imports a project compiled according to Semantic Turkey project file format.
<static>  
STRequests.Projects.listProjects()
returns a list of all projects available in Semantic Turkey (the mainProject is excluded from this list, whether it has been initialized or not)
<static>  
STRequests.Projects.newProject(name, baseuri, ontmanager, type, modelConfigurationClass, modelConfigurationArray)
creates a new empty project
<static>  
STRequests.Projects.newProjectFromFile(name, baseuri, ontmanager, type, file, cfgParsArray, file)
creates a new project and immediately fills it with RDF data from a given RDF file
<static>  
STRequests.Projects.openProject(name)
opens an existing project, given its name
<static>  
STRequests.Projects.repairProject(projectName)
opens the main project
<static>  
STRequests.Projects.saveProject(project)
saves the current project
<static>  
STRequests.Projects.saveProjectAs(newName)
saves the current project into a new one with given name newName.
Class Detail
STRequests.Projects()
Method Detail
<static> STRequests.Projects.accessProject(name)
opens an existing project, given its name
Defined in: SERVICE_Projects.js.
Parameters:
name
Returns:

<static> STRequests.Projects.cloneProject(name, newName)
clones an existing project identified by name into a new one called newName
Defined in: SERVICE_Projects.js.
Parameters:
name
newName
Returns:

<static> STRequests.Projects.closeProject()
closes the current project
Defined in: SERVICE_ProjectsOLD.js.
Returns:

<static> STRequests.Projects.deleteProject(name)
deletes a project identified by argument name
Defined in: SERVICE_Projects.js.
Parameters:
name
Returns:

<static> STRequests.Projects.disconnectFromProject(projectName)
closes the current project
Defined in: SERVICE_Projects.js.
Parameters:
projectName
Returns:

<static> STRequests.Projects.exportProject(projfile, exportPackage)
exports a project to a given file. The file is compiled according to Semantic Turkey project file format
Defined in: SERVICE_Projects.js.
Parameters:
projfile
exportPackage
Returns:

<static> STRequests.Projects.getCurrentProject()
gets the name of the current project
Defined in: SERVICE_Projects.js.
Returns:

<static> STRequests.Projects.importProject(projfile, name)
imports a project compiled according to Semantic Turkey project file format.
Defined in: SERVICE_Projects.js.
Parameters:
projfile
name
(optional). If not specified, the name is the one declared in the imported project; however, it this name clashes with that of an existing project, then an exception is being thrown
Returns:

<static> STRequests.Projects.listProjects()
returns a list of all projects available in Semantic Turkey (the mainProject is excluded from this list, whether it has been initialized or not)
Defined in: SERVICE_Projects.js.
Returns:

<static> STRequests.Projects.newProject(name, baseuri, ontmanager, type, modelConfigurationClass, modelConfigurationArray)
creates a new empty project
Defined in: SERVICE_Projects.js.
Parameters:
name
the name of the project
baseuri
the baseuri of the working ontology for the created project
ontmanager
the id of the ontmanager technology which is being used for this project
type
tells whether a project is always kept updated with modifications (continuosEditing) or if it needs to be explicitly saved (saveToStore)
modelConfigurationClass
modelConfigurationArray
Returns:

<static> STRequests.Projects.newProjectFromFile(name, baseuri, ontmanager, type, file, cfgParsArray, file)
creates a new project and immediately fills it with RDF data from a given RDF file
Defined in: SERVICE_ProjectsOLD.js.
Parameters:
name
the name of the project
baseuri
the baseuri of the working ontology for the created project
ontmanager
the id of the ontmanager technology which is being used for this project
type
tells whether a project is always kept updated with modifications (continuosEditing) or if it needs to be explicitly saved (saveToStore)
file
the path to the RDF file the data of which is automatically loaded inside the new project
cfgParsArray
file
Returns:

<static> STRequests.Projects.openProject(name)
opens an existing project, given its name
Defined in: SERVICE_ProjectsOLD.js.
Parameters:
name
Returns:

<static> STRequests.Projects.repairProject(projectName)
opens the main project
Defined in: SERVICE_Projects.js.
Parameters:
projectName
Returns:

<static> STRequests.Projects.saveProject(project)
saves the current project
Defined in: SERVICE_Projects.js.
Parameters:
project
Returns:

<static> STRequests.Projects.saveProjectAs(newName)
saves the current project into a new one with given name newName. If the save is successful, then the new project automatically becomes the current one and the previous one is being closed
Defined in: SERVICE_ProjectsOLD.js.
Parameters:
newName
Returns:

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Sep 25 2014 16:02:12 GMT+0200 (CEST)