Class GuiProfileCompiler
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.security.GuiProfileCompiler
-
@Component public class GuiProfileCompiler extends Object
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
Constructors Constructor Description GuiProfileCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompiledGuiProfile
compileFocusProfile(@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
compileFocusProfile(GuiProfiledPrincipal principal, PrismObject<SystemConfigurationType> systemConfiguration, AuthorizationTransformer authorizationTransformer, Task task, OperationResult result)
void
compileView(CompiledObjectCollectionView existingView, GuiObjectListViewType objectListViewType, Task task, OperationResult result)
CompiledGuiProfile
getGlobalCompiledGuiProfile(Task task, OperationResult parentResult)
-
-
-
Method Detail
-
compileFocusProfile
public void compileFocusProfile(GuiProfiledPrincipal principal, PrismObject<SystemConfigurationType> systemConfiguration, AuthorizationTransformer authorizationTransformer, Task task, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException, ObjectNotFoundException
-
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
-
-