Class AbstractApogeeSynchronizableContentsWithCatalogCollection
java.lang.Object
org.ametys.plugins.contentio.synchronize.AbstractStaticSynchronizableContentsCollection
org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection
org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection
org.ametys.plugins.odfsync.apogee.scc.AbstractApogeeSynchronizableContentsCollection
org.ametys.plugins.odfsync.apogee.scc.AbstractApogeeSynchronizableContentsWithCatalogCollection
- All Implemented Interfaces:
SynchronizableContentsCollection
,ApogeeSynchronizableContentsCollection
,Configurable
,Contextualizable
,Serviceable
- Direct Known Subclasses:
ContainerSynchronizableContentsCollection
,CourseListSynchronizableContentsCollection
,CourseSynchronizableContentsCollection
,ProgramSynchronizableContentsCollection
,SubProgramSynchronizableContentsCollection
public abstract class AbstractApogeeSynchronizableContentsWithCatalogCollection
extends AbstractApogeeSynchronizableContentsCollection
Abstract class for Apogee synchronization, contents with catalog (not
OrgUnit
).-
Field Summary
Fields inherited from class org.ametys.plugins.odfsync.apogee.scc.AbstractApogeeSynchronizableContentsCollection
__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, _apogeeSCCHelper, _columns, _context, _criteria, _extFields, _idColumn, _jsonUtils, _mapping, _odfHelper, _odfLang, _sccDAO, _syncFields, PARAM_ADD_UNEXISTING_CHILDREN, PARAM_DATASOURCE_ID, PARAM_YEAR
Fields inherited from class org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection
_contentHelper, _synchronizingContentOperatorEP
Fields inherited from class org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection
_contentTypeEP, _currentUserProvider, _hasGlobalError, _i18nUtils, _nbCreatedContents, _nbDeletedContents, _nbError, _nbNotChangedContents, _nbSynchronizedContents, _observationManager, _synchroComponent, SCC_UNIQUE_ID
Fields inherited from class org.ametys.plugins.contentio.synchronize.AbstractStaticSynchronizableContentsCollection
_contentDAO, _contentPrefix, _contentType, _id, _initialActionId, _label, _languages, _modelId, _modelParamValues, _removalSync, _reportMails, _resolver, _restrictedField, _sccHelper, _searchModelConfiguration, _synchronizeActionId, _synchronizeExistingContentsOnly, _synchronizingContentOperator, _validateActionId, _validateAfterImport, _workflowName
Fields inherited from interface org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollection
COLLECTION_ID_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<Expression>
_getExpressionsList
(String lang, String idValue, String contentType) Construct the query to retrieve the content.protected boolean
_handleAdditionalMetadata
(ModifiableCompositeMetadata holder, boolean create) Method to add additional metadata on import or synchronize.void
service
(ServiceManager manager) Methods inherited from class org.ametys.plugins.odfsync.apogee.scc.AbstractApogeeSynchronizableContentsCollection
_addUnexistingChildren, _applyChangesToParentContent, _convertBigDecimal, _convertBigDecimal, _fillContent, _fillRichTexts, _getChildrenRemoteSyncCode, _getSort, _importChildren, _importContent, _importOrSynchronizeContent, _importUnexistingChildren, _internalPopulate, _isChildWillBeRemoved, _resetChildren, _search, _setRichTextValue, _synchronizeChildren, _synchronizeContent, _transformClobToString, _transformListOfMap2MapOfList, additionalCommonOperations, addUnexistingChildren, configureDataSource, configureSearchModel, contextualize, getChildrenInvertMetadataName, getChildrenMetadataName, getChildrenSCCModelId, getClobColumns, getDataSourceId, getExternalOnlyFields, getIdColumn, getIdField, getLocalAndExternalFields, getMappingName, getRemoteValues, getRichTextFields, getTotalCount, getYear, handleChildren, handleParent, handleRightAssignmentContext, importContent, importOrSynchronizeChildren, importOrSynchronizeContents, internalSearch, populate, putIdParameter, setAdditionalMetadata, synchronizeContent
Methods inherited from class org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection
_getContentsToRemove, _getIdFieldValue, _handleContent, _importOrSynchronizeContent, _importOrSynchronizeContents, _isHandled, additionalImportOperations, additionalSynchronizeOperations, configure, createContentAction, getContent, getTransformedRemoteValues, search, updateSyncInformations, validateContent
Methods inherited from class org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection
_deleteContents, _getContentPathQuery, _getMetadataHolder, _isParamNotEmpty, _removeEmptyParameters, _removeMetadataIfExists, _synchronizeMetadata, _updateRelation, _updateRelation, applyChanges, applyChanges, createContentAction, deleteUnexistingContents, empty, sendErrorMail, updateSCCProperty, validateContent
Methods inherited from class org.ametys.plugins.contentio.synchronize.AbstractStaticSynchronizableContentsCollection
_parseLanguages, _parseParameters, configureStaticParams, getContentPrefix, getContentType, getId, getInitialActionId, getLabel, getLanguages, getParameterValues, getReportMails, getRestrictedField, getSearchModelConfiguration, getSynchronizeActionId, getSynchronizeCollectionModelId, getSynchronizingContentOperator, getValidateActionId, getWorkflowName, removalSync, synchronizeExistingContentsOnly, validateAfterImport
-
Field Details
-
_catalogsManager
The catalog manager
-
-
Constructor Details
-
AbstractApogeeSynchronizableContentsWithCatalogCollection
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractApogeeSynchronizableContentsCollection
- Throws:
ServiceException
-
_handleAdditionalMetadata
Description copied from class:AbstractApogeeSynchronizableContentsCollection
Method to add additional metadata on import or synchronize.- Overrides:
_handleAdditionalMetadata
in classAbstractApogeeSynchronizableContentsCollection
- Parameters:
holder
- The holder of the content to updatecreate
- If we are on creation mode- Returns:
true
if changes has been made
-
_getExpressionsList
Description copied from class:AbstractSynchronizableContentsCollection
Construct the query to retrieve the content.- Overrides:
_getExpressionsList
in classAbstractSynchronizableContentsCollection
- Parameters:
lang
- LangidValue
- Synchronization valuecontentType
- Content type- Returns:
- The
List
ofExpression
-