Class ResourceAttributeWrapperFactoryImpl<T>
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
-
- com.evolveum.midpoint.gui.impl.factory.wrapper.ResourceAttributeWrapperFactoryImpl<T>
-
- All Implemented Interfaces:
ItemWrapperFactory<ResourceAttributeWrapper<T>,PrismPropertyValueWrapper<T>,PrismPropertyValue<T>>,WrapperFactory
@Component public class ResourceAttributeWrapperFactoryImpl<T> extends ItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
- Author:
- skublik
-
-
Constructor Summary
Constructors Constructor Description ResourceAttributeWrapperFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanCreateWrapper(ItemDefinition<?> def, ItemStatus status, WrapperContext context, boolean isEmptyValue)protected PrismPropertyValue<T>createNewValue(ResourceAttribute<T> item)PrismPropertyValueWrapper<T>createValueWrapper(ResourceAttributeWrapper<T> parent, PrismPropertyValue<T> value, ValueStatus status, WrapperContext context)protected ResourceAttributeWrapper<T>createWrapperInternal(PrismContainerValueWrapper<?> parent, ResourceAttribute<T> childContainer, ItemStatus status, WrapperContext ctx)intgetOrder()booleanmatch(ItemDefinition<?> def)voidregister()voidregisterWrapperPanel(ResourceAttributeWrapper<T> wrapper)protected voidsetupWrapper(ResourceAttributeWrapper<T> wrapper)-
Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl
canCreateValueWrapper, createValuesWrapper, createWrapper, createWrapper, getModelInteractionService, getModelService, getPrismContext, getRegistry, getTaskManager, getValues, setupMetadata, shouldCreateEmptyValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.gui.api.factory.wrapper.WrapperFactory
match
-
-
-
-
Method Detail
-
match
public boolean match(ItemDefinition<?> def)
-
getOrder
public int getOrder()
-
createValueWrapper
public PrismPropertyValueWrapper<T> createValueWrapper(ResourceAttributeWrapper<T> parent, PrismPropertyValue<T> value, ValueStatus status, WrapperContext context)
-
register
@PostConstruct public void register()
-
setupWrapper
protected void setupWrapper(ResourceAttributeWrapper<T> wrapper)
- Specified by:
setupWrapperin classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
-
createNewValue
protected PrismPropertyValue<T> createNewValue(ResourceAttribute<T> item) throws SchemaException
- Specified by:
createNewValuein classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>- Throws:
SchemaException
-
createWrapperInternal
protected ResourceAttributeWrapper<T> createWrapperInternal(PrismContainerValueWrapper<?> parent, ResourceAttribute<T> childContainer, ItemStatus status, WrapperContext ctx)
- Specified by:
createWrapperInternalin classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
-
registerWrapperPanel
public void registerWrapperPanel(ResourceAttributeWrapper<T> wrapper)
- Specified by:
registerWrapperPanelin classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
-
canCreateWrapper
protected boolean canCreateWrapper(ItemDefinition<?> def, ItemStatus status, WrapperContext context, boolean isEmptyValue)
- Overrides:
canCreateWrapperin classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
-
-