Class PrismObjectWrapperFactoryImpl<O extends ObjectType>
java.lang.Object
com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl<PrismContainerWrapper<C>,PrismContainerValue<C>,PrismContainer<C>,PrismContainerValueWrapper<C>>
   
com.evolveum.midpoint.gui.impl.factory.wrapper.PrismContainerWrapperFactoryImpl<O>
com.evolveum.midpoint.gui.impl.factory.wrapper.PrismObjectWrapperFactoryImpl<O>
- All Implemented Interfaces:
- ItemWrapperFactory<PrismContainerWrapper<O>,,- PrismContainerValueWrapper<O>, - PrismContainerValue<O>> - PrismContainerWrapperFactory<O>,- PrismObjectWrapperFactory<O>,- WrapperFactory,- ContainerableDuplicateResolver<O>
- Direct Known Subclasses:
- AssignmentHolderWrapperFactoryImpl,- ResourceWrapperFactoryImpl,- ShadowWrapperFactoryImpl,- TaskWrapperFactoryImpl
@Component
public class PrismObjectWrapperFactoryImpl<O extends ObjectType>
extends PrismContainerWrapperFactoryImpl<O>
implements ContainerableDuplicateResolver<O>, PrismObjectWrapperFactory<O>
- Author:
- katka
- 
Field SummaryFields inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.PrismContainerWrapperFactoryImplVIRTUAL_CONTAINER
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidapplySecurityConstraints(PrismObject<O> object, WrapperContext context) createContainerValueWrapper(PrismContainerWrapper<O> objectWrapper, PrismContainerValue<O> objectValue, ValueStatus status, WrapperContext context) createObjectWrapper(PrismObject<O> object, ItemStatus status) createObjectWrapper(PrismObject<O> object, ItemStatus status, WrapperContext context) createValueWrapper(PrismContainerWrapper<O> parent, PrismContainerValue<O> value, ValueStatus status, WrapperContext context) duplicateObject(O originalObject, PageBase pageBase) intgetOrder()booleanmatch(ItemDefinition<?> def) voidregister()protected voidsetupContextWithMetadataProcessing(PrismObject<O> object, WrapperContext context) voidupdateWrapper(PrismObjectWrapper<O> wrapper, WrapperContext context) Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.PrismContainerWrapperFactoryImpladdItemWrapper, createChildren, createChildWrapper, createNewValue, createVirtualWrappers, createWrapper, createWrapperInternal, getItemDefinitions, recomputeStatus, registerWrapperPanel, setupWrapper, shouldBeExpandedMethods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImplcanCreateValueWrapper, canCreateWrapper, createValuesWrapper, createWrapper, createWrapper, determineReadOnly, getModelInteractionService, getModelService, getPrismContext, getRegistry, getStatus, getTaskManager, getValues, setupMetadata, shouldCreateEmptyValue, skipCreateWrapperMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.ItemWrapperFactorycreateWrapper, createWrapperMethods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.WrapperFactorymatch
- 
Constructor Details- 
PrismObjectWrapperFactoryImplpublic PrismObjectWrapperFactoryImpl()
 
- 
- 
Method Details- 
createObjectWrapperpublic PrismObjectWrapper<O> createObjectWrapper(PrismObject<O> object, ItemStatus status, WrapperContext context) throws SchemaException - Specified by:
- createObjectWrapperin interface- PrismObjectWrapperFactory<O extends ObjectType>
- Throws:
- SchemaException
 
- 
updateWrapperpublic void updateWrapper(PrismObjectWrapper<O> wrapper, WrapperContext context) throws SchemaException - Specified by:
- updateWrapperin interface- PrismObjectWrapperFactory<O extends ObjectType>
- Throws:
- SchemaException
 
- 
createContainerValueWrapperpublic PrismObjectValueWrapper<O> createContainerValueWrapper(PrismContainerWrapper<O> objectWrapper, PrismContainerValue<O> objectValue, ValueStatus status, WrapperContext context) - Specified by:
- createContainerValueWrapperin interface- PrismContainerWrapperFactory<O extends ObjectType>
- Overrides:
- createContainerValueWrapperin class- PrismContainerWrapperFactoryImpl<O extends ObjectType>
 
- 
createObjectWrapper
- 
createValueWrapperpublic PrismContainerValueWrapper<O> createValueWrapper(PrismContainerWrapper<O> parent, PrismContainerValue<O> value, ValueStatus status, WrapperContext context) throws SchemaException - Specified by:
- createValueWrapperin interface- ItemWrapperFactory<PrismContainerWrapper<O extends ObjectType>,- PrismContainerValueWrapper<O extends ObjectType>, - PrismContainerValue<O extends ObjectType>> 
- Overrides:
- createValueWrapperin class- PrismContainerWrapperFactoryImpl<O extends ObjectType>
- Throws:
- SchemaException
 
- 
applySecurityConstraintsprotected void applySecurityConstraints(PrismObject<O> object, WrapperContext context) throws CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException - Parameters:
- object- apply security constraint to the object, update wrapper context with additional information, e.g. shadow related attributes, ...
- Throws:
- CommunicationException
- ObjectNotFoundException
- SchemaException
- SecurityViolationException
- ConfigurationException
- ExpressionEvaluationException
 
- 
setupContextWithMetadataProcessing
- 
match- Specified by:
- matchin interface- WrapperFactory
- Overrides:
- matchin class- PrismContainerWrapperFactoryImpl<O extends ObjectType>
 
- 
register@PostConstruct public void register()- Specified by:
- registerin interface- WrapperFactory
- Overrides:
- registerin class- PrismContainerWrapperFactoryImpl<O extends ObjectType>
 
- 
getOrderpublic int getOrder()- Specified by:
- getOrderin interface- WrapperFactory
- Overrides:
- getOrderin class- PrismContainerWrapperFactoryImpl<O extends ObjectType>
 
- 
duplicateObject- Specified by:
- duplicateObjectin interface- ContainerableDuplicateResolver<O extends ObjectType>
 
 
-