Uses of Class
it.uniroma2.art.semanticturkey.exceptions.InvalidProjectNameException
Package
Description
-
Uses of InvalidProjectNameException in it.uniroma2.art.semanticturkey.project
Modifier and TypeMethodDescriptionstatic Project
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
Project.checkProjectName
(String projectName) static void
ProjectManager.cloneProjectToNewProject
(String projectName, String newProjectName) this method copies a project to another location.static Project
ProjectManager.createProject
(ProjectConsumer consumer, String projectName, org.eclipse.rdf4j.model.Literal label, org.eclipse.rdf4j.model.IRI model, org.eclipse.rdf4j.model.IRI lexicalizationModel, String baseURI, boolean historyEnabled, boolean validationEnabled, boolean blacklistingEnabled, RepositoryAccess repositoryAccess, String coreRepoID, PluginSpecification coreRepoSailConfigurerSpecification, String coreBackendType, String supportRepoID, PluginSpecification supportRepoSailConfigurerSpecification, String supportBackendType, PluginSpecification uriGeneratorSpecification, PluginSpecification renderingEngineSpecification, List<Pair<RDFResourceRole, String>> resourceMetadataAssociations, File preloadedDataFile, org.eclipse.rdf4j.rio.RDFFormat preloadedDataFormat, TransitiveImportMethodAllowance transitiveImportAllowance, Set<org.eclipse.rdf4j.model.IRI> failedImports, String leftDataset, String rightDataset, boolean shaclEnabled, SHACLSettings shaclSettings, boolean trivialInferenceEnabled, boolean openAtStartup, ProjectACL.AccessLevel universalAccess, boolean undoEnabled) static void
ProjectManager.deleteProject
(String projectName) 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 Project
ProjectManager.getProject
(String projectName, boolean descriptionAllowed) static String
ProjectManager.getProjectBaseURI
(String projectName) gets the baseuri of the project with nameprojectName
.static String
ProjectManager.getProjectCreatedAt
(String projectName) gets the created_at of the project with nameprojectName
.static String
ProjectManager.getProjectDefaultNamespace
(String projectName) gets the default namespace of the project with nameprojectName
.static Project
ProjectManager.getProjectDescription
(String projectName) returns a instance of a concrete implementation of classProject
, with the sole exception that the project is not activated (no data is loaded)static File
ProjectManager.getProjectDir
(String projectName) This method: invokesProjectManager.resolveProjectNameToDir(String)
and gets the project dir associated to that name returns the directory if the project exists, otherwise throws aProjectInexistentException
static String
ProjectManager.getProjectProperty
(String projectName, String property) gets the value of the given propertyproperty
for project with nameprojectName
static String
ProjectManager.getProjectPropertyFileContent
(String projectName) gets the project.info file content for project with nameprojectName
ProjectManager.getProjectPropertyMap
(String projectName) gets name-value pairs for each property of project with nameprojectName
static long
ProjectManager.getProjectTimeStamp
(String projectName) gets the timestamp of the project with nameprojectName
.static String
ProjectManager.getRequiredProjectProperty
(String projectName, String property) static void
ProjectManager.handleProjectExclusively
(String projectName, Consumer<Project> projectConsumer) static void
ProjectManager.importProject
(File semTurkeyProjectFile, String name) static boolean
ProjectManager.projectExists
(String projectName) 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 nameprojectName
static void
ProjectManager.setProjectProperty
(String projectName, String property, String propValue) sets the value of the given propertyproperty
for project with nameprojectName
-
Uses of InvalidProjectNameException in it.uniroma2.art.semanticturkey.security
Modifier and TypeMethodDescriptionboolean
STAuthorizationEvaluator.isAuthorized
(String prologCapability, String crudv) To use like follow:@PreAuthorize("@auth.isAuthorized('rdf(concept, taxonomy)', 'R')")
For complete documentation seeSTAuthorizationEvaluator.isAuthorized(String, String, String)
boolean
STAuthorizationEvaluator.isAuthorized
(String prologCapability, String userResponsibility, String crudv) boolean
STAuthorizationEvaluator.isAuthorized
(String prologCapability, String userResponsibility, String crudv, String projectName) To use like follow:@PreAuthorize("@auth.isAuthorized('rdf(concept, taxonomy)', '{key1: ''value1'', key2: true}', 'R')")
boolean
STAuthorizationEvaluator.isAuthorizedInProject
(String prologCapability, String crudv, String projectName) This is useful for evaluating authorization for a project different from the one indicated in the contextboolean
STAuthorizationEvaluator.isDefaultSettingsActionAuthorized
(Scope scope, Scope defaultScope, String crud) Tells if an action on default settings is authorizedboolean
STAuthorizationEvaluator.isFileActionAuthorized
(String dir, String crud) Useful for authorizing file operation (read/create file)boolean
STAuthorizationEvaluator.isProjectPublic
(String id) Allows request only when the given project is public (i.e.boolean
STAuthorizationEvaluator.isSettingsActionAuthorized
(Scope scope, String crud) -
Uses of InvalidProjectNameException in it.uniroma2.art.semanticturkey.settings.facets
Modifier and TypeMethodDescriptionstatic void
ProjectFacetsIndexUtils.createFacetIndexAPI
(List<ProjectInfo> projectInfoList) static void
ProjectFacetsIndexUtils.recreateFacetIndexForProjectAPI
(String projectName, ProjectInfo projectInfo)