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 boolean
canCreateWrapper(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)
int
getOrder()
boolean
match(ItemDefinition<?> def)
void
register()
void
registerWrapperPanel(ResourceAttributeWrapper<T> wrapper)
protected void
setupWrapper(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:
setupWrapper
in classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
-
createNewValue
protected PrismPropertyValue<T> createNewValue(ResourceAttribute<T> item) throws SchemaException
- Specified by:
createNewValue
in 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:
createWrapperInternal
in classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
-
registerWrapperPanel
public void registerWrapperPanel(ResourceAttributeWrapper<T> wrapper)
- Specified by:
registerWrapperPanel
in classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
-
canCreateWrapper
protected boolean canCreateWrapper(ItemDefinition<?> def, ItemStatus status, WrapperContext context, boolean isEmptyValue)
- Overrides:
canCreateWrapper
in classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,PrismPropertyValue<T>,ResourceAttribute<T>,PrismPropertyValueWrapper<T>>
-
-