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 (notOrgUnit
).
-
-
Field Summary
Fields Modifier and Type Field Description protected CatalogsManager
_catalogsManager
The catalog manager-
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, _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
_contentWorkflowHelper, _currentUserProvider, _hasGlobalError, _i18nUtils, _nbCreatedContents, _nbDeletedContents, _nbError, _nbNotChangedContents, _nbSynchronizedContents, _observationManager, SCC_UNIQUE_ID
-
Fields inherited from class org.ametys.plugins.contentio.synchronize.AbstractStaticSynchronizableContentsCollection
_contentDAO, _contentPrefix, _contentType, _contentTypeEP, _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_DATA_NAME, RESULT_NB_CREATED_CONTENTS, RESULT_NB_DELETED_CONTENTS, RESULT_NB_NOT_CHANGED_CONTENTS, RESULT_NB_SYNCHRONIZED_CONTENTS
-
-
Constructor Summary
Constructors Constructor Description AbstractApogeeSynchronizableContentsWithCatalogCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
_getAdditionalInputsForContentCreation()
Retrieves additional inputs for content creationprotected List<Expression>
_getExpressionsList(String lang, String idValue, String contentType)
Construct the query to retrieve the content.void
service(ServiceManager manager)
-
Methods inherited from class org.ametys.plugins.odfsync.apogee.scc.AbstractApogeeSynchronizableContentsCollection
_addUnexistingChildren, _convertBigDecimal, _convertBigDecimal, _getChildrenRemoteSyncCode, _getSort, _importChildren, _importContent, _importUnexistingChildren, _internalPopulate, _isChildWillBeRemoved, _search, _synchronizeChildren, _synchronizeContent, _transformClobToString, _transformListOfMap2MapOfList, addUnexistingChildren, configureDataSource, configureSearchModel, contextualize, getAdditionalAttributeValues, getChildrenAttributeName, getChildrenSCCModelId, getClobColumns, getDataSourceId, getIdColumn, getIdField, getLanguages, getLocalAndExternalFields, getMappingName, getNotSynchronizedRelatedContentIds, getParentAttribute, getParentFromAdditionalParameters, getParentIdFromAdditionalParameters, getRemoteValues, getRichTextFields, getTotalCount, getYear, handleChildren, handleRightAssignmentContext, importContent, importOrSynchronizeChildren, importOrSynchronizeContents, internalSearch, populate, putIdParameter, synchronizeContent
-
Methods inherited from class org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection
_editContent, _fillContent, _getContentsToRemove, _handleContent, _importOrSynchronizeContent, _importOrSynchronizeContent, _importOrSynchronizeContents, _isHandled, _transformRemoteValues, configure, createContentAction, getContent, getTransformedRemoteValues, search, updateSyncInformations, validateContent
-
Methods inherited from class org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection
_deleteContents, _getContentPathQuery, _hasSomethingChanged, _isParamNotEmpty, _logSynchronizationResult, _removeEmptyParameters, createContentAction, deleteUnexistingContents, empty, getSynchronizationResult, sendErrorMail, validateContent
-
Methods inherited from class org.ametys.plugins.contentio.synchronize.AbstractStaticSynchronizableContentsCollection
_parseLanguages, _parseParameters, _transformRemoteValuesCardinality, configureStaticParams, getContentPrefix, getContentType, getId, getInitialActionId, getLabel, getParameterValues, getReportMails, getRestrictedField, getSearchModelConfiguration, getSynchronizeActionId, getSynchronizeCollectionModelId, getSynchronizingContentOperator, getValidateActionId, getWorkflowName, removalSync, synchronizeExistingContentsOnly, validateAfterImport
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollection
additionalCommonOperations, additionalImportOperations, additionalSynchronizeOperations
-
-
-
-
Field Detail
-
_catalogsManager
protected CatalogsManager _catalogsManager
The catalog manager
-
-
Constructor Detail
-
AbstractApogeeSynchronizableContentsWithCatalogCollection
public AbstractApogeeSynchronizableContentsWithCatalogCollection()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractApogeeSynchronizableContentsCollection
- Throws:
ServiceException
-
_getAdditionalInputsForContentCreation
protected Map<String,Object> _getAdditionalInputsForContentCreation()
Description copied from class:AbstractSynchronizableContentsCollection
Retrieves additional inputs for content creation- Overrides:
_getAdditionalInputsForContentCreation
in classAbstractSynchronizableContentsCollection
- Returns:
- the additional inputs for content creation
-
_getExpressionsList
protected List<Expression> _getExpressionsList(String lang, String idValue, String contentType)
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
-
-