Interface ImportCDMFrComponent
- All Known Implementing Classes:
AbstractImportCDMFrComponent
,CoAccreditedRemoteImportCDMFrComponent
,RemoteImportCDMFrComponent
,SCCImportCDMFrComponent
public interface ImportCDMFrComponent
Interface for component to import a CDM-fr input stream.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExpressionsList
(String lang, String idValue, String contentType, String catalog) Construct the query to retrieve the content.Return the metadata identifier for CDM-fr synchronization.getLocalAndExternalFields
(Map<String, Object> additionalParameters) Get the path of tri-state fields (with local and external values)handleInputStream
(InputStream input, Map<String, Object> parameters, Logger logger) Handle the CDM-fr input stream to import all the programs and its dependencies containing into it.
-
Field Details
-
ROLE
Avalon Role
-
-
Method Details
-
getIdField
Return the metadata identifier for CDM-fr synchronization.- Returns:
- The metadata name (cdmfrSyncCode)
-
getLocalAndExternalFields
Get the path of tri-state fields (with local and external values)- Parameters:
additionalParameters
- Additional parameters- Returns:
- the synchronized fields
-
handleInputStream
Map<String,Object> handleInputStream(InputStream input, Map<String, Object> parameters, Logger logger) throws ProcessingExceptionHandle the CDM-fr input stream to import all the programs and its dependencies containing into it.- Parameters:
input
- The CDM-fr input streamparameters
- The parameters useful for the operationlogger
- The logger- Returns:
- The list of imported/synchronized programs
- Throws:
ProcessingException
- If an error occurs
-
getExpressionsList
List<Expression> getExpressionsList(String lang, String idValue, String contentType, String catalog) Construct the query to retrieve the content.- Parameters:
lang
- LangidValue
- Synchronization valuecontentType
- Content typecatalog
- The catalog- Returns:
- The
List
ofExpression
-