Package org.ametys.odf.init
Class OdfRefTableDataHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.odf.init.OdfRefTableDataHelper
- All Implemented Interfaces:
LogEnabled,Component,Contextualizable,Serviceable
public class OdfRefTableDataHelper
extends AbstractLogEnabled
implements Component, Contextualizable, Serviceable
Helper to synchronize ODF reference table data.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassResult of the ODF reference table data synchronization. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentTypeExtensionPointThe content type extension pointprotected ContextThe contextprotected ImportCSVFileHelperThe import CSV helperprotected OdfRefTableDataExtensionPointThe ODF reference table data extension pointprotected SourceResolverThe source resolverstatic final StringAvalon Role -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextualize(Context context) Import and/or synchronize fromOdfRefTableDataExtensionPoint.voidservice(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon Role -
_context
The context -
_odfRefTableDataEP
The ODF reference table data extension point -
_importCSVFileHelper
The import CSV helper -
_srcResolver
The source resolver -
_contentTypeEP
The content type extension point
-
-
Constructor Details
-
OdfRefTableDataHelper
public OdfRefTableDataHelper()
-
-
Method Details
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
processRefTableData
public OdfRefTableDataHelper.OdfRefTableDataResult processRefTableData(SynchronizeModeEnumerator.ImportMode importMode) Import and/or synchronize fromOdfRefTableDataExtensionPoint.- Parameters:
importMode- The import mode- Returns:
- the result of the process
-