Class WebPrismUtil
java.lang.Object
com.evolveum.midpoint.gui.api.util.WebPrismUtil
- Author:
- katka
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <C extends Containerable>
 voidcleanupEmptyContainers(PrismContainer<C> container) static <C extends Containerable>
 PrismContainerValue<C>static voidcollectWrappers(ItemWrapper iw, List<ItemWrapper> iws) static ProvenanceAcquisitionTypestatic <IW extends ItemWrapper,PV extends PrismValue, VW extends PrismValueWrapper> 
 VWcreateNewValueWrapper(IW itemWrapper, PV newValue, PageBase pageBase, org.apache.wicket.ajax.AjaxRequestTarget target) static <IW extends ItemWrapper,PV extends PrismValue, VW extends PrismValueWrapper> 
 VWcreateNewValueWrapper(IW itemWrapper, PV newValue, ModelServiceLocator modelServiceLocator) static <IW extends ItemWrapper,PV extends PrismValue, VW extends PrismValueWrapper> 
 VWcreateNewValueWrapper(IW itemWrapper, PV newValue, ModelServiceLocator modelServiceLocator, WrapperContext wrapperContext) static <IW extends ItemWrapper,PV extends PrismValue, VW extends PrismValueWrapper> 
 VWcreateNewValueWrapper(IW itemWrapper, PV newValue, ValueStatus status, ModelServiceLocator modelServiceLocator) static <IW extends ItemWrapper,PV extends PrismValue, VW extends PrismValueWrapper> 
 VWcreateNewValueWrapper(IW itemWrapper, PV newValue, ValueStatus status, ModelServiceLocator modelServiceLocator, WrapperContext context) static ItemPanelcreateVerticalPropertyPanel(String id, org.apache.wicket.model.IModel<? extends ItemWrapper<?, ?>> model, ItemPanelSettings origSettings) static <IW extends ItemWrapper>
 IWfindItemWrapper(ItemWrapper<?, ?> child, ItemPath absoluthPathToFind, Class<IW> wrapperClass) static <T> PrismPropertyWrapper<T>findPropertyWrapper(ItemWrapper<?, ?> child, ItemPath pathToFind) static <R extends Referencable>
 PrismReferenceWrapper<R>findReferenceWrapper(ItemWrapper<?, ?> child, ItemPath pathToFind) static <T> PrismPropertyValue<T>findSinglePropertyValue(ItemWrapper<?, ?> child, ItemPath pathToFind) static <R extends Referencable>
 PrismReferenceValuefindSingleReferenceValue(ItemWrapper<?, ?> child, ItemPath pathToFind) static <ID extends ItemDefinition<I>,I extends Item<?, ?>> 
 StringgetHelpText(ID def, Class<?> containerClass) static StringgetLocalizedDisplayName(Item item) static PrismContainerValue<ValueMetadataType>static booleanstatic <C extends Containerable>
 booleanisEmptyContainer(PrismContainer<C> container) static <C extends Containerable>
 booleanisUseAsEmptyValue(PrismContainerValue<C> valueAfter) static booleanisValueFromResourceTemplate(PrismValue valueFromDelta, PrismContainer parent) static List<ResourceAttributeDefinition>searchAttributeDefinitions(ResourceSchema schema, ResourceObjectTypeDefinitionType objectType) static voidsortContainers(List<PrismContainerWrapper<? extends Containerable>> containers) 
- 
Constructor Details- 
WebPrismUtilpublic WebPrismUtil()
 
- 
- 
Method Details- 
getHelpTextpublic static <ID extends ItemDefinition<I>,I extends Item<?, String getHelpText?>> (ID def, Class<?> containerClass) 
- 
createNewValueWrapperpublic static <IW extends ItemWrapper,PV extends PrismValue, VW createNewValueWrapperVW extends PrismValueWrapper> (IW itemWrapper, PV newValue, PageBase pageBase, org.apache.wicket.ajax.AjaxRequestTarget target) 
- 
createNewValueWrapperpublic static <IW extends ItemWrapper,PV extends PrismValue, VW createNewValueWrapperVW extends PrismValueWrapper> (IW itemWrapper, PV newValue, ModelServiceLocator modelServiceLocator) throws SchemaException - Throws:
- SchemaException
 
- 
createNewValueWrapperpublic static <IW extends ItemWrapper,PV extends PrismValue, VW createNewValueWrapperVW extends PrismValueWrapper> (IW itemWrapper, PV newValue, ModelServiceLocator modelServiceLocator, WrapperContext wrapperContext) throws SchemaException - Throws:
- SchemaException
 
- 
createNewValueWrapperpublic static <IW extends ItemWrapper,PV extends PrismValue, VW createNewValueWrapperVW extends PrismValueWrapper> (IW itemWrapper, PV newValue, ValueStatus status, ModelServiceLocator modelServiceLocator) throws SchemaException - Throws:
- SchemaException
 
- 
createNewValueWrapperpublic static <IW extends ItemWrapper,PV extends PrismValue, VW createNewValueWrapperVW extends PrismValueWrapper> (IW itemWrapper, PV newValue, ValueStatus status, ModelServiceLocator modelServiceLocator, WrapperContext context) throws SchemaException - Throws:
- SchemaException
 
- 
findItemWrapperpublic static <IW extends ItemWrapper> IW findItemWrapper(ItemWrapper<?, ?> child, ItemPath absoluthPathToFind, Class<IW> wrapperClass) 
- 
findReferenceWrapperpublic static <R extends Referencable> PrismReferenceWrapper<R> findReferenceWrapper(ItemWrapper<?, ?> child, ItemPath pathToFind) 
- 
findPropertyWrapperpublic static <T> PrismPropertyWrapper<T> findPropertyWrapper(ItemWrapper<?, ?> child, ItemPath pathToFind) 
- 
findSingleReferenceValuepublic static <R extends Referencable> PrismReferenceValue findSingleReferenceValue(ItemWrapper<?, ?> child, ItemPath pathToFind) 
- 
findSinglePropertyValuepublic static <T> PrismPropertyValue<T> findSinglePropertyValue(ItemWrapper<?, ?> child, ItemPath pathToFind) 
- 
cleanupEmptyContainers
- 
isEmptyContainer
- 
isUseAsEmptyValuepublic static <C extends Containerable> boolean isUseAsEmptyValue(PrismContainerValue<C> valueAfter) 
- 
cleanupEmptyContainerValuepublic static <C extends Containerable> PrismContainerValue<C> cleanupEmptyContainerValue(PrismContainerValue<C> value) 
- 
getNewYieldValue
- 
createAcquition
- 
isValueFromResourceTemplate
- 
hasValueTemplateMetadata
- 
searchAttributeDefinitionspublic static List<ResourceAttributeDefinition> searchAttributeDefinitions(ResourceSchema schema, ResourceObjectTypeDefinitionType objectType) 
- 
createVerticalPropertyPanelpublic static ItemPanel createVerticalPropertyPanel(String id, org.apache.wicket.model.IModel<? extends ItemWrapper<?, ?>> model, ItemPanelSettings origSettings) 
- 
sortContainers
- 
getLocalizedDisplayName
- 
collectWrappers
 
-