public class RemoteImportCDMFrComponent extends AbstractImportCDMFrComponent
AbstractImportCDMFrComponent.ContentWorkflowDescription| Modifier and Type | Field and Description |
|---|---|
protected String |
_forcedCatalog
Forced catalog
|
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 |
|---|
RemoteImportCDMFrComponent() |
| 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.
|
protected String |
getCatalogName(Node contentNode)
Get the name of catalog to use for import
|
void |
initialize() |
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 Document |
transformDocument(Document document,
Map<String,Object> parameters,
Logger logger)
Transform the document depending of it structure.
|
protected boolean |
validateAfterImport()
True to validate the contents after import
|
_getIdFromCDMThenCode, _getOrCreateContent, _importOrSynchronizeContent, _linkTranslationsIfExist, _saveContentChanges, _setChildren, _setOrgUnitParent, _setRelations, _synchronizeContent, _synchronizeCourseList, _synchronizeMetadata, configure, contextualize, getContainerWfDescription, getCourseListWfDescription, getCourseWfDescription, getExpressionsList, getIdField, getLocalAndExternalFields, getOrgUnitWfDescription, getPersonWfDescription, getProgramWfDescription, getSubProgramWfDescription, handleInputStream, serviceprotected String _forcedCatalog
protected boolean _validateAfterImport
public RemoteImportCDMFrComponent()
public void initialize() throws Exception
initialize in interface Initializableinitialize in class AbstractImportCDMFrComponentExceptionprotected 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 occursprotected String getCatalogName(Node contentNode)
AbstractImportCDMFrComponentgetCatalogName in class AbstractImportCDMFrComponentcontentNode - The node of programprotected Document transformDocument(Document document, Map<String,Object> parameters, Logger logger) throws IOException, SAXException, ProcessingException
AbstractImportCDMFrComponenttransformDocument in class AbstractImportCDMFrComponentdocument - Document to transform.parameters - Optional parameters for transformationlogger - The loggerIOException - if an error occurs.SAXException - if an error occurs.ProcessingException - if an error occurs.protected boolean validateAfterImport()
AbstractImportCDMFrComponentvalidateAfterImport in class AbstractImportCDMFrComponentprotected boolean removalSync()
AbstractImportCDMFrComponentremovalSync in class AbstractImportCDMFrComponent