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
- Direct Known Subclasses:
AssignmentHolderWrapperFactoryImpl,ResourceWrapperFactoryImpl,ShadowWrapperFactoryImpl
@Component
public class PrismObjectWrapperFactoryImpl<O extends ObjectType>
extends PrismContainerWrapperFactoryImpl<O>
implements PrismObjectWrapperFactory<O>
- Author:
- katka
-
Constructor Summary
Constructors -
Method Summary
Modifier 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) 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.PrismContainerWrapperFactoryImpl
addItemWrapper, createChildren, createChildWrapper, createNewValue, createWrapperInternal, getItemDefinitions, registerWrapperPanel, setupWrapper, shouldBeExpandedMethods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl
canCreateValueWrapper, canCreateWrapper, createValuesWrapper, createWrapper, createWrapper, getModelInteractionService, getModelService, getPrismContext, getRegistry, getTaskManager, getValues, setupMetadata, shouldCreateEmptyValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.ItemWrapperFactory
createWrapper, createWrapperMethods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.WrapperFactory
match
-
Constructor Details
-
PrismObjectWrapperFactoryImpl
public PrismObjectWrapperFactoryImpl()
-
-
Method Details
-
createObjectWrapper
public PrismObjectWrapper<O> createObjectWrapper(PrismObject<O> object, ItemStatus status, WrapperContext context) throws SchemaException - Specified by:
createObjectWrapperin interfacePrismObjectWrapperFactory<O extends ObjectType>- Throws:
SchemaException
-
updateWrapper
public void updateWrapper(PrismObjectWrapper<O> wrapper, WrapperContext context) throws SchemaException - Specified by:
updateWrapperin interfacePrismObjectWrapperFactory<O extends ObjectType>- Throws:
SchemaException
-
createContainerValueWrapper
public PrismObjectValueWrapper<O> createContainerValueWrapper(PrismContainerWrapper<O> objectWrapper, PrismContainerValue<O> objectValue, ValueStatus status, WrapperContext context) - Specified by:
createContainerValueWrapperin interfacePrismContainerWrapperFactory<O extends ObjectType>- Overrides:
createContainerValueWrapperin classPrismContainerWrapperFactoryImpl<O extends ObjectType>
-
createObjectWrapper
-
createValueWrapper
public PrismContainerValueWrapper<O> createValueWrapper(PrismContainerWrapper<O> parent, PrismContainerValue<O> value, ValueStatus status, WrapperContext context) throws SchemaException - Specified by:
createValueWrapperin interfaceItemWrapperFactory<PrismContainerWrapper<O extends ObjectType>,PrismContainerValueWrapper<O extends ObjectType>, PrismContainerValue<O extends ObjectType>> - Overrides:
createValueWrapperin classPrismContainerWrapperFactoryImpl<O extends ObjectType>- Throws:
SchemaException
-
applySecurityConstraints
protected 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:
CommunicationExceptionObjectNotFoundExceptionSchemaExceptionSecurityViolationExceptionConfigurationExceptionExpressionEvaluationException
-
setupContextWithMetadataProcessing
-
match
- Specified by:
matchin interfaceWrapperFactory- Overrides:
matchin classPrismContainerWrapperFactoryImpl<O extends ObjectType>
-
register
@PostConstruct public void register()- Specified by:
registerin interfaceWrapperFactory- Overrides:
registerin classPrismContainerWrapperFactoryImpl<O extends ObjectType>
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceWrapperFactory- Overrides:
getOrderin classPrismContainerWrapperFactoryImpl<O extends ObjectType>
-