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, _xPathProcessorROLE| 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, transformDocumentprotected String _collectionId
protected boolean _validateAfterImport
protected boolean _removalSync
public SCCImportCDMFrComponent()
protected void additionalParameters(Map<String,Object> parameters)
AbstractImportCDMFrComponentadditionalParameters in class AbstractImportCDMFrComponentparameters - The parameters map to getprotected void additionalOperationsBeforeSave(ModifiableDefaultContent content, Logger logger) throws RepositoryException
AbstractImportCDMFrComponentadditionalOperationsBeforeSave in class AbstractImportCDMFrComponentcontent - The contentlogger - The loggerRepositoryException - if an error occurspublic List<Expression> getExpressionsList(String lang, String idValue, String contentType, String catalog)
ImportCDMFrComponentgetExpressionsList in interface ImportCDMFrComponentgetExpressionsList in class AbstractImportCDMFrComponentlang - LangidValue - Synchronization valuecontentType - Content typecatalog - The catalogList of Expressionprotected boolean validateAfterImport()
AbstractImportCDMFrComponentvalidateAfterImport in class AbstractImportCDMFrComponentprotected boolean removalSync()
AbstractImportCDMFrComponentremovalSync in class AbstractImportCDMFrComponent