Uses of Class
it.uniroma2.art.semanticturkey.exceptions.ProjectAccessException
Package
Description
-
Uses of ProjectAccessException in it.uniroma2.art.semanticturkey.data.access
Modifier and TypeMethodDescriptionResourceLocator.listResourceLocations
(Project project, org.eclipse.rdf4j.repository.Repository projectRepository, org.eclipse.rdf4j.model.Resource resource) An overload ofResourceLocator.listResourceLocations(Project, Repository, Resource)
, with the last two parameters set toProjectACL.AccessLevel.R
andProjectACL.LockLevel.NO
, respectively.ResourceLocator.listResourceLocations
(Project project, org.eclipse.rdf4j.repository.Repository projectRepository, org.eclipse.rdf4j.model.Resource resource, ProjectACL.AccessLevel requestedAccessLevel, ProjectACL.LockLevel requestedLockLevel) Locate a resource.ResourceLocator.locateResource
(Project project, org.eclipse.rdf4j.repository.Repository projectRepository, org.eclipse.rdf4j.model.Resource resource) An overload ofResourceLocator.locateResource(Project, Repository, Resource)
, with the last two parameters set toProjectACL.AccessLevel.R
andProjectACL.LockLevel.NO
, respectively.ResourceLocator.locateResource
(Project project, org.eclipse.rdf4j.repository.Repository projectRepository, org.eclipse.rdf4j.model.Resource resource, ProjectACL.AccessLevel requestedAccessLevel, ProjectACL.LockLevel requestedLockLevel) Locate a resource. -
Uses of ProjectAccessException in it.uniroma2.art.semanticturkey.notification
Modifier and TypeMethodDescriptionvoid
ResourceChangeNotificationManager.scheduledNotifications()
-
Uses of ProjectAccessException 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
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 void
ProjectManager.exportProject
(String projectName, File semTurkeyProjectFile) 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 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 void
ProjectManager.handleProjectExclusively
(String projectName, Consumer<Project> projectConsumer) static Collection<AbstractProject>
ProjectManager.listProjects()
static Collection<AbstractProject>
ProjectManager.listProjects
(ProjectConsumer consumer) lists the projects available (stored in the projects directory of Semantic Turkey). -
Uses of ProjectAccessException in it.uniroma2.art.semanticturkey.rbac
-
Uses of ProjectAccessException in it.uniroma2.art.semanticturkey.resources
-
Uses of ProjectAccessException in it.uniroma2.art.semanticturkey.security
Modifier and TypeMethodDescriptionvoid
AccessControlManager.init()
boolean
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 ProjectAccessException in it.uniroma2.art.semanticturkey.settings.facets
Modifier and TypeMethodDescriptionstatic void
ProjectFacetsIndexUtils.createFacetIndexAPI
(List<ProjectInfo> projectInfoList) static void
ProjectFacetsIndexUtils.recreateFacetIndexForProjectAPI
(String projectName, ProjectInfo projectInfo) -
Uses of ProjectAccessException in it.uniroma2.art.semanticturkey.user
Modifier and TypeMethodDescriptionstatic void
ProjectGroupBindingsManager.createPGBindingsOfGroup
(UsersGroup group) Creates all the project-group bindings folders related to the given group.static void
ProjectUserBindingsManager.createPUBindingsOfUser
(STUser user) Creates all the project-user bindings folders related to the given user.static void
ProjectGroupBindingsManager.loadPGBindings()
Loads all the bindings into the repository Protected since the load should be done just once by AccessControlManager during its initializationstatic void
ProjectUserBindingsManager.loadPUBindings()
Loads all the bindings into the repository Protected since the load should be done just once by AccessControlManager during its initializationstatic void
UsersManager.registerUser
(STUser user) Registers a user