Class ImportSynchronizingContentOperatorHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.odfsync.scc.operator.ODFSynchronizingContentOperatorHelper
org.ametys.plugins.odfsync.generic.scc.ImportSynchronizingContentOperatorHelper
- All Implemented Interfaces:
LogEnabled
,Initializable
,Component
,Configurable
,Serviceable
Get mapped values from connector to Ametys.
-
Field Summary
Fields inherited from class org.ametys.plugins.odfsync.scc.operator.ODFSynchronizingContentOperatorHelper
_codeMappings, _implementationName, _odfRefTableHelper, _srcResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<OdfReferenceTableEntry>
_getReferenceTableEntry
(String contentTypeId, String connectorCode) Get the reference table entry from the connector codevoid
configure
(Configuration configuration) Methods inherited from class org.ametys.plugins.odfsync.scc.operator.ODFSynchronizingContentOperatorHelper
_getConvertedCode, _getReferenceTableEntryFromMapping, _readMapping, getReferenceTableEntryId, initialize, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ImportSynchronizingContentOperatorHelper
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceConfigurable
- Overrides:
configure
in classODFSynchronizingContentOperatorHelper
- Throws:
ConfigurationException
-
_getReferenceTableEntry
protected Optional<OdfReferenceTableEntry> _getReferenceTableEntry(String contentTypeId, String connectorCode) Description copied from class:ODFSynchronizingContentOperatorHelper
Get the reference table entry from the connector code- Overrides:
_getReferenceTableEntry
in classODFSynchronizingContentOperatorHelper
- Parameters:
contentTypeId
- The content type identifierconnectorCode
- The connector code- Returns:
- the table entry corresponding to the given connector code
-