Class PrismReferenceWrapperFactory<R extends Referencable>
java.lang.Object
com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl<PrismReferenceWrapper<R>,PrismReferenceValue,PrismReference,PrismReferenceValueWrapperImpl<R>>
com.evolveum.midpoint.gui.impl.factory.wrapper.PrismReferenceWrapperFactory<R>
- All Implemented Interfaces:
ItemWrapperFactory<PrismReferenceWrapper<R>,
,PrismReferenceValueWrapperImpl<R>, PrismReferenceValue> WrapperFactory
- Direct Known Subclasses:
ChildOfReportParamWrapperFactory
,ResourceObjectTypeArchetypeWrapperFactory
,TenantRefWrapperFactory
@Component
@Primary
public class PrismReferenceWrapperFactory<R extends Referencable>
extends ItemWrapperFactoryImpl<PrismReferenceWrapper<R>,PrismReferenceValue,PrismReference,PrismReferenceValueWrapperImpl<R>>
- Author:
- katka
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PrismReferenceValue
createNewValue
(PrismReference item) createValueWrapper
(PrismReferenceWrapper<R> parent, PrismReferenceValue value, ValueStatus status, WrapperContext context) protected PrismReferenceWrapper<R>
createWrapperInternal
(PrismContainerValueWrapper<?> parent, PrismReference item, ItemStatus status, WrapperContext ctx) int
getOrder()
boolean
match
(ItemDefinition<?> def) void
register()
void
registerWrapperPanel
(PrismReferenceWrapper<R> wrapper) protected void
setupWrapper
(PrismReferenceWrapper<R> wrapper) Methods inherited from class com.evolveum.midpoint.gui.impl.factory.wrapper.ItemWrapperFactoryImpl
canCreateValueWrapper, canCreateWrapper, 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
-
PrismReferenceWrapperFactory
public PrismReferenceWrapperFactory()
-
-
Method Details
-
match
-
register
@PostConstruct public void register() -
getOrder
public int getOrder() -
createNewValue
- Specified by:
createNewValue
in classItemWrapperFactoryImpl<PrismReferenceWrapper<R extends Referencable>,
PrismReferenceValue, PrismReference, PrismReferenceValueWrapperImpl<R extends Referencable>>
-
createWrapperInternal
protected PrismReferenceWrapper<R> createWrapperInternal(PrismContainerValueWrapper<?> parent, PrismReference item, ItemStatus status, WrapperContext ctx) - Specified by:
createWrapperInternal
in classItemWrapperFactoryImpl<PrismReferenceWrapper<R extends Referencable>,
PrismReferenceValue, PrismReference, PrismReferenceValueWrapperImpl<R extends Referencable>>
-
createValueWrapper
public PrismReferenceValueWrapperImpl<R> createValueWrapper(PrismReferenceWrapper<R> parent, PrismReferenceValue value, ValueStatus status, WrapperContext context) -
registerWrapperPanel
- Specified by:
registerWrapperPanel
in classItemWrapperFactoryImpl<PrismReferenceWrapper<R extends Referencable>,
PrismReferenceValue, PrismReference, PrismReferenceValueWrapperImpl<R extends Referencable>>
-
setupWrapper
- Specified by:
setupWrapper
in classItemWrapperFactoryImpl<PrismReferenceWrapper<R extends Referencable>,
PrismReferenceValue, PrismReference, PrismReferenceValueWrapperImpl<R extends Referencable>>
-