Package | Description |
---|---|
it.uniroma2.art.semanticturkey.project | |
it.uniroma2.art.semanticturkey.resources |
Modifier and Type | Method and Description |
---|---|
static Project<? extends RDFModel> |
ProjectManager.accessProject(ProjectConsumer consumer,
String projectName,
ProjectACL.AccessLevel requestedAccessLevel,
ProjectACL.LockLevel requestedLockLevel)
ProjectConsumer s may request access to a project through this method. |
static void |
ProjectManager.cloneProjectToNewProject(String projectName,
String newProjectName)
this method copies a project to another location.
|
static Project<? extends RDFModel> |
ProjectManager.createProject(ProjectConsumer consumer,
String projectName,
Class<? extends RDFModel> modelType,
String baseURI,
String ontManagerFactoryID,
String modelConfigurationClass,
Properties modelConfiguration,
String uriGeneratorFactoryID,
String uriGenConfigurationClass,
Properties uriGenConfiguration,
String renderingEngineFactoryID,
String renderingEngineConfigurationClass,
Properties renderingEngineConfiguration)
a shortcut for
#createProject(ProjectConsumer, String, Class, String, String, String, String, Properties) with
defaultNamespace automatically assigned from the baseuri |
static Project<? extends RDFModel> |
ProjectManager.createProject(ProjectConsumer consumer,
String projectName,
Class<? extends RDFModel> modelType,
String baseURI,
String defaultNamespace,
String ontManagerFactoryID,
String modelConfigurationClass,
Properties modelConfiguration,
String uriGeneratorFactoryID,
String uriGenConfigurationClass,
Properties uriGenConfiguration,
String renderingEngineFactoryID,
String renderingEngineConfigurationClass,
Properties renderingEngineConfiguration)
as for
#createProject(ProjectConsumer, String, Class, File, String, String, String, String, Properties)
but the directory of the project bears the name of the project itself and is located inside the
SemanticTurkeyData directory of your Firefox profile. |
static Project<? extends RDFModel> |
ProjectManager.createProject(String projectName,
Class<? extends RDFModel> modelType,
String baseURI,
String ontManagerFactoryID,
String modelConfigurationClass,
Properties modelConfiguration,
String uriGeneratorFactoryID,
String uriGenConfigurationClass,
Properties uriGenConfiguration,
String renderingEngineFactoryID,
String renderingEngineConfigurationClass,
Properties renderingEngineConfiguration)
a shortcut for
#createProject(ProjectConsumer, String, Class, String, String, String, Properties) with
ProjectConsumer set to ProjectConsumer.SYSTEM |
static Project<? extends RDFModel> |
ProjectManager.createProjectAndSetAsCurrent(String projectName,
Class<? extends RDFModel> modelType,
String baseURI,
String ontManagerFactoryID,
String modelConfigurationClass,
Properties modelConfiguration,
String uriGeneratorFactoryID,
String uriGenConfigurationClass,
Properties uriGenConfiguration,
String renderingEngineFactoryID,
String renderingEngineConfigurationClass,
Properties renderingEngineConfiguration) |
static boolean |
ProjectManager.existsProject(String projectName) |
static ProjectACL.AccessLevel |
ProjectManager.getAccessedLevel(String projectName,
ProjectConsumer consumer)
Return the access level with which the consumer is accessing the project.
|
static ProjectConsumer |
ProjectManager.getLockingConsumer(String projectName)
Returns the ProjectConsumer that is locking the given project.
|
static ProjectACL.LockLevel |
ProjectManager.getLockingLevel(String projectName,
ProjectConsumer consumer)
Returns the LockLevel which with the project is locked by the consumer.
|
static String |
ProjectManager.getProjectBaseURI(String projectName)
gets the baseuri of the project with name
projectName . |
static String |
ProjectManager.getProjectDefaultNamespace(String projectName)
gets the default namespace of the project with name
projectName . |
static <MODELTYPE extends RDFModel> |
ProjectManager.getProjectDescription(String projectName)
returns a instance of a concrete implementation of class
Project , with the sole exception that
the project is not activated (no data is loaded) |
static File |
ProjectManager.getProjectDir(String projectName)
This method:
invokes
ProjectManager.resolveProjectNameToDir(String) and gets the project dir associated to that name
returns the directory if the project exists, otherwise throws a ProjectInexistentException
|
static Class<? extends RDFModel> |
ProjectManager.getProjectModelType(String projectName)
gets the model type for the project.
|
static String |
ProjectManager.getProjectOntologyManagerID(String projectName)
return the id of the project manager implementation adopted by project
projectName |
static String |
ProjectManager.getProjectProperty(String projectName,
String property)
gets the value of the given property
property for project with name
projectName
use specific get methods for standard project properties; this method is left public to support
customized properties defined over projects
|
static String |
ProjectManager.getProjectPropertyFileContent(String projectName)
gets the project.info file content for project with name
projectName |
static Map<String,String> |
ProjectManager.getProjectPropertyMap(String projectName)
gets name-value pairs for each property of project with name
projectName |
static long |
ProjectManager.getProjectTimeStamp(String projectName)
gets the timestamp of the project with name
projectName . |
static ProjectManager.ProjectType |
ProjectManager.getProjectType(String projectName)
gets the type fo the project.
|
static String |
ProjectManager.getRequiredProjectProperty(String projectName,
String property)
|
static void |
ProjectManager.importProject(File semTurkeyProjectFile,
String name) |
static Project<? extends RDFModel> |
ProjectManager.openProject(String projectName)
as for
#accessProject(ProjectConsumer, String, AccessLevel, LockLevel) with
ProjectConsumer set to ProjectConsumer.SYSTEM
ProjectACL.AccessLevel = ProjectACL.AccessLevel.RW
ProjectACL.LockLevel = ProjectACL.LockLevel.NO
and sets the project identified by projectName as currentProject |
static File |
ProjectManager.resolveProjectNameToDir(String projectName)
returns the directory of a project given its name.
|
static void |
ProjectManager.saveProjectPropertyFileContent(String projectName,
String content)
saves the project.info file content for project with name
projectName |
static void |
ProjectManager.setProjectProperty(String projectName,
String property,
String propValue)
sets the value of the given property
property for project with name
projectName
use specific get methods for standard project properties; this method is left public to support
customized properties defined over projects
|
Modifier and Type | Method and Description |
---|---|
static void |
UpdateRoutines.repairProject(String projectName) |
Copyright © 2016 ART Group, University of Rome, Tor Vergata. All rights reserved.