Uses of Class
de.xima.fc.mdl.WorkspaceScope
-
Packages that use WorkspaceScope Package Description de.xima.fc.gui.common.bean de.xima.fc.gui.common.event de.xima.fc.mdl Allgemeine Modellklassen, nicht Datenbankpersitiertde.xima.fc.mdl.plugin de.xima.fc.plugin de.xima.fc.proma.util de.xima.fc.security.malware -
-
Uses of WorkspaceScope in de.xima.fc.gui.common.bean
Methods in de.xima.fc.gui.common.bean that return WorkspaceScope Modifier and Type Method Description WorkspaceScope
ViewContextBean. getScope()
Gets the scope of the current view. -
Uses of WorkspaceScope in de.xima.fc.gui.common.event
Methods in de.xima.fc.gui.common.event that return WorkspaceScope Modifier and Type Method Description WorkspaceScope
PluginInstallSuccessEvent. getScope()
Constructors in de.xima.fc.gui.common.event with parameters of type WorkspaceScope Constructor Description PluginInstallSuccessEvent(WorkspaceScope scope, String pluginKey)
-
Uses of WorkspaceScope in de.xima.fc.mdl
Methods in de.xima.fc.mdl that return WorkspaceScope Modifier and Type Method Description static WorkspaceScope
WorkspaceScope. client(Mandant client)
Gets a workspace scope instance for a client.static WorkspaceScope
WorkspaceScope. of(Mandant scope)
Gets a workspace scope instance for the given scope, either a client scope when the given client is non-null, or the system scope otherwise.static WorkspaceScope
WorkspaceScope. system()
Gets the workspace scope instance for the system scope. -
Uses of WorkspaceScope in de.xima.fc.mdl.plugin
Methods in de.xima.fc.mdl.plugin that return WorkspaceScope Modifier and Type Method Description WorkspaceScope
PluginUpdateCheckResult. getCheckedScopeWithUpdates()
WorkspaceScope
ScopedPluginUpdateResult. getScope()
Gets the scope for which the update was performed.Methods in de.xima.fc.mdl.plugin that return types with arguments of type WorkspaceScope Modifier and Type Method Description Set<WorkspaceScope>
PluginsUpdateStepResult. getRequestedScopes()
Gets the scopes for which a plugin update was requested.Map<WorkspaceScope,ScopedPluginUpdateResult>
PluginsUpdateStepResult. getScopedResults()
Gets the map from each scope to the result of the plugin update for that scope.Methods in de.xima.fc.mdl.plugin with parameters of type WorkspaceScope Modifier and Type Method Description static PluginUpdateCheckResult
PluginUpdateCheckResult. empty(WorkspaceScope scope)
static ScopedPluginUpdateResult
ScopedPluginUpdateResult. forFailure(WorkspaceScope scope, Throwable error)
Creates a new update result for a failed update of plugins from a workspace scope.static ScopedPluginUpdateResult
ScopedPluginUpdateResult. forSuccess(WorkspaceScope scope, List<PluginUpdateResult> results)
Creates a new update result for a successful update of plugins from a workspace scope.static PluginUpdateCheckResult
PluginUpdateCheckResult. updateCheckResult(int numberOfAvailableUpdates, WorkspaceScope checkedScopeWithUpdates, Map<String,String> updatePluginMetaData)
Method parameters in de.xima.fc.mdl.plugin with type arguments of type WorkspaceScope Modifier and Type Method Description static PluginsUpdateStepResult
PluginsUpdateStepResult. forFailure(Set<WorkspaceScope> requestedScopes, Throwable error)
Creates a new result for a failed plugin update step.static PluginsUpdateStepResult
PluginsUpdateStepResult. forSuccess(Set<WorkspaceScope> requestedScopes, Map<WorkspaceScope,ScopedPluginUpdateResult> scopedResults)
Creates a new result for a successful plugin update step.static PluginsUpdateStepResult
PluginsUpdateStepResult. forSuccess(Set<WorkspaceScope> requestedScopes, Map<WorkspaceScope,ScopedPluginUpdateResult> scopedResults)
Creates a new result for a successful plugin update step. -
Uses of WorkspaceScope in de.xima.fc.plugin
Methods in de.xima.fc.plugin with parameters of type WorkspaceScope Modifier and Type Method Description static boolean
PluginTransactions. existsPluginWithPluginKey(IEntityContext ec, WorkspaceScope scope, String pluginKey)
Checks if a plugin with the given key exists within the given system or client scope.static boolean
PluginTransactions. existsPluginWithPluginKey(Supplier<IEntityContext> entityContextFactory, WorkspaceScope scope, String pluginKey)
Checks if a plugin with the given key exists within the given system or client scope.static APluginEntity<?,?,?>
PluginTransactions. newPluginEntityForJarFile(WorkspaceScope scope, IUser user, Path jarFile, PluginID pluginId)
Creates a new plugin entity with the data from the given JAR file.static IGenericDao<? extends APluginEntity<?,?,?>>
PluginTransactions. pluginDao(WorkspaceScope scope)
Gets the plugin DAO for plugins of the given scope, either the client plugin DAO or the system plugin DAO.static Set<PluginGroupMeta>
PluginTransactions. readAllPluginMeta(IEntityContext ec, WorkspaceScope scope)
Reads all plugins from the given scope, and returns the relevant meta data with the key and ID.static Set<PluginGroupMeta>
PluginTransactions. readAllPluginMeta(Supplier<IEntityContext> entityContextFactory, WorkspaceScope scope)
Reads all plugins from the given scope, and returns the relevant meta data with the key and ID.static List<VersionedPluginGroupMeta>
PluginTransactions. readAllPluginMetaWithVersions(IEntityContext ec, WorkspaceScope scope)
Reads all plugins from a given scope, including the version for each plugin, and returns a map from the plugin group to the set of all versions for that plugin group.static List<VersionedPluginGroupMeta>
PluginTransactions. readAllPluginMetaWithVersions(Supplier<IEntityContext> entityContextFactory, WorkspaceScope scope)
Reads all plugins from a given scope, including the version for each plugin, and returns a map from the plugin group to the set of all versions for that plugin group.static List<APluginEntity<?,?,?>>
PluginTransactions. readAllPluginsWithPluginKey(IEntityContext ec, WorkspaceScope scope, String pluginKey)
Reads all plugins with a given plugin key.static APluginEntity<?,?,?>
PluginTransactions. readById(IEntityContext ec, WorkspaceScope scope, long id)
Reads a plugin with the given ID from the given scope. -
Uses of WorkspaceScope in de.xima.fc.proma.util
Methods in de.xima.fc.proma.util that return types with arguments of type WorkspaceScope Modifier and Type Method Description static Set<WorkspaceScope>
PromaPluginUpdateCheck. findPluginScopesToCheckForUpdates(IEntityContext ec, IUser user, boolean forceUpdate)
Finds all client or system scopes for which the user is allowed to check for plugin updates.static Set<WorkspaceScope>
PromaPluginUpdateCheck. findPluginScopesToCheckForUpdates(IPublicPromaInvocationContext pc, boolean forceUpdate)
Finds all client or system scopes for which the userfrom the given context
is allowed to check for plugin updates.Methods in de.xima.fc.proma.util with parameters of type WorkspaceScope Modifier and Type Method Description static <R> StageChain<ScopedPluginUpdateResult,R>
PromaPluginUpdater. installOrUpdatePluginWithVersion(IPublicPromaInvocationContext pc, Locale locale, WorkspaceScope scope, String pluginKey, String targetVersion, EPluginValidationFailureTreatment validationFailureTreatment)
Installs or updates a plugin with the given plugin key from the remote repository, at the system or a client scope.static boolean
PromaAccessChecker. isPluginPromaRequestAllowedForScope(IUser user, WorkspaceScope scope)
Checks whether requests to PROMA concerning plugins (such as the plugin update check) are allowed for the given context and scope (a client scope or system scope) are allowed.static boolean
PromaAccessChecker. isPluginPromaRequestAllowedForScope(IPublicPromaInvocationContext pc, WorkspaceScope scope)
Checks whether requests to PROMA concerning plugins (such as the plugin update check) are allowed for the given context and scope (a client scope or system scope) are allowed.Method parameters in de.xima.fc.proma.util with type arguments of type WorkspaceScope Modifier and Type Method Description static <R> StageChain<List<PluginUpdateCheckResult>,R>
PromaPluginUpdateCheck. createPluginUpdateMessages(IPublicPromaInvocationContext pc, Set<WorkspaceScope> scopes)
This method generates all update notifications in the database for all existing client plugins and system plugins that needs an update.static <R> StageChain<PluginsUpdateStepResult,R>
PromaPluginUpdater. updateInstalledPlugins(IPublicPromaInvocationContext pc, Locale locale, Set<WorkspaceScope> scopes, EPluginValidationFailureTreatment validationFailureTreatment, String licenseKey)
For each given scopes, update all plugins that are connected to a remote repository.static <R> StageChain<PluginsUpdateStepResult,R>
PromaPluginUpdater. updateInstalledPlugins(IPublicPromaInvocationContext pc, Locale locale, Set<WorkspaceScope> scopes, EPluginValidationFailureTreatment validationFailureTreatment, BiPredicate<WorkspaceScope,PluginGroupMeta> pluginFilter, String licenseKey)
For each given scopes, update all plugins that are connected to a remote repository.static <R> StageChain<PluginsUpdateStepResult,R>
PromaPluginUpdater. updateInstalledPlugins(IPublicPromaInvocationContext pc, Locale locale, Set<WorkspaceScope> scopes, EPluginValidationFailureTreatment validationFailureTreatment, BiPredicate<WorkspaceScope,PluginGroupMeta> pluginFilter, String licenseKey)
For each given scopes, update all plugins that are connected to a remote repository. -
Uses of WorkspaceScope in de.xima.fc.security.malware
Methods in de.xima.fc.security.malware with parameters of type WorkspaceScope Modifier and Type Method Description static MalwareScanner
MalwareScanner. forScope(WorkspaceScope scope)
Creates a malware scanner for the given workspace scope.
-