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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canCreateWrapper
(ItemDefinition<?> def, ItemStatus status, WrapperContext context, boolean isEmptyValue) protected PrismPropertyValue<T>
createNewValue
(ResourceAttribute<T> item) 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
-
Constructor Details
-
ResourceAttributeWrapperFactoryImpl
public ResourceAttributeWrapperFactoryImpl()
-
-
Method Details
-
match
-
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
- Specified by:
setupWrapper
in classItemWrapperFactoryImpl<ResourceAttributeWrapper<T>,
PrismPropertyValue<T>, ResourceAttribute<T>, PrismPropertyValueWrapper<T>>
-
createNewValue
- 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
- 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>>
-