public class RemoteCDMFrSynchronizableContentsCollection extends AbstractCDMFrSynchronizableContentsCollection
Modifier and Type | Field and Description |
---|---|
protected ServiceManager |
_manager
The service manager
|
static String |
PARAM_CDMFR_CATALOG
The name of the param to get the catalog
|
static String |
PARAM_CDMFR_IMPORTER_ROLE
The name of the param to get the role of the CDM-fr importer
|
static String |
PARAM_CDMFR_VALIDATE_AFTER_IMPORT
The name of the param to validate after import
|
static String |
PARAM_SHARED_WITH_TYPE
The name of the param to get the shared with type
|
_importCDMFrComponent
_contentDAO, _contentTypeEP, _currentUserProvider, _hasGlobalError, _i18nUtils, _nbCreatedContents, _nbDeletedContents, _nbError, _nbNotChangedContents, _nbSynchronizedContents, _observationManager, _resolver, _synchroComponent, SCC_UNIQUE_ID
_contentPrefix, _contentType, _id, _initialActionId, _label, _languages, _modelId, _modelParamValues, _removalSync, _reportMails, _restrictedField, _searchModelConfiguration, _synchronizeActionId, _synchronizeExistingContentsOnly, _synchronizingContentOperator, _validateActionId, _validateAfterImport, _workflowName
COLLECTION_ID_PROPERTY
Constructor and Description |
---|
RemoteCDMFrSynchronizableContentsCollection() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureStaticParams(Configuration configuration)
Called in
AbstractStaticSynchronizableContentsCollection.configure(Configuration) for first configurations needed. |
protected String |
getCatalog()
Get the catalog
|
protected String |
getImportCDMFrRole()
Get the role of the CDM-fr importer
|
protected String |
getSharedWithType()
Get the defined way to detect shared program
|
List<ModifiableDefaultContent> |
importContent(String idValue,
Map<String,Object> additionalParameters,
Logger logger)
Import a content from remote values.
|
void |
service(ServiceManager manager) |
_getContentsToRemove, _internalPopulate, configureDataSource, configureSearchModel, getContent, getExternalOnlyFields, getIdField, getLocalAndExternalFields, getTotalCount, search, synchronizeContent, updateSyncInformations
_getContentPathQuery, _getExpressionsList, _getMetadataHolder, _isParamNotEmpty, _removeEmptyParameters, _removeMetadataIfExists, _synchronizeMetadata, _updateRelation, _updateRelation, applyChanges, applyChanges, createContentAction, deleteUnexistingContents, populate, sendErrorMail, updateSCCProperty, validateContent
_parseLanguages, _parseParameters, configure, getContentPrefix, getContentType, getId, getInitialActionId, getLabel, getLanguages, getParameterValues, getReportMails, getRestrictedField, getSearchModelConfiguration, getSynchronizeActionId, getSynchronizeCollectionModelId, getSynchronizingContentOperator, getValidateActionId, getWorkflowName, removalSync, synchronizeExistingContentsOnly, validateAfterImport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleRightAssignmentContext
public static final String PARAM_SHARED_WITH_TYPE
public static final String PARAM_CDMFR_IMPORTER_ROLE
public static final String PARAM_CDMFR_CATALOG
public static final String PARAM_CDMFR_VALIDATE_AFTER_IMPORT
protected ServiceManager _manager
public RemoteCDMFrSynchronizableContentsCollection()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractCDMFrSynchronizableContentsCollection
ServiceException
protected void configureStaticParams(Configuration configuration) throws ConfigurationException
AbstractStaticSynchronizableContentsCollection
AbstractStaticSynchronizableContentsCollection.configure(Configuration)
for first configurations needed.configureStaticParams
in class AbstractStaticSynchronizableContentsCollection
configuration
- Configuration to readConfigurationException
- If an error occurspublic List<ModifiableDefaultContent> importContent(String idValue, Map<String,Object> additionalParameters, Logger logger) throws Exception
SynchronizableContentsCollection
idValue
- Id (for import/synchronization) of the content to importadditionalParameters
- Additional parameterslogger
- The loggerException
- if an error occurs.protected String getSharedWithType()
protected String getImportCDMFrRole()
protected String getCatalog()