Package | Description |
---|---|
it.uniroma2.art.semanticturkey.project |
Modifier and Type | Class and Description |
---|---|
class |
AbstractProject |
class |
CorruptedProject |
class |
PersistentStoreProject<MODELTYPE extends RDFModel> |
class |
Project<MODELTYPE extends RDFModel> |
class |
SaveToStoreProject<MODELTYPE extends RDFModel> |
Modifier and Type | Field and Description |
---|---|
static ProjectConsumer |
ProjectConsumer.SYSTEM
SYSTEM is the default project consumer
|
Modifier and Type | Method and Description |
---|---|
static ProjectConsumer |
ProjectManager.getLockingConsumer(String projectName)
Returns the ProjectConsumer that is locking the given project.
|
static ProjectConsumer |
ProjectManager.getProjectConsumer(String consumerName)
returns a project consumer from its string description.
|
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 ProjectManager.AccessResponse |
ProjectManager.checkAccessibility(ProjectConsumer consumer,
Project<?> project,
ProjectACL.AccessLevel requestedAccessLevel,
ProjectACL.LockLevel requestedLockLevel) |
static Project<? extends RDFModel> |
ProjectManager.createProject(ProjectConsumer consumer,
String projectName,
Class<? extends RDFModel> modelType,
File projectDir,
String baseURI,
String defaultNamespace,
String ontManagerFactoryID,
String modelConfigurationClassName,
Properties modelConfiguration,
String uriGeneratorFactoryID,
String uriGenConfigurationClassName,
Properties uriGenConfiguration,
String renderingEngineFactoryID,
String renderingEngineConfigurationClass,
Properties renderingEngineConfiguration)
This method sets up all the necessary files which characterize projects and then generates a new
instance on the initialized folder
Note: by using directly this method you may create projects in any place in the file system, and
Semantic Turkey won't be able to localize them.
|
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 void |
ProjectManager.disconnectFromProject(ProjectConsumer consumer,
String projectName)
this method allows
ProjectConsumer consumer to be disconnected from the
Project identified by projectName . |
static ProjectACL.AccessLevel |
ProjectManager.getAccessedLevel(String projectName,
ProjectConsumer consumer)
Return the access level with which the consumer is accessing the project.
|
ProjectACL.AccessLevel |
ProjectACL.getAccessLevelForConsumer(ProjectConsumer consumer)
This method returns the AccessLevel granted from the project that is owning this ACL to the given
consumer.
|
static ProjectACL.LockLevel |
ProjectManager.getLockingLevel(String projectName,
ProjectConsumer consumer)
Returns the LockLevel which with the project is locked by the consumer.
|
void |
ProjectACL.grantAccess(ProjectConsumer consumer,
ProjectACL.AccessLevel reqAccessLevel) |
boolean |
ProjectACL.hasInACL(ProjectConsumer consumer)
this method tells if consumer
consumer is listed in the ACL of the current project. |
boolean |
ProjectACL.isAccessibleFrom(ProjectConsumer consumer,
ProjectACL.AccessLevel reqAccessLevel,
ProjectACL.LockLevel reqLock)
this method tells if the project that is owning this ACL can be accessed with the desired access/lock
level specifications.
|
static Collection<AbstractProject> |
ProjectManager.listProjects(ProjectConsumer consumer)
lists the projects available (stored in the projects directory of Semantic Turkey).
|
Copyright © 2016 ART Group, University of Rome, Tor Vergata. All rights reserved.