Class CompiledGuiProfile
java.lang.Object
com.evolveum.midpoint.model.api.authentication.CompiledGuiProfile
- All Implemented Interfaces:
- DebugDumpable,- Serializable
Compiled user profile. This class contains information about configuration and customization
 of individual parts of user interface and user preferences. This class contains pre-processed
 information in a form that is suitable to direct use by user interface code. The GUI should not
 be required to do any complex processing on this.
 This idea is to compile the profile just once, on login time. Therefore only the authentication
 code (GuiProfiledPrincipalManager) should modify this object. It should be considered read-only for all other
 purposes.
 Later it may be split to interface and implementation parts.
- Since:
- 4.0
- Author:
- Radovan Semancik
- See Also:
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondebugDump(int indent) booleanderivedFrom(String oid) Returns true if compiled profile is derived from provided OID<O extends ObjectType>
 @NotNull List<CompiledObjectCollectionView>findAllApplicableArchetypeViews(@NotNull Class<O> objectType) <O extends ObjectType>
 @NotNull List<CompiledObjectCollectionView>findAllApplicableArchetypeViews(@NotNull Class<O> objectType, OperationTypeType operationType) @NotNull List<CompiledObjectCollectionView>findAllApplicableArchetypeViews(@NotNull QName objectType, OperationTypeType operationTypeType) Find all archetype views that are applicable for a particular object type.@NotNull List<CompiledObjectCollectionView>findAllApplicableObjectCollectionViews(@NotNull QName objectType) Find all views that are applicable for a particular object type.<O extends ObjectType>
 @NotNull List<CompiledObjectCollectionView>findAllApplicableObjectCollectionViews(Class<O> compileTimeClass) Find all views that are applicable for a particular object type.<O extends ObjectType>
 @Nullable CompiledObjectCollectionViewfindApplicableArchetypeView(@NotNull String archetypeOid) Find archetype view for archetype defined by oid.findFeature(String identifier) static <T extends UserInterfaceFeatureType>
 TfindFeature(List<T> features, String identifier) findObjectCollectionView(@NotNull QName objectType, String viewName) Compiled information about object list view for a particular type.<O extends ObjectType>
 GuiObjectDetailsPageTypefindObjectDetailsConfiguration(Class<O> compileTimeClass) <O extends ObjectType>
 GuiObjectDetailsPageTypefindObjectDetailsConfiguration(QName typeQName) findPrincipalFocusDetailsPanel(@NotNull QName focusType, @NotNull String panelType) <O extends ObjectType>
 GuiResourceDetailsPageTypefindResourceDetailsConfiguration(String connectorOid) findShadowCollectionView(@NotNull String resourceOid, ShadowKindType kindType, String intent) <O extends ObjectType>
 GuiShadowDetailsPageTypefindShadowDetailsConfiguration(ResourceShadowCoordinates coordinates) @NotNull List<RichHyperlinkType>Default list view setting should never be needed publicly.getFeatureVisibility(String identifier) byte[]@NotNull List<CompiledObjectCollectionView>Compiled information about all configured object list views.May change in the future.@NotNull List<CompiledShadowCollectionView>@NotNull List<RichHyperlinkType>Very likely to change in the future (for "flexible dashboards" feature).booleanisFeatureVisible(String identifier) booleanisFeatureVisible(String identifier, BooleanSupplier automaticPredicate) booleanstatic booleanisVisible(UserInterfaceElementVisibilityType visibility, BooleanSupplier automaticPredicate) voidvoidsetAccessRequest(AccessRequestType accessRequest) voidsetApprovals(AdminGuiApprovalsConfigurationType approvals) voidsetDefaultExportSettings(GuiExportSettingsType defaultExportSettings) voidsetDefaultObjectCollectionView(CompiledObjectCollectionView defaultObjectCollectionView) voidsetDefaultTimezone(String defaultTimezone) voidsetDependencies(Set<String> value) voidsetDisplayFormats(AdminGuiConfigurationDisplayFormatsType displayFormats) voidsetEnableExperimentalFeatures(Boolean enableExperimentalFeatures) voidsetFeedbackMessagesHook(FeedbackMessagesHookType feedbackMessagesHook) voidsetHomePage(HomePageType homePage) voidsetJpegPhoto(byte[] jpegPhoto) voidvoidsetObjectDetails(GuiObjectDetailsSetType objectDetails) voidsetPreferredDataLanguage(String preferredDataLanguage) voidsetRoleManagement(AdminGuiConfigurationRoleManagementType roleManagement) voidsetSelfProfilePage(GuiObjectDetailsPageType selfProfilePage) voidsetUseNewDesign(Boolean useNewDesign) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Constructor Details- 
CompiledGuiProfilepublic CompiledGuiProfile()
 
- 
- 
Method Details- 
getDefaultTimezone
- 
setDefaultTimezone
- 
getPreferredDataLanguage
- 
setPreferredDataLanguage
- 
isEnableExperimentalFeatures
- 
setEnableExperimentalFeatures
- 
setUseNewDesign
- 
isUseNewDesign
- 
getSelfProfilePage
- 
setSelfProfilePage
- 
getAdditionalMenuLink
- 
getUserDashboardLinkVery likely to change in the future (for "flexible dashboards" feature).
- 
getConfigurableDashboards
- 
getObjectCollectionViewsCompiled information about all configured object list views.
- 
getShadowCollectionViews
- 
findObjectCollectionViewpublic CompiledObjectCollectionView findObjectCollectionView(@NotNull @NotNull QName objectType, String viewName) Compiled information about object list view for a particular type. If viewName is null then it returns view definition for "all objects" view, e.g. "all users", "all roles".
- 
findShadowCollectionViewpublic CompiledShadowCollectionView findShadowCollectionView(@NotNull @NotNull String resourceOid, ShadowKindType kindType, String intent) 
- 
findAllApplicableObjectCollectionViews@NotNull public @NotNull List<CompiledObjectCollectionView> findAllApplicableObjectCollectionViews(@NotNull @NotNull QName objectType) Find all views that are applicable for a particular object type. Returns views for all collections and archetypes that are applicable for that type. Ideal to be used in constructing menus.
- 
findAllApplicableArchetypeViews@NotNull public @NotNull List<CompiledObjectCollectionView> findAllApplicableArchetypeViews(@NotNull @NotNull QName objectType, OperationTypeType operationTypeType) Find all archetype views that are applicable for a particular object type. Returns views for archetypes that are applicable for that type.
- 
findAllApplicableArchetypeViews@NotNull public <O extends ObjectType> @NotNull List<CompiledObjectCollectionView> findAllApplicableArchetypeViews(@NotNull @NotNull Class<O> objectType) 
- 
findAllApplicableArchetypeViews@NotNull public <O extends ObjectType> @NotNull List<CompiledObjectCollectionView> findAllApplicableArchetypeViews(@NotNull @NotNull Class<O> objectType, OperationTypeType operationType) 
- 
findApplicableArchetypeView@Nullable public <O extends ObjectType> @Nullable CompiledObjectCollectionView findApplicableArchetypeView(@NotNull @NotNull String archetypeOid) Find archetype view for archetype defined by oid.
- 
findAllApplicableObjectCollectionViews@NotNull public <O extends ObjectType> @NotNull List<CompiledObjectCollectionView> findAllApplicableObjectCollectionViews(Class<O> compileTimeClass) Find all views that are applicable for a particular object type. Returns views for all collections and archetypes that are applicable for that type. Ideal to be used in costructing menus.
- 
getDefaultObjectCollectionViewDefault list view setting should never be needed publicly. Always check setting for specific object type (and archetype).
- 
setDefaultObjectCollectionViewpublic void setDefaultObjectCollectionView(CompiledObjectCollectionView defaultObjectCollectionView) 
- 
getDefaultExportSettings
- 
setDefaultExportSettings
- 
getObjectDetailsMay change in the future.
- 
setObjectDetails
- 
findObjectDetailsConfigurationpublic <O extends ObjectType> GuiObjectDetailsPageType findObjectDetailsConfiguration(Class<O> compileTimeClass) 
- 
findObjectDetailsConfigurationpublic <O extends ObjectType> GuiObjectDetailsPageType findObjectDetailsConfiguration(QName typeQName) 
- 
findResourceDetailsConfigurationpublic <O extends ObjectType> GuiResourceDetailsPageType findResourceDetailsConfiguration(String connectorOid) 
- 
findShadowDetailsConfigurationpublic <O extends ObjectType> GuiShadowDetailsPageType findShadowDetailsConfiguration(ResourceShadowCoordinates coordinates) 
- 
getFeedbackMessagesHook
- 
setFeedbackMessagesHook
- 
getRoleManagement
- 
setRoleManagement
- 
getApprovals
- 
setApprovals
- 
isExpandRolesOnApprovalPreview
- 
getFeatures
- 
findFeature
- 
findFeaturepublic static <T extends UserInterfaceFeatureType> T findFeature(List<T> features, String identifier) 
- 
getDisplayFormats
- 
setDisplayFormats
- 
getJpegPhotopublic byte[] getJpegPhoto()
- 
setJpegPhotopublic void setJpegPhoto(byte[] jpegPhoto) 
- 
getLocale
- 
setLocale
- 
getFeatureVisibility
- 
isFeatureVisible
- 
isFeatureVisible
- 
isVisiblepublic static boolean isVisible(UserInterfaceElementVisibilityType visibility, BooleanSupplier automaticPredicate) 
- 
getAccessRequest
- 
setAccessRequest
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
derivedFromReturns true if compiled profile is derived from provided OID
- 
markInvalidpublic void markInvalid()
- 
isInvalidpublic boolean isInvalid()
- 
setDependencies
- 
getDependencies
- 
getHomePage
- 
setHomePage
- 
findPrincipalFocusDetailsPanelpublic ContainerPanelConfigurationType findPrincipalFocusDetailsPanel(@NotNull @NotNull QName focusType, @NotNull @NotNull String panelType) 
 
-