Interface ModelServiceLocator
-
- All Known Implementing Classes:
AbstractPageLogin
,AbstractPageObjectDetails
,AbstractPageRemoteAuthenticationSelect
,PageAbout
,PageAbstractFlow
,PageAbstractRole
,PageAccessCertification
,PageAccountActivation
,PageAdmin
,PageAdminCases
,PageAdminCaseWorkItems
,PageAdminCertification
,PageAdminConfiguration
,PageAdminHome
,PageAdminLTE
,PageAdminTasks
,PageAdminWorkItems
,PageArchetype
,PageArchetypes
,PageAssignmentHolderDetails
,PageAttorneySelection
,PageAttributeVerification
,PageAuditLogDetails
,PageAuditLogViewer
,PageAuthenticationBase
,PageBase
,PageBaseSystemConfiguration
,PageBulkAction
,PageCase
,PageCases
,PageCaseWorkItem
,PageCaseWorkItems
,PageCaseWorkItemsAll
,PageCaseWorkItemsAllocatedToMe
,PageCertCampaign
,PageCertCampaigns
,PageCertDecisions
,PageCertDecisionsAll
,PageCertDefinition
,PageCertDefinitions
,PageConnectorHosts
,PageCreatedReports
,PageDashboard
,PageDashboardConfigurable
,PageDashboardInfo
,PageDebugList
,PageDebugView
,PageEmailNonce
,PageError
,PageError401
,PageError403
,PageError404
,PageError410
,PageEvaluateMapping
,PageFocusDetails
,PageFocusIdentification
,PageFocusPreviewChanges
,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
,PageRegistrationConfirmation
,PageRegistrationFinish
,PageReport
,PageReports
,PageRepositoryQuery
,PageRequestAccess
,PageResetPassword
,PageResource
,PageResources
,PageResourceTemplates
,PageResourceVisualization
,PageResourceWizard
,PageRole
,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 Summary
-
-
-
Method Detail
-
getModelService
ModelService getModelService()
-
getModelInteractionService
ModelInteractionService getModelInteractionService()
-
getDashboardService
DashboardService getDashboardService()
-
getLocalizationService
LocalizationService getLocalizationService()
-
getPageTask
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
SecurityEnforcer getSecurityEnforcer()
-
getSecurityContextManager
SecurityContextManager getSecurityContextManager()
-
getExpressionFactory
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 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 behindModelInteractionService
-
-