public class ContainerSynchronizableContentsCollection extends AbstractApogeeSynchronizableContentsWithCatalogCollection
Modifier and Type | Field and Description |
---|---|
static String |
MODEL_ID
SCC model id
|
_catalogsManager
__PARAM_COLUMNS, __PARAM_COLUMNS_COLUMN, __PARAM_CRITERIA, __PARAM_CRITERIA_CRITERION, __PARAM_CRITERIA_CRITERION_ID, __PARAM_CRITERIA_CRITERION_LABEL, __PARAM_CRITERIA_CRITERION_TYPE, __PARAM_ID_COLUMN, __PARAM_MAPPING, __PARAM_MAPPING_ATTRIBUTE, __PARAM_MAPPING_METADATA_REF, __PARAM_MAPPING_SYNCHRO, _apogeeDAO, _columns, _context, _criteria, _extFields, _idColumn, _jsonUtils, _mapping, _odfLang, _syncFields, HANDLE_CONTENTS
_contentHelper, _languagesManager, _sccHelper, _synchronizingContentOperatorEP
_contentDAO, _contentTypeEP, _currentUserProvider, _hasGlobalError, _i18nUtils, _nbCreatedContents, _nbDeletedContents, _nbError, _nbNotChangedContents, _nbSynchronizedContents, _observationManager, _resolver, _synchroComponent, SCC_UNIQUE_ID
_contentPrefix, _contentType, _id, _initialActionId, _label, _modelId, _modelParamValues, _removalSync, _reportMails, _restrictedField, _searchModelConfiguration, _synchronizeExistingContentsOnly, _synchronizingContentOperator, _validateActionId, _validateAfterImport, _workflowName
COLLECTION_ID_PROPERTY
Constructor and Description |
---|
ContainerSynchronizableContentsCollection() |
Modifier and Type | Method and Description |
---|---|
protected List<Map<String,Object>> |
_search(Map<String,Object> searchParams,
Logger logger)
Search the contents with the search parameters.
|
protected String |
getMappingName()
Get the name of the mapping.
|
protected boolean |
handleChildren(ModifiableDefaultContent content,
Logger logger)
Set the children metadata and invert relation, import and synchronize the children too.
|
protected boolean |
handleParent(ModifiableDefaultContent currentContent,
ModifiableDefaultContent parentContent,
Logger logger)
Set the parent metadata and invert relation.
|
_getExpressionsList, _handleAdditionalMetadata, service
_convertBigDecimal, _fillContent, _importContent, _importOrSynchronizeContent, _synchronizeContent, _transformClobToString, additionalImportOperations, additionalSynchronizeOperations, addToHandleContents, configureDataSource, configureSearchModel, contextualize, getExternalOnlyFields, getIdColumn, getIdField, getLocalAndExternalFields, getRemoteValues, getRichTextFields, getTotalCount, handleRightAssignmentContext, importContent, importOrSynchronizeChildren, importOrSynchronizeContents, internalSearch, populate, putIdParameter, setAdditionalMetadata, synchronizeContent
_getContentsToRemove, _getIdFieldValue, _handleContent, _importOrSynchronizeContent, _importOrSynchronizeContents, _internalPopulate, _isHandled, configure, createContentAction, getContent, getTransformedRemoteValues, search, updateSyncInformations, validateContent
_getContentPathQuery, _getMetadataHolder, _isParamNotEmpty, _removeEmptyParameters, _removeMetadataIfExists, _synchronizeMetadata, _updateRelation, _updateRelation, applyChanges, applyChanges, createContentAction, deleteUnexistingContents, sendErrorMail, updateSCCProperty, validateContent
_parseParameters, configureStaticParams, getContentPrefix, getContentType, getId, getInitialActionId, getLabel, getParameterValues, getReportMails, getRestrictedField, getSearchModelConfiguration, getSynchronizeCollectionModelId, getSynchronizingContentOperator, getValidateActionId, getWorkflowName, removalSync, synchronizeExistingContentsOnly, validateAfterImport
public static final String MODEL_ID
public ContainerSynchronizableContentsCollection()
protected List<Map<String,Object>> _search(Map<String,Object> searchParams, Logger logger)
AbstractApogeeSynchronizableContentsCollection
_search
in class AbstractApogeeSynchronizableContentsCollection
searchParams
- Search parameterslogger
- The loggerprotected String getMappingName()
AbstractApogeeSynchronizableContentsCollection
getMappingName
in class AbstractApogeeSynchronizableContentsCollection
protected boolean handleParent(ModifiableDefaultContent currentContent, ModifiableDefaultContent parentContent, Logger logger)
AbstractApogeeSynchronizableContentsCollection
handleParent
in class AbstractApogeeSynchronizableContentsCollection
currentContent
- Current contentparentContent
- Parent content to setlogger
- The loggertrue
if there are changesprotected boolean handleChildren(ModifiableDefaultContent content, Logger logger)
AbstractApogeeSynchronizableContentsCollection
handleChildren
in class AbstractApogeeSynchronizableContentsCollection
content
- Current contentlogger
- The loggertrue
if there are changes