public class SCCImportCDMFrComponent extends AbstractImportCDMFrComponent
AbstractImportCDMFrComponent.ContentWorkflowDescription
Modifier and Type | Field and Description |
---|---|
protected String |
_collectionId
The collectionID
|
protected boolean |
_removalSync
True if removal sync
|
protected boolean |
_validateAfterImport
Validate after import
|
_catalogsManager, _cdmFrSyncExtensionPoint, _cocoonContext, _contentPrefix, _contentTypeEP, _currentUserProvider, _domParser, _importedContents, _nbCreatedContents, _nbError, _nbNotChangedContents, _nbSynchronizedContents, _observationManager, _odfLang, _odfRefTableHelper, _resolver, _rootOUProvider, _syncFieldsByContentType, _synchroComponent, _synchronizedContents, _TAG_CONTAINER, _TAG_COURSELIST, _TAG_PROGRAM, _TAG_SUBPROGRAM, _updatedContents, _xPathProcessor
ROLE
Constructor and Description |
---|
SCCImportCDMFrComponent() |
Modifier and Type | Method and Description |
---|---|
protected void |
additionalOperationsBeforeSave(ModifiableDefaultContent content,
Logger logger)
Additional operation to do on the content before saving it.
|
protected void |
additionalParameters(Map<String,Object> parameters)
Additional parameters for specific treatments.
|
List<Expression> |
getExpressionsList(String lang,
String idValue,
String contentType,
String catalog)
Construct the query to retrieve the content.
|
protected boolean |
removalSync()
When returns true, a content created by a previous synchro will be removed if it does not exist anymore during the current synchro.
|
protected boolean |
validateAfterImport()
True to validate the contents after import
|
_getIdFromCDMThenCode, _getOrCreateContent, _importOrSynchronizeContent, _linkTranslationsIfExist, _saveContentChanges, _setChildren, _setOrgUnitParent, _setRelations, _synchronizeContent, _synchronizeCourseList, _synchronizeMetadata, configure, contextualize, getCatalogName, getContainerWfDescription, getCourseListWfDescription, getCourseWfDescription, getIdField, getLocalAndExternalFields, getOrgUnitWfDescription, getPersonWfDescription, getProgramWfDescription, getSubProgramWfDescription, handleInputStream, initialize, service, transformDocument
protected String _collectionId
protected boolean _validateAfterImport
protected boolean _removalSync
public SCCImportCDMFrComponent()
protected void additionalParameters(Map<String,Object> parameters)
AbstractImportCDMFrComponent
additionalParameters
in class AbstractImportCDMFrComponent
parameters
- The parameters map to getprotected void additionalOperationsBeforeSave(ModifiableDefaultContent content, Logger logger) throws RepositoryException
AbstractImportCDMFrComponent
additionalOperationsBeforeSave
in class AbstractImportCDMFrComponent
content
- The contentlogger
- The loggerRepositoryException
- if an error occurspublic List<Expression> getExpressionsList(String lang, String idValue, String contentType, String catalog)
ImportCDMFrComponent
getExpressionsList
in interface ImportCDMFrComponent
getExpressionsList
in class AbstractImportCDMFrComponent
lang
- LangidValue
- Synchronization valuecontentType
- Content typecatalog
- The catalogList
of Expression
protected boolean validateAfterImport()
AbstractImportCDMFrComponent
validateAfterImport
in class AbstractImportCDMFrComponent
protected boolean removalSync()
AbstractImportCDMFrComponent
removalSync
in class AbstractImportCDMFrComponent