public abstract class AbstractDataSourceSynchronizableContentsCollection extends AbstractSynchronizableContentsCollection
SynchronizableContentsCollection
to be synchronized with a data sourceModifier and Type | Field and Description |
---|---|
protected static String |
__PARAM_DATASOURCE_ID
Name of parameter holding the data source id
|
protected static String |
__PARAM_FIELD_ID
Name of parameter holding the data source id
|
protected static String |
__PARAM_MAPPING
Name of parameter holding the fields mapping
|
protected static String |
__PARAM_MAPPING_ATTRIBUTE
Name of parameter into mapping holding the remote attribute
|
protected static String |
__PARAM_MAPPING_METADATA_REF
Name of parameter into mapping holding the path of metadata
|
protected static String |
__PARAM_MAPPING_SYNCHRO
Name of parameter into mapping holding the synchronized property
|
protected JSONUtils |
_jsonUtils
The JSON Utils
|
_contentDAO, _contentPrefix, _contentType, _contentTypeEP, _contentTypesHelper, _currentUserProvider, _hasGlobalError, _i18nUtils, _id, _initialActionId, _label, _languagesManager, _modelId, _modelParamValues, _nbError, _observationManager, _removalSync, _reportMails, _resolver, _restrictedField, _synchronizingContentOperator, _synchronizingContentOperatorEP, _validateActionId, _validateAfterImport, _workflowName, _workflowProvider
COLLECTION_ID_PROPERTY
Constructor and Description |
---|
AbstractDataSourceSynchronizableContentsCollection() |
Modifier and Type | Method and Description |
---|---|
String |
getDataSourceId()
Get the id of data source
|
Set<String> |
getExternalOnlyFields()
Get the path of field that are valued externally only.
|
String |
getIdField()
Get the path of metadata holding the unique identifier
|
Set<String> |
getLocalAndExternalFields()
Get the path of tri-state fields (with local and external values)
|
Map<String,List<String>> |
getMapping()
Get the field mapping
|
void |
service(ServiceManager smanager) |
_getContent, _getContentName, _getIdFieldValue, _handleContent, _internalPopulate, _isHandled, _parseParameters, applyChanges, configure, createContentAction, deleteUnexistingContents, getContentPrefix, getContentType, getId, getInitialActionId, getLabel, getParameterValues, getReportMails, getRestrictedField, getSynchronizeCollectionModelId, getSynchronizingContentOperator, getValidateActionId, getWorkflowName, importContent, importContent, populate, removalSync, sendErrorMail, synchronizeContent, updateSCCProperty, validateAfterImport, validateContent
protected static final String __PARAM_DATASOURCE_ID
protected static final String __PARAM_FIELD_ID
protected static final String __PARAM_MAPPING
protected static final String __PARAM_MAPPING_SYNCHRO
protected static final String __PARAM_MAPPING_METADATA_REF
protected static final String __PARAM_MAPPING_ATTRIBUTE
protected JSONUtils _jsonUtils
public AbstractDataSourceSynchronizableContentsCollection()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class AbstractSynchronizableContentsCollection
ServiceException
public String getIdField()
SynchronizableContentsCollection
public String getDataSourceId()
public Set<String> getExternalOnlyFields()
SynchronizableContentsCollection
public Set<String> getLocalAndExternalFields()
SynchronizableContentsCollection
public Map<String,List<String>> getMapping()