Package de.espirit.firstspirit.transport
Interface LayerMapper
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 LayerMapper.LayerNameBasedLayerMapper,LayerMapper.SchemaUidBasedLayerMapper
Mapper providing 
This mapper is used in
layers to be used for transported Schema instances.This mapper is used in
content transport and
 external sync.- Since:
 - 5.2.513
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDefault implementation based on a given map mapping from source layer name to target layer name.static interfaceMapping context providing access to the transportedschemaand the source layer name.static final classDefault implementation of a layer mapper using a given map mapping schema uid to target layer name. - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUse this field as result ofgetLayer(MappingContext)to force creation of a newproject default layerstatic final LayerMapperDefault implementation of a LayerMapper always answeringgetLayer(MappingContext)call withCREATE_NEW_DEFAULT_LAYERto force creation of a newdefault layer - 
Method Summary
Modifier and TypeMethodDescription@NotNull StringgetLayer(@NotNull LayerMapper.MappingContext mappingContext)  
- 
Field Details
- 
CREATE_NEW_DEFAULT_LAYER
Use this field as result ofgetLayer(MappingContext)to force creation of a newproject default layer- Since:
 - 5.2.513
 - See Also:
 
 - 
CREATE_NEW_DEFAULT_LAYER_MAPPER
Default implementation of a LayerMapper always answeringgetLayer(MappingContext)call withCREATE_NEW_DEFAULT_LAYERto force creation of a newdefault layer- Since:
 - 5.2.513
 
 
 - 
 - 
Method Details
- 
getLayer
Gets thenameof thelayerto be used for the given schema. ReturnCREATE_NEW_DEFAULT_LAYERto force creation of a newdefault layerin the target project which should be used for the transported schema. 
 -