Class GuiProfileCompiler
java.lang.Object
com.evolveum.midpoint.model.impl.security.GuiProfileCompiler
Compiles user interface profile for a particular user. The profile contains essential information needed to efficiently render
user interface pages for specified user.
This methods in this component may be quite costly to invoke. Therefore it should NOT be invoked for every request.
The methods are supposed to be invoked once (or several times) during user's session. The result of this method should be
cached in web session (in principal).
- Author:
- Radovan semancik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncompileFocusProfile
(@NotNull List<AdminGuiConfigurationType> adminGuiConfigurations, PrismObject<SystemConfigurationType> systemConfiguration, GuiProfiledPrincipal principal, Task task, OperationResult result) @NotNull CompiledGuiProfile
compileFocusProfile
(@NotNull List<AdminGuiConfigurationType> adminGuiConfigurations, PrismObject<SystemConfigurationType> systemConfiguration, Task task, OperationResult result) void
compileView
(CompiledObjectCollectionView existingView, GuiObjectListViewType objectListViewType, Task task, OperationResult result) getGlobalCompiledGuiProfile
(Task task, OperationResult parentResult)
-
Constructor Details
-
GuiProfileCompiler
public GuiProfileCompiler()
-
-
Method Details
-
compileFocusProfile
@NotNull public @NotNull CompiledGuiProfile compileFocusProfile(@NotNull @NotNull List<AdminGuiConfigurationType> adminGuiConfigurations, PrismObject<SystemConfigurationType> systemConfiguration, Task task, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException, ObjectNotFoundException -
compileFocusProfile
public CompiledGuiProfile compileFocusProfile(@NotNull @NotNull List<AdminGuiConfigurationType> adminGuiConfigurations, PrismObject<SystemConfigurationType> systemConfiguration, GuiProfiledPrincipal principal, Task task, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException, ObjectNotFoundException -
compileView
public void compileView(CompiledObjectCollectionView existingView, GuiObjectListViewType objectListViewType, Task task, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException, ObjectNotFoundException -
getGlobalCompiledGuiProfile
public CompiledGuiProfile getGlobalCompiledGuiProfile(Task task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-