Uses of Class
com.broadleafcommerce.metadata.dsl.core.Mapping
-
-
Uses of Mapping in com.broadleafcommerce.metadata.dsl.core
Classes in com.broadleafcommerce.metadata.dsl.core with type parameters of type Mapping Modifier and Type Class Description class
Mapping<M extends Mapping<M>>
An abstract mapping specification.Methods in com.broadleafcommerce.metadata.dsl.core that return types with arguments of type Mapping Modifier and Type Method Description List<Mapping<?>>
Endpoint. getMapParams()
List<Mapping<?>>
TransformBody. getMappings()
Set of mappings to transform the data.Methods in com.broadleafcommerce.metadata.dsl.core with parameters of type Mapping Modifier and Type Method Description default E
Endpoint. mapParam(Mapping<?>... mappings)
TransformBody
TransformBody. mapping(Mapping<?>... mappings)
Adds to the set of mappings to transform the collection.Method parameters in com.broadleafcommerce.metadata.dsl.core with type arguments of type Mapping Modifier and Type Method Description default E
Endpoint. mapParams(Collection<Mapping<?>> mappings)
TransformBody
TransformBody. mappings(List<Mapping<?>> mappings)
Adds to the set of mappings to transform the collection.void
Endpoint. setMapParams(List<Mapping<?>> mapParams)
Constructors in com.broadleafcommerce.metadata.dsl.core with parameters of type Mapping Constructor Description Mapping(Mapping<?> mapping)
Constructor parameters in com.broadleafcommerce.metadata.dsl.core with type arguments of type Mapping Constructor Description MappingList(Collection<? extends Mapping<?>> c)
-
Uses of Mapping in com.broadleafcommerce.metadata.dsl.core.extension.actions
Methods in com.broadleafcommerce.metadata.dsl.core.extension.actions with parameters of type Mapping Modifier and Type Method Description default A
CreateModalFormAction. mapInheritedValue(Mapping<?>... mappingsToAdd)
Configure mappings from the parent data to the create form's state.default A
RowModalFormAction. mapInitialValues(Mapping<?>... mappingsToAdd)
Configure mappings from the row or context to the form's initial state.default A
GenerateTemplateAction. templateToItemMapping(Mapping<?>... mappings)
default A
CloneModalFormAction. transformClone(Mapping<?>... mappings)
Configure a set ofMapping
to transform the cloned entity.Method parameters in com.broadleafcommerce.metadata.dsl.core.extension.actions with type arguments of type Mapping Modifier and Type Method Description default A
CreateModalFormAction. mapInheritedValues(Collection<Mapping<?>> mappingsToAdd)
Configure mappings from the parent data to the create form's state.default A
RowModalFormAction. mapInitialValues(Collection<Mapping<?>> mappingsToAdd)
Configure mappings from the row or context to the create form's state.default A
GenerateTemplateAction. templateToItemMappings(List<Mapping<?>> mappings)
default A
CloneModalFormAction. transformClone(UnaryOperator<List<Mapping<?>>> fn)
Configure a set ofMapping
to transform the cloned entity.default A
CloneModalFormAction. transformClone(List<Mapping<?>> mappings)
Configure a set ofMapping
to transform the cloned entity. -
Uses of Mapping in com.broadleafcommerce.metadata.dsl.core.extension.endpoints
Methods in com.broadleafcommerce.metadata.dsl.core.extension.endpoints that return types with arguments of type Mapping Modifier and Type Method Description List<Mapping<?>>
AbstractEndpoint. getMapParams()
Method parameters in com.broadleafcommerce.metadata.dsl.core.extension.endpoints with type arguments of type Mapping Modifier and Type Method Description void
AbstractEndpoint. setMapParams(List<Mapping<?>> mapParams)
-
Uses of Mapping in com.broadleafcommerce.metadata.dsl.core.extension.fields
Methods in com.broadleafcommerce.metadata.dsl.core.extension.fields with parameters of type Mapping Modifier and Type Method Description default F
LookupField. transformSelection(Mapping<?>... mappings)
Configure a set ofMapping
to transform the option the user selects before the form state is updated.Method parameters in com.broadleafcommerce.metadata.dsl.core.extension.fields with type arguments of type Mapping Modifier and Type Method Description default F
LookupField. transformSelection(UnaryOperator<List<Mapping<?>>> fn)
Configure a set ofMapping
to transform the option the user selects before the form state is updated.default F
LookupField. transformSelection(List<Mapping<?>> mappings)
Configure a set ofMapping
to transform the option the user selects before the form state is updated. -
Uses of Mapping in com.broadleafcommerce.metadata.dsl.core.extension.mappings
Subclasses of Mapping in com.broadleafcommerce.metadata.dsl.core.extension.mappings Modifier and Type Class Description class
CollectionMapping
An implementation ofMapping
for the members of a collection.class
PickOmitMapping
An implementation ofMapping
for picking and omitting source properties from the destination.class
PropertyMapping
An implementation ofMapping
for mapping a source value to its destination.class
TemplateMapping
An implementation ofMapping
for transforming a text property with a template.class
TextTransformMapping
An implementation ofMapping
for transforming a text property common case transformations.Methods in com.broadleafcommerce.metadata.dsl.core.extension.mappings that return types with arguments of type Mapping Modifier and Type Method Description List<Mapping<?>>
CollectionMapping. getMappings()
The list ofMapping
to apply to each collection member.Methods in com.broadleafcommerce.metadata.dsl.core.extension.mappings with parameters of type Mapping Modifier and Type Method Description CollectionMapping
CollectionMapping. mapCollection(String path, Mapping<?>... mappings)
Sets the collection property and the set of mappings for the collection.CollectionMapping
CollectionMapping. mapping(Mapping<?>... mappings)
Adds to the set of mappings to transform the collection.Method parameters in com.broadleafcommerce.metadata.dsl.core.extension.mappings with type arguments of type Mapping Modifier and Type Method Description CollectionMapping
CollectionMapping. mapCollection(String path, List<Mapping<?>> mappings)
Sets the collection property and the set of mappings for the collection.CollectionMapping
CollectionMapping. mappings(List<Mapping<?>> mappings)
Adds to the set of mappings to transform the collection. -
Uses of Mapping in com.broadleafcommerce.metadata.dsl.core.utils
Methods in com.broadleafcommerce.metadata.dsl.core.utils with parameters of type Mapping Modifier and Type Method Description static CollectionMapping
Mappings. mapCollection(String path, Mapping<?>... mappings)
static TransformBody
Transforms. transformBody(Mapping<?>... mappings)
Method parameters in com.broadleafcommerce.metadata.dsl.core.utils with type arguments of type Mapping Modifier and Type Method Description static CollectionMapping
Mappings. mapCollection(String path, List<Mapping<?>> mappings)
static TransformBody
Transforms. transformBody(List<Mapping<?>> mappings)
-