Class CoursePartGroupsSynchronizableContentsCollection
java.lang.Object
org.ametys.plugins.contentio.synchronize.AbstractStaticSynchronizableContentsCollection
org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection
org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection
org.ametys.plugins.contentio.synchronize.impl.AbstractDefaultSynchronizableContentsCollection
org.ametys.plugins.odfsync.apogee.scc.AbstractPreviousYearsSynchronizableContentsCollection
org.ametys.plugins.odfsync.apogee.scc.impl.CoursePartGroupsSynchronizableContentsCollection
- All Implemented Interfaces:
SynchronizableContentsCollection,Configurable,Serviceable
public class CoursePartGroupsSynchronizableContentsCollection
extends AbstractPreviousYearsSynchronizableContentsCollection
SCC for nbStudents fields for container contents.
-
Field Summary
Fields inherited from class org.ametys.plugins.odfsync.apogee.scc.AbstractPreviousYearsSynchronizableContentsCollection
_apogeePreviousYearsFieldsDAO, _apogeeSCCHelper, _cdmfrHandler, PARAM_CURRENT_YEAR, PARAM_DATASOURCE_ID, PARAM_PRECEDING_YEARFields inherited from class org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection
_contentHelper, _synchronizingContentOperatorEPFields inherited from class org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection
_contentWorkflowHelper, _currentUserProvider, _hasGlobalError, _i18nUtils, _nbCreatedContents, _nbDeletedContents, _nbError, _nbNotChangedContents, _nbSynchronizedContents, _observationManager, _userLanguagesManager, SCC_UNIQUE_IDFields inherited from class org.ametys.plugins.contentio.synchronize.AbstractStaticSynchronizableContentsCollection
_checkCollection, _compatibleSCC, _contentDAO, _contentPrefix, _contentType, _contentTypeEP, _id, _ignoreRestrictions, _initialActionId, _label, _languages, _modelId, _modelParamValues, _removalSync, _reportMails, _resolver, _restrictedField, _sccHelper, _searchModelConfiguration, _synchronizeActionId, _synchronizeExistingContentsOnly, _synchronizingContentOperator, _validateActionId, _validateAfterImport, _workflowNameFields inherited from interface org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollection
COLLECTION_ID_DATA_NAME, LAST_SYNCHRONIZATION_DATA_NAME, LAST_SYNCHRONIZATION_USER_DATA_NAME, RESULT_NB_CREATED_CONTENTS, RESULT_NB_DELETED_CONTENTS, RESULT_NB_NOT_CHANGED_CONTENTS, RESULT_NB_SYNCHRONIZED_CONTENTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteApogeeRequest(Map<String, Object> parameters) Execute the corresponding apogee request to retrieve the values from Apogeeprotected StringGet the attribute name for current year data.Get the path of metadata holding the unique identifierprotected StringGet the attribute name for preceding year data.protected StringGet the item name that contains the synchronization code, it can be an attribute or a property.Methods inherited from class org.ametys.plugins.odfsync.apogee.scc.AbstractPreviousYearsSynchronizableContentsCollection
_endHandleCDMFR, _getExpressionsList, _importContent, _startHandleCDMFR, checkCollection, ensureTitleIsPresent, getContents, getCurrentYear, getDataSourceId, getIdColumn, getLanguages, getLocalAndExternalFields, getPrecedingYear, getSyncCode, internalSearch, populate, searchByYear, service, updateSyncInformationsMethods inherited from class org.ametys.plugins.contentio.synchronize.impl.AbstractDefaultSynchronizableContentsCollection
_getMapping, configureDataSource, configureSearchModel, getRemoteValues, putIdParameter, searchMethods inherited from class org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection
_addEditInputsForSCC, _editContent, _fillContent, _getContentsToRemove, _getEditInputs, _getEditInputsContextParameters, _handleContent, _importOrSynchronizeContent, _importOrSynchronizeContent, _importOrSynchronizeContents, _importOrSynchronizeContents, _internalPopulate, _isHandled, _synchronizeContent, _transformRemoteValues, configure, createContentAction, getAdditionalAttributeValues, getContent, getNotSynchronizedRelatedContentIds, getTotalCount, getTransformedRemoteValues, importContent, synchronizeContent, validateContentMethods inherited from class org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection
_deleteContents, _getAdditionalInputsForContentCreation, _getContentPathQuery, _hasSomethingChanged, _internalPopulate, _isParamNotEmpty, _logSynchronizationResult, _removeEmptyParameters, _removeSCCOrDeleteContents, createContentAction, deleteUnexistingContents, empty, getSynchronizationResult, sendErrorMail, validateContentMethods inherited from class org.ametys.plugins.contentio.synchronize.AbstractStaticSynchronizableContentsCollection
_parseMultipleValuesConf, _parseParameters, _transformRemoteValuesCardinality, configureStaticParams, getCompatibleSCC, getContentPrefix, getContentType, getId, getInitialActionId, getLabel, getParameterValues, getReportMails, getRestrictedField, getSearchModelConfiguration, getSynchronizeActionId, getSynchronizeCollectionModelId, getSynchronizingContentOperator, getValidateActionId, getWorkflowName, ignoreRestrictions, removalSync, synchronizeExistingContentsOnly, validateAfterImportMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollection
additionalCommonOperations, additionalImportOperations, additionalSynchronizeOperations, handleRightAssignmentContext
-
Constructor Details
-
CoursePartGroupsSynchronizableContentsCollection
-
-
Method Details
-
getIdField
Description copied from interface:SynchronizableContentsCollectionGet the path of metadata holding the unique identifier- Returns:
- the path to the metadata. Can be null.
-
getCurrentYearAttributeName
Description copied from class:AbstractPreviousYearsSynchronizableContentsCollectionGet the attribute name for current year data.- Specified by:
getCurrentYearAttributeNamein classAbstractPreviousYearsSynchronizableContentsCollection- Returns:
- the attribute name
-
getPrecedingYearAttributeName
Description copied from class:AbstractPreviousYearsSynchronizableContentsCollectionGet the attribute name for preceding year data.- Specified by:
getPrecedingYearAttributeNamein classAbstractPreviousYearsSynchronizableContentsCollection- Returns:
- the attribute name
-
getSyncCodeItemName
Description copied from class:AbstractPreviousYearsSynchronizableContentsCollectionGet the item name that contains the synchronization code, it can be an attribute or a property.- Specified by:
getSyncCodeItemNamein classAbstractPreviousYearsSynchronizableContentsCollection- Returns:
- the synchronization code item name
-
executeApogeeRequest
Description copied from class:AbstractPreviousYearsSynchronizableContentsCollectionExecute the corresponding apogee request to retrieve the values from Apogee- Specified by:
executeApogeeRequestin classAbstractPreviousYearsSynchronizableContentsCollection- Parameters:
parameters- The parameters of the request- Returns:
- The results of the request
-