Interface ModelServiceLocator
- All Known Implementing Classes:
- AbstractPageLogin,- AbstractPageObjectDetails,- AbstractPageRemoteAuthenticationSelect,- PageAbout,- PageAbstractAttributeVerification,- PageAbstractAuthenticationModule,- PageAbstractFlow,- PageAbstractRole,- PageAccessCertification,- PageAccountActivation,- PageAdmin,- PageAdminCases,- PageAdminCaseWorkItems,- PageAdminCertification,- PageAdminConfiguration,- PageAdminHome,- PageAdminLTE,- PageAdminTasks,- PageAdminWorkItems,- PageArchetype,- PageArchetypes,- PageArchetypeSelection,- PageAssignmentHolderDetails,- PageAttorneySelection,- PageAttributeVerification,- PageAuditLogDetails,- PageAuditLogViewer,- PageAuthorizationPlayground,- PageBase,- PageBaseSystemConfiguration,- PageBulkAction,- PageCase,- PageCases,- PageCaseWorkItem,- PageCaseWorkItems,- PageCaseWorkItemsAll,- PageCaseWorkItemsAllocatedToMe,- PageCertCampaign,- PageCertCampaigns,- PageCertDecisions,- PageCertDecisionsAll,- PageCertDefinition,- PageCertDefinitions,- PageConnectorHosts,- PageCorrelation,- PageCreatedReports,- PageDashboard,- PageDashboardConfigurable,- PageDashboardInfo,- PageDebugList,- PageDebugView,- PageDuoSelect,- PageEmailNonce,- PageError,- PageError401,- PageError403,- PageError404,- PageError410,- PageEvaluateMapping,- PageFocusDetails,- PageFocusIdentification,- PageFocusPreviewChanges,- PageIdentityRecovery,- PageImportObject,- PageImportResource,- PageInternals,- PageInvitation,- PageLogin,- PageMark,- PageMarks,- PageMergeObjects,- PageMessageTemplate,- PageMessageTemplates,- PageNodes,- PageObjectCollection,- PageObjectCollections,- PageObjectTemplate,- PageObjectTemplates,- PageOidcSelect,- PageOperationResult,- PageOrg,- PageOrgHistory,- PageOrgs,- PageOrgSelfProfile,- PageOrgTree,- PagePasswordHint,- PagePostAuthentication,- PageProfiling,- PageRegistrationBase,- PageRegistrationFinish,- PageReport,- PageReports,- PageRepositoryQuery,- PageRequestAccess,- PageResetPassword,- PageResource,- PageResources,- PageResourceVisualization,- PageRole,- PageRoleAnalysis,- PageRoleAnalysisCluster,- PageRoleAnalysisSession,- PageRoleHistory,- PageRoleManagement,- PageRoles,- PageRoleSelfProfile,- PageSamlSelect,- PageSecurityQuestions,- PageSelf,- PageSelfConsents,- PageSelfCredentials,- PageSelfDashboard,- PageSelfProfile,- PageSelfRegistration,- PageService,- PageServiceHistory,- PageServices,- PageServiceSelfProfile,- PageShadow,- PageShadows,- PageSimulationResult,- PageSimulationResultObject,- PageSimulationResultObjects,- PageSimulationResults,- PageSystemAdminGui,- PageSystemBasic,- PageSystemConfiguration,- PageSystemInternals,- PageSystemLogging,- PageSystemNotification,- PageSystemPolicies,- PageSystemWorkflow,- PageTask,- PageTasks,- PageTasksCertScheduling,- PageTestNoAuthorizations,- PageTraceView,- PageUser,- PageUserHistory,- PageUsers,- PageUserSelfProfile,- PageWorkItemsAttorney,- PageWorkItemsClaimable,- PageXmlDataReview
public interface ModelServiceLocator
Interface that allows location of model and model-like services,
 such as ModelService and ModelInteractionService.
 Used by GUI components that need to interact with the midPoint IDM model,
 especially for loading data.
 Usually implemented by PageBase and similar "central" GUI classes.
- Author:
- Radovan Semancik
- 
Method SummaryModifier and TypeMethodDescription<I extends Item,IW extends ItemWrapper> 
 IWcreateItemWrapper(I item, ItemStatus status, WrapperContext ctx) com.evolveum.midpoint.task.api.TaskcreateSimpleTask(String operationName) <IW extends ItemWrapper,VW extends PrismValueWrapper, PV extends PrismValue> 
 VWcreateValueWrapper(IW parentWrapper, PV newValue, ValueStatus status, WrapperContext context) <O extends ObjectType>
 PrismObjectWrapperFactory<O>findObjectWrapperFactory(PrismObjectDefinition<O> objectDef) @NotNull CompiledGuiProfileReturns currently applicable user profile, compiled for efficient use in the user interface.com.evolveum.midpoint.repo.common.expression.ExpressionFactorydefault com.evolveum.midpoint.repo.common.ObjectResolvercom.evolveum.midpoint.task.api.TaskReturns a task, that is used to retrieve and render the entire content of the page.com.evolveum.midpoint.security.api.SecurityContextManagercom.evolveum.midpoint.security.enforcer.api.SecurityEnforcerExperimental, functionality will be probably later hidden behindModelInteractionService
- 
Method Details- 
getModelServiceModelService getModelService()
- 
getModelInteractionServiceModelInteractionService getModelInteractionService()
- 
getDashboardServiceDashboardService getDashboardService()
- 
getLocalizationServiceLocalizationService getLocalizationService()
- 
createSimpleTask
- 
getPageTaskcom.evolveum.midpoint.task.api.Task getPageTask()Returns a task, that is used to retrieve and render the entire content of the page. A single task is created to render the whole page, so the summary result can be collected in the task result.
- 
getPrismContextPrismContext getPrismContext()
- 
getSecurityEnforcercom.evolveum.midpoint.security.enforcer.api.SecurityEnforcer getSecurityEnforcer()
- 
getSecurityContextManagercom.evolveum.midpoint.security.api.SecurityContextManager getSecurityContextManager()
- 
getExpressionFactorycom.evolveum.midpoint.repo.common.expression.ExpressionFactory getExpressionFactory()
- 
getCompiledGuiProfileReturns currently applicable user profile, compiled for efficient use in the user interface. applicable to currently logged-in user. Strictly speaking, this can be retrieved from modelInteractionService. But having a separate function for that allows to get rid of task and result parameters. And more importantly: this allows to cache adminGuiConfig in the page (in case many components need it).
- 
getModelObjectResolverdefault com.evolveum.midpoint.repo.common.ObjectResolver getModelObjectResolver()
- 
getLocaleLocale getLocale()
- 
getRegistryGuiComponentRegistry getRegistry()
- 
findObjectWrapperFactory<O extends ObjectType> PrismObjectWrapperFactory<O> findObjectWrapperFactory(PrismObjectDefinition<O> objectDef) 
- 
createItemWrapper<I extends Item,IW extends ItemWrapper> IW createItemWrapper(I item, ItemStatus status, WrapperContext ctx) throws SchemaException - Throws:
- SchemaException
 
- 
createValueWrapper<IW extends ItemWrapper,VW extends PrismValueWrapper, VW createValueWrapperPV extends PrismValue> (IW parentWrapper, PV newValue, ValueStatus status, WrapperContext context) throws SchemaException - Throws:
- SchemaException
 
- 
getFormValidatorRegistryMidpointFormValidatorRegistry getFormValidatorRegistry()
- 
getAdminGuiConfigurationMergeManagerAdminGuiConfigurationMergeManager getAdminGuiConfigurationMergeManager()
- 
getCorrelationServiceCorrelationService getCorrelationService()
- 
getSimulationResultManagerSimulationResultManager getSimulationResultManager()Experimental, functionality will be probably later hidden behindModelInteractionService
- 
getRoleAnalysisServiceRoleAnalysisService getRoleAnalysisService()
 
-