Uses of Class
it.uniroma2.art.semanticturkey.user.STUser
Package
Description
-
Uses of STUser in it.uniroma2.art.semanticturkey.config
Modifier and TypeMethodDescriptiondefault void
PUConfigurationManager.deleteProjectConfiguration
(Project project, STUser user, String identifier) default void
UserConfigurationManager.deleteUserConfiguration
(STUser user, String identifier) default Collection<Reference>
ConfigurationManager.getConfigurationReferences
(Project project, STUser user) default CONFTYPE
PUConfigurationManager.getProjectConfiguration
(Project project, STUser user, String identifier) default Collection<String>
PUConfigurationManager.getProjectConfigurationIdentifiers
(Project project, STUser user) default CONFTYPE
UserConfigurationManager.getUserConfiguration
(STUser user, String identifier) default Collection<String>
UserConfigurationManager.getUserConfigurationIdentifiers
(STUser user) default void
PUConfigurationManager.storeProjectConfiguration
(Project project, STUser user, String identifier, CONFTYPE configuration) default void
UserConfigurationManager.storeUserConfiguration
(STUser user, String identifier, CONFTYPE configuration) -
Uses of STUser in it.uniroma2.art.semanticturkey.config.impl
Modifier and TypeMethodDescriptionstatic File
ConfigurationSupport.getConfigurationFolder
(PUConfigurationManager<?> manager, Project project, STUser user) static File
ConfigurationSupport.getConfigurationFolder
(UserConfigurationManager<?> manager, STUser user) -
Uses of STUser in it.uniroma2.art.semanticturkey.email
Modifier and TypeMethodDescriptionprotected static String
EmailService.replaceAdminPlaceholders
(String text, STUser admin) Replaces references to (a specific) admin placeholders with the info about the given admin.protected static String
EmailService.replaceUserPlaceholders
(String text, STUser user) Replaces references to user placeholders with the info about the given user.void
VbEmailService.sendEnabledMailToUser
(STUser user) Sends an email to a user to inform that his/her account has been enabledvoid
EmailService.sendProjCreationMailToAdmin
(STUser creator, Project project) Sends an email to tha administrator users for notifying them that a project has been created (it doesn't send to the user who created)void
VbEmailService.sendRegistrationMailToAdmin
(STUser user, String vbHostAddress) Sends an email to the system administrator to inform about a new user registration request and requiring to be activatedvoid
VbEmailService.sendRegistrationMailToUser
(STUser user, String vbHostAddress, boolean emailVerification) Sends an email to a new registered user.void
EmailService.sendResetPasswordConfirmedMail
(STUser user, String tempPassword) Sends an email that informs the given user that its password has been replaced with the tempPasswordvoid
EmailService.sendResetPasswordRequestedMail
(STUser user, String forgotPasswordLink) Sends an email that provides to the given user the info for resetting the passwordvoid
VbEmailService.sendVerifiedMailToUser
(STUser user) Sends an email to a verified user informing to wait to be enabled -
Uses of STUser in it.uniroma2.art.semanticturkey.extension
Modifier and TypeMethodDescriptionExtensionPointManager.getConfigurationReferences
(Project project, STUser user, String componentIdentifier) Returns the stored configurations associated with a given componentExtensionPointManager.getSettings
(Project project, STUser user, UsersGroup group, String componentIdentifier, Scope scope) ExtensionPointManager.getSettingsDefault
(Project project, STUser user, UsersGroup group, String componentID, Scope scope, Scope defaultScope) <T extends Extension,
C extends Configuration>
TExtensionPointManager.instantiateExtension
(Class<T> targetInterface, PluginSpecification spec, Project project, STUser user) void
ExtensionPointManager.storeSetting
(String componentID, Project project, STUser loggedUser, UsersGroup group, Scope scope, String property, com.fasterxml.jackson.databind.JsonNode propertyValue) void
ExtensionPointManager.storeSettingDefault
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, String property, com.fasterxml.jackson.databind.JsonNode propertyValue) void
ExtensionPointManager.storeSettings
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, com.fasterxml.jackson.databind.node.ObjectNode settings) void
ExtensionPointManager.storeSettingsDefault
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, com.fasterxml.jackson.databind.node.ObjectNode settings) -
Uses of STUser in it.uniroma2.art.semanticturkey.extension.impl
Modifier and TypeMethodDescriptionExtensionPointManagerImpl.getConfigurationReferences
(Project project, STUser user, String componentIdentifier) ExtensionPointManagerImpl.getSettings
(Project project, STUser user, UsersGroup group, String componentIdentifier, Scope scope) ExtensionPointManagerImpl.getSettingsDefault
(Project project, STUser user, UsersGroup group, String componentID, Scope scope, Scope defaultScope) <T extends Extension,
C extends Configuration>
TExtensionPointManagerImpl.instantiateExtension
(Class<T> targetInterface, PluginSpecification spec, Project project, STUser user) void
ExtensionPointManagerImpl.storeSetting
(String componentID, Project project, STUser loggedUser, UsersGroup group, Scope scope, String property, com.fasterxml.jackson.databind.JsonNode propertyValue) void
ExtensionPointManagerImpl.storeSettingDefault
(String componentID, Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, String property, com.fasterxml.jackson.databind.JsonNode propertyValue) void
ExtensionPointManagerImpl.storeSettings
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, com.fasterxml.jackson.databind.node.ObjectNode settings) void
ExtensionPointManagerImpl.storeSettingsDefault
(String componentIdentifier, Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, com.fasterxml.jackson.databind.node.ObjectNode settings) -
Uses of STUser in it.uniroma2.art.semanticturkey.extension.settings
Modifier and TypeMethodDescriptiondefault T
PUSettingsManager.getProjectSettings
(Project project, STUser user) default T
PUSettingsManager.getProjectSettings
(Project project, STUser user, boolean explicit) default T
PUSettingsManager.getPUSettingsUserDefault
(STUser user) default Settings
SettingsManager.getSettings
(Project project, STUser user, UsersGroup group, Scope scope) default Settings
SettingsManager.getSettings
(Project project, STUser user, UsersGroup group, Scope scope, boolean explicit) default Settings
SettingsManager.getSettingsDefault
(Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope) default T
UserSettingsManager.getUserSettings
(STUser user) default T
UserSettingsManager.getUserSettings
(STUser user, boolean explicit) default void
PUSettingsManager.storeProjectSettings
(Project project, STUser user, T settings) default void
PUSettingsManager.storePUSettingsUserDefault
(STUser user, T settings) default void
SettingsManager.storeSettings
(Project project, STUser user, UsersGroup group, Scope scope, Settings settings) default void
SettingsManager.storeSettingsDefault
(Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, Settings settings) default void
UserSettingsManager.storeUserSettings
(STUser user, T settings) -
Uses of STUser in it.uniroma2.art.semanticturkey.project
Modifier and TypeMethodDescriptionvoid
Project.setLastConnectionInfo
(STUser user, String sessionId) void
Project.updateLastConnectionInfo
(STUser user, String sessionId) -
Uses of STUser in it.uniroma2.art.semanticturkey.properties
Modifier and TypeMethodDescriptionstatic File
STPropertiesManager.getPUBindingPropertyFolder
(Project project, STUser user, String pluginID) Returns the folder/pu_bindings/ / /plugins/ / static <T extends STProperties>
TSTPropertiesManager.getPUSettings
(Class<T> valueType, Project project, STUser user, String pluginID) Returns the pu_settings about a plugin.static <T extends STProperties>
TSTPropertiesManager.getPUSettings
(Class<T> valueType, Project project, STUser user, String pluginID, boolean explicit) static <T extends STProperties>
TSTPropertiesManager.getPUSettingsUserDefault
(Class<T> valueType, STUser user, String pluginID) Returns the value of a default pu_settings at user levelstatic Object
STPropertiesManager.getSinglePropertyDefaultFromSettings
(STProperties props, Project project, STUser user, ExtensionPointManager exptManager, String prop) static File
STPropertiesManager.getUserPropertyFolder
(STUser user, String pluginID) Returns the folder/users/ /plugins/ / static <T extends STProperties>
TSTPropertiesManager.getUserSettings
(Class<T> valueType, STUser user, String pluginID) static <T extends STProperties>
TSTPropertiesManager.getUserSettings
(Class<T> valueType, STUser user, String pluginID, boolean explicit) static void
STPropertiesManager.loadDefaultsFromSettings
(STProperties props, Project project, STUser user) static void
STPropertiesManager.setPUSettings
(STProperties settings, Project project, STUser user, String pluginID) Convenience overload ofSTPropertiesManager.setPUSettings(STProperties, Project, STUser, String, boolean)
that disallows the storage of incomplete settings (i.e. missing values for required property).static void
STPropertiesManager.setPUSettings
(STProperties preferences, Project project, STUser user, String pluginID, boolean allowIncompletePropValueSet) Sets the values of pu_setting related to the given project-user-pluginstatic void
STPropertiesManager.setPUSettingsUserDefault
(STProperties settings, STUser user, String pluginID, boolean allowIncompletePropValueSet) Sets the value of a default pu-setting at user level.static void
STPropertiesManager.setUserSettings
(STProperties preferences, STUser user, String pluginID) static void
STPropertiesManager.setUserSettings
(STProperties preferences, STUser user, String pluginID, boolean allowIncompletePropValueSet) -
Uses of STUser in it.uniroma2.art.semanticturkey.resources
Modifier and TypeMethodDescriptionstatic Scope
Scope.computeScope
(Project project, STUser user) static Collection<Reference>
Reference.liftIdentifiers
(Project project, STUser user, Collection<String> identifiers) -
Uses of STUser in it.uniroma2.art.semanticturkey.security
-
Uses of STUser in it.uniroma2.art.semanticturkey.services.events
ModifierConstructorDescriptionResourceCreated
(org.eclipse.rdf4j.model.Resource resource, RDFResourceRole role, org.eclipse.rdf4j.model.Resource wgraph, org.eclipse.rdf4j.repository.Repository repository, Project project, STUser author) ResourceDeleted
(org.eclipse.rdf4j.model.Resource resource, RDFResourceRole role, org.eclipse.rdf4j.model.Resource wgraph, org.eclipse.rdf4j.repository.Repository repository, Project project, STUser author) ResourceEvent
(org.eclipse.rdf4j.model.Resource resource, RDFResourceRole role, org.eclipse.rdf4j.model.Resource wgraph, org.eclipse.rdf4j.repository.Repository repository, Project project, STUser author) ResourceModified
(org.eclipse.rdf4j.model.Resource resource, RDFResourceRole role, org.eclipse.rdf4j.model.Resource wgraph, org.eclipse.rdf4j.repository.Repository repository, Project project, STUser author) -
Uses of STUser in it.uniroma2.art.semanticturkey.settings.events
ModifierConstructorDescriptionSettingsDefaultsUpdated
(SettingsManager settingsManager, Project project, STUser user, UsersGroup group, Scope scope, Scope defaultScope, Settings settings) SettingsEvent
(SettingsManager settingsManager, Project project, STUser user, UsersGroup group, Scope scope, Settings settings) SettingsUpdated
(SettingsManager settingsManager, Project project, STUser user, UsersGroup group, Scope scope, Settings settings) -
Uses of STUser in it.uniroma2.art.semanticturkey.storage
Modifier and TypeMethodDescriptionstatic File
StorageManager.getPUStorageDirectory
(Project project, STUser user) static File
StorageManager.getUserStorageDirectory
(STUser user) -
Uses of STUser in it.uniroma2.art.semanticturkey.user
Modifier and TypeMethodDescriptionstatic STUser
UsersManager.getLoggedUser()
Returns the logged user (if any), otherwise returns nullstatic STUser
UsersManager.getUnverifiedUser
(String email, String token) ProjectUserBinding.getUser()
static STUser
Returns the user with the given email.static STUser
UsersManager.getUser
(org.eclipse.rdf4j.model.IRI iri) Returns the user with the given IRI.static STUser
UsersManager.updateUserCustomProperty
(STUser user, org.eclipse.rdf4j.model.IRI property, String value) Updates the value of a custom property of the given user and returns it updatedModifier and TypeMethodDescriptionUsersManager.getAdminUsers()
Returns the adminUsersManager.getSuperUsers()
static Collection<STUser>
UsersManager.listUnverifiedUsers()
Returns a list of users which email still need to be verified (statusUserStatus.UNVERIFIED
)static Collection<STUser>
UsersManager.listUsers()
Returns a list of all the registered usersUsersRepoHelper.listUsers()
Returns a list of all the users into the repositoryModifier and TypeMethodDescriptionstatic void
static void
ProjectUserBindingsManager.addLanguagesToPUBinding
(STUser user, AbstractProject project, Collection<String> languages) Adds languages to the binding between the given project-user pairstatic void
ProjectUserBindingsManager.addRolesToPUBinding
(STUser user, AbstractProject project, Collection<Role> roles) Adds roles to the binding between the given project-user pairstatic void
ProjectUserBindingsManager.addRoleToPUBinding
(STUser user, AbstractProject project, Role role) Adds role to the binding between the given project-user pairstatic void
UsersManager.addSuperUser
(STUser user) static void
ProjectUserBindingsManager.assignGroupToPUBinding
(STUser user, AbstractProject project, UsersGroup group) Assigns a group to the binding between the given project-user pairstatic void
ProjectUserBindingsManager.clonePUBinding
(STUser sourceUser, Project sourceProject, STUser targetUser, Project targetProject) Clone the PUBinding settings from a project-user pair to another.static void
ProjectUserBindingsManager.createPUBindingsOfUser
(STUser user) Creates all the project-user bindings folders related to the given user.static void
ProjectUserBindingsManager.deletePUBindingsOfUser
(STUser user) When a user is deleted, deletes all the project-user bindings folders related to the given userstatic void
UsersManager.deleteUser
(STUser user) Delete the user with the given emailstatic ProjectUserBinding
ProjectUserBindingsManager.getPUBinding
(STUser user, AbstractProject project) Returns the ProjectUserBinding that binds the given user and projectstatic File
ProjectGroupBindingsManager.getPUBindingsFolder
(AbstractProject project, STUser user) Returns the user folders under/pu_bindings/ / for the given project-user pair static File
ProjectUserBindingsManager.getPUBindingsFolder
(AbstractProject project, STUser user) Returns the user folders under/pu_bindings/ / for the given project-user pair static Collection<File>
ProjectUserBindingsManager.getUserBindingsFolders
(STUser user) Returns the user folders under all the/pu_bindings/ / folders static File
UsersManager.getUserFolder
(STUser user) Returns the user folder under/users/ for the given user static UsersGroup
ProjectUserBindingsManager.getUserGroup
(STUser user, Project project) Returns the UsersGroup which the given user belongs tostatic boolean
ProjectUserBindingsManager.hasUserAccessToProject
(STUser user, Project project) Returns true if user has right to access the project (if it has any role in the given project or if it is admin)static boolean
ProjectGroupBindingsManager.hasUserOwnershipOfSchemes
(STUser user, Project project, List<org.eclipse.rdf4j.model.IRI> schemes, boolean or) Returns true if user belongs to a group that has ownership on the given schemes.void
UsersRepoHelper.insertUser
(STUser user) Insert the given user into the repositorystatic void
UsersManager.registerUser
(STUser user) Registers a userstatic void
UsersManager.removeAdmin
(STUser user) static void
ProjectUserBindingsManager.removeAllRoleFromPUBinding
(STUser user, AbstractProject project) Remove all the roles assigned to a user in a projectstatic void
ProjectUserBindingsManager.removeGroupFromPUBinding
(STUser user, AbstractProject project) Remove the group assigned to the user in the given project-user pairstatic void
ProjectUserBindingsManager.removeRoleFromPUBinding
(STUser user, AbstractProject project, Role role) Removes a role from the binding between the given project-user pairstatic void
UsersManager.removeSuperUser
(STUser user) static void
ProjectUserBindingsManager.setGroupLimitationsToPUBinding
(STUser user, AbstractProject project, UsersGroup group, boolean limitations) Assigns a group to the binding between the given project-user pairstatic void
ProjectUserBindingsManager.updateLanguagesToPUBinding
(STUser user, AbstractProject project, Collection<String> languages) Removes a language from the binding between the given project-user pairstatic void
UsersManager.updateUserAddress
(STUser user, String newValue) Updates the address of the given user and returns it updatedstatic void
UsersManager.updateUserAffiliation
(STUser user, String newValue) Updates the affiliation of the given user and returns it updatedstatic void
UsersManager.updateUserAvatarUrl
(STUser user, String newValue) Updates the url of the given user and returns it updatedstatic STUser
UsersManager.updateUserCustomProperty
(STUser user, org.eclipse.rdf4j.model.IRI property, String value) Updates the value of a custom property of the given user and returns it updatedstatic void
UsersManager.updateUserEmail
(STUser user, String newValue) Updates the email of the given user and returns it updatedstatic void
UsersManager.updateUserFamilyName
(STUser user, String newValue) Updates the last name of the given user and returns it updatedstatic void
UsersManager.updateUserGivenName
(STUser user, String newValue) Updates the first name of the given user and returns it updatedstatic void
UsersManager.updateUserLanguageProficiencies
(STUser user, Collection<String> newValue) Updates the language proficiencies of the given user and returns it updatedstatic void
UsersManager.updateUserPassword
(STUser user, String newPassword) Updates the password of the given user and returns it updatedstatic void
UsersManager.updateUserPhone
(STUser user, String newValue) Updates the phone number of the given user and returns it updatedstatic void
UsersManager.updateUserStatus
(STUser user, UserStatus newValue) Updates the status of the given user and returns it updatestatic void
UsersManager.updateUserUrl
(STUser user, String newValue) Updates the url of the given user and returns it updated -
Uses of STUser in it.uniroma2.art.semanticturkey.user.notification
Modifier and TypeMethodDescriptionboolean
NotificationPreferencesAPI.addToUser
(STUser user, Project project, RDFResourceRole role, NotificationPreferencesAPI.Action action) void
NotificationPreferencesAPI.addToUser
(STUser user, Project project, Map<RDFResourceRole, List<NotificationPreferencesAPI.Action>> preferences) boolean
NotificationPreferencesAPI.addToUser
(STUser user, Project project, org.eclipse.rdf4j.model.Resource resource) boolean
UserNotificationsAPI.clearNotifications
(STUser user) boolean
UserNotificationsAPI.clearNotifications
(STUser user, Project project) NotificationPreferencesAPI.getRoleActionsNotificationPreferences
(Project project, STUser user) List<org.eclipse.rdf4j.model.Resource>
NotificationPreferencesAPI.listResourcesFromUserInProject
(Project project, STUser user) Returns the resources that a user is watching in a project.boolean
NotificationPreferencesAPI.removeProjResFromUser
(STUser user, Project project, org.eclipse.rdf4j.model.Resource resource) boolean
NotificationPreferencesAPI.removeProjRoleActionFromUser
(STUser user, Project project, RDFResourceRole role, NotificationPreferencesAPI.Action action) boolean
NotificationPreferencesAPI.removeUser
(STUser user) boolean
UserNotificationsAPI.removeUser
(STUser user) UserNotificationsAPI.retrieveNotifications
(STUser user) UserNotificationsAPI.retrieveNotifications
(STUser user, Project project) boolean
UserNotificationsAPI.storeNotification
(STUser user, Project project, org.eclipse.rdf4j.model.Resource resource, RDFResourceRole role, NotificationPreferencesAPI.Action action)