Package | Description |
---|---|
info.magnolia.cms.security | |
info.magnolia.commands | |
info.magnolia.jcr.node2bean | |
info.magnolia.jcr.node2bean.impl |
Modifier and Type | Method and Description |
---|---|
protected TypeDescriptor |
IPSecurityManagerImpl.IPSecurityManagerTransformer.onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider) |
void |
IPSecurityManagerImpl.IPSecurityManagerTransformer.setProperty(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values) |
Modifier and Type | Method and Description |
---|---|
void |
CommandTransformer.initBean(TransformationState state,
Map values) |
protected TypeDescriptor |
CommandTransformer.onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider) |
void |
CommandTransformer.setProperty(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map values) |
Modifier and Type | Method and Description |
---|---|
TransformationState |
Node2BeanTransformer.newState()
Create a state object to share the state between the processor and transformer.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
Node2BeanTransformer.canHandleValue(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map.Entry<String,Object> value)
Returns whether this transformer can consume the given value and assign it to the currently-processed bean.
|
void |
Node2BeanTransformer.initBean(TransformationState state,
Map<String,Object> values)
Called after all properties are set.
|
Object |
Node2BeanTransformer.newBeanInstance(TransformationState state,
Map<String,Object> values,
ComponentProvider componentProvider)
Instantiates the bean.
|
TypeDescriptor |
Node2BeanTransformer.resolveType(TypeMapping typeMapping,
TransformationState state,
ComponentProvider componentProvider)
Resolves the class to use for the current node.
|
void |
Node2BeanTransformer.setProperty(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values)
Set this property on that bean.
|
Modifier and Type | Class and Description |
---|---|
class |
TransformationStateImpl
Transformation state implementation.
|
Modifier and Type | Method and Description |
---|---|
TransformationState |
Node2BeanTransformerImpl.newState() |
Modifier and Type | Method and Description |
---|---|
boolean |
CollectionPropertyHidingTransformer.canHandleValue(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map.Entry<String,Object> value) |
boolean |
Node2BeanTransformerImpl.canHandleValue(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map.Entry<String,Object> value) |
void |
Node2BeanTransformerImpl.initBean(TransformationState state,
Map values) |
Object |
Node2BeanTransformerImpl.newBeanInstance(TransformationState state,
Map<String,Object> values,
ComponentProvider componentProvider) |
protected TypeDescriptor |
CollectionPropertyHidingTransformer.onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider) |
protected TypeDescriptor |
Node2BeanTransformerImpl.onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider)
Called once the type should have been resolved.
|
TypeDescriptor |
Node2BeanTransformerImpl.resolveType(TypeMapping typeMapping,
TransformationState state,
ComponentProvider componentProvider) |
protected void |
Node2BeanProcessorImpl.setProperties(Map<String,Object> values,
Node2BeanTransformer transformer,
TransformationState state)
Populates the properties of the bean with values from the map.
|
void |
CollectionPropertyHidingTransformer.setProperty(TypeMapping mapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values) |
void |
Node2BeanTransformerImpl.setProperty(TypeMapping mapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values) |
protected Object |
Node2BeanProcessorImpl.toBean(javax.jcr.Node node,
boolean recursive,
Node2BeanTransformer transformer,
TransformationState state,
ComponentProvider componentProvider) |
protected Map<String,Object> |
Node2BeanProcessorImpl.toMap(javax.jcr.Node node,
boolean recursive,
Node2BeanTransformer transformer,
TransformationState state,
ComponentProvider componentProvider)
Transforms the children of provided content into a map.
|
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.