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 Details

    • getModelService

      ModelService getModelService()
    • getModelInteractionService

      ModelInteractionService getModelInteractionService()
    • getDashboardService

      DashboardService getDashboardService()
    • getLocalizationService

      LocalizationService getLocalizationService()
    • createSimpleTask

      com.evolveum.midpoint.task.api.Task createSimpleTask(String operationName)
    • getPageTask

      com.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.
    • getPrismContext

      PrismContext getPrismContext()
    • getSecurityEnforcer

      com.evolveum.midpoint.security.enforcer.api.SecurityEnforcer getSecurityEnforcer()
    • getSecurityContextManager

      com.evolveum.midpoint.security.api.SecurityContextManager getSecurityContextManager()
    • getExpressionFactory

      com.evolveum.midpoint.repo.common.expression.ExpressionFactory getExpressionFactory()
    • getCompiledGuiProfile

      @NotNull @NotNull CompiledGuiProfile getCompiledGuiProfile()
      Returns 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).
    • getModelObjectResolver

      default com.evolveum.midpoint.repo.common.ObjectResolver getModelObjectResolver()
    • getLocale

      Locale getLocale()
    • getRegistry

      GuiComponentRegistry 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, PV extends PrismValue> VW createValueWrapper(IW parentWrapper, PV newValue, ValueStatus status, WrapperContext context) throws SchemaException
      Throws:
      SchemaException
    • getFormValidatorRegistry

      MidpointFormValidatorRegistry getFormValidatorRegistry()
    • getAdminGuiConfigurationMergeManager

      AdminGuiConfigurationMergeManager getAdminGuiConfigurationMergeManager()
    • getCorrelationService

      CorrelationService getCorrelationService()
    • getSimulationResultManager

      SimulationResultManager getSimulationResultManager()
      Experimental, functionality will be probably later hidden behind ModelInteractionService
    • getRoleAnalysisService

      RoleAnalysisService getRoleAnalysisService()