Class SynchronizableContentsCollectionMappingHelper
java.lang.Object
org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollectionMappingHelper
- All Implemented Interfaces:
Component
Helps to retrieve the mappings as object for SCC
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA mapping entry -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of parameter into mapping holding the path of metadatastatic final StringName of parameter into mapping holding the remote attributestatic final StringName of parameter into mapping holding the synchronized propertystatic final StringThe avalon role -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMappingFromJSON(List<Object> mappings) Get the mapping objects by item ref from the JSON
-
Field Details
-
ROLE
The avalon role -
_PARAM_MAPPING_ITEM_REF
Name of parameter into mapping holding the path of metadata- See Also:
-
_PARAM_MAPPING_REMOTE_REF
Name of parameter into mapping holding the remote attribute- See Also:
-
_PARAM_MAPPING_SYNCHRO
Name of parameter into mapping holding the synchronized property- See Also:
-
-
Constructor Details
-
SynchronizableContentsCollectionMappingHelper
-
-
Method Details
-
getMappingFromJSON
public Map<String,SynchronizableContentsCollectionMappingHelper.MappingEntry> getMappingFromJSON(List<Object> mappings) Get the mapping objects by item ref from the JSON- Parameters:
mappings- The mappings as a JSON List of entries- Returns:
- The mapping object
-