public abstract class AbstractStaticSynchronizableContentsCollection extends Object implements SynchronizableContentsCollection, Configurable
AbstractSynchronizableContentsCollection| Modifier and Type | Field and Description |
|---|---|
protected String |
_contentPrefix
The prefix of the contents
|
protected String |
_contentType
The handled content type
|
protected String |
_id
The id
|
protected int |
_initialActionId
The id of the initial action of the workflow
|
protected I18nizableText |
_label
The label
|
protected String |
_modelId
The id of controller
|
protected Map<String,Object> |
_modelParamValues
The untyped values of controller's parameters
|
protected boolean |
_removalSync
True if removal sync
|
protected String |
_reportMails
The report mails
|
protected String |
_restrictedField
The path to the metadata holding the 'restricted' property
|
protected SCCSearchModelConfiguration |
_searchModelConfiguration
Search model configuration for search tool
|
protected boolean |
_synchronizeExistingContentsOnly
The id of the content operator to use
|
protected String |
_synchronizingContentOperator
The id of the content operator to use
|
protected int |
_validateActionId
The id of the validate action of the workflow
|
protected boolean |
_validateAfterImport
True to validate contents after import
|
protected String |
_workflowName
The name of the workflow
|
COLLECTION_ID_PROPERTY| Constructor and Description |
|---|
AbstractStaticSynchronizableContentsCollection() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
_parseParameters(Configuration configuration)
Parse parameters' values
|
void |
configure(Configuration configuration) |
protected abstract void |
configureDataSource(Configuration configuration)
Configure the data source parameters.
|
protected abstract void |
configureSearchModel()
Configure the search model used by SCCSearchTool.
|
protected void |
configureStaticParams(Configuration configuration)
Called in
configure(Configuration) for first configurations needed. |
String |
getContentPrefix()
Get the prefix to use for the creation of contents
|
String |
getContentType()
Get the type of content handled by this collection
|
String |
getId()
Get the id of synchronizable collection.
|
int |
getInitialActionId()
Get the id of the initial action of the workflow
|
I18nizableText |
getLabel()
Get the label of synchronizable collection
|
Map<String,Object> |
getParameterValues()
Get the untyped values of parameters for controller
|
String |
getReportMails()
If an exception occurs during synchronization, an error report mail will be sent to those email addresses (separated by new lines)
|
String |
getRestrictedField()
Get the path of boolean metadata for restricted content.
|
SCCSearchModelConfiguration |
getSearchModelConfiguration()
Get the search UI model for search tool (columns, criterias, url for buttons, etc.)
|
String |
getSynchronizeCollectionModelId()
Get the id of controller responsible of synchronization of this collection
|
String |
getSynchronizingContentOperator()
Gets the id of the
SynchronizingContentOperator extension to use during synchronization |
int |
getValidateActionId()
Get the id of the validate action of the workflow
|
String |
getWorkflowName()
Get the name of the workflow to use for the synchronized contents
|
boolean |
removalSync()
When returns true, a content created by a previous synchro will be removed if it does not exist anymore during the current synchro.
|
boolean |
synchronizeExistingContentsOnly()
True to synchronize only existing contents
|
boolean |
validateAfterImport()
True to validate the contents after import
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContent, getExternalOnlyFields, getIdField, getLocalAndExternalFields, getTotalCount, handleRightAssignmentContext, importContent, populate, search, synchronizeContent, updateSyncInformationsprotected I18nizableText _label
protected String _restrictedField
protected String _contentType
protected Map<String,Object> _modelParamValues
protected boolean _removalSync
protected String _workflowName
protected int _initialActionId
protected int _validateActionId
protected String _contentPrefix
protected boolean _validateAfterImport
protected String _reportMails
protected String _synchronizingContentOperator
protected boolean _synchronizeExistingContentsOnly
protected SCCSearchModelConfiguration _searchModelConfiguration
public AbstractStaticSynchronizableContentsCollection()
public void configure(Configuration configuration) throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionprotected void configureStaticParams(Configuration configuration) throws ConfigurationException
configure(Configuration) for first configurations needed.configuration - Configuration to readConfigurationException - If an error occursprotected abstract void configureDataSource(Configuration configuration) throws ConfigurationException
configuration - Configuration to readConfigurationException - If an error occursprotected abstract void configureSearchModel()
public String getId()
SynchronizableContentsCollectiongetId in interface SynchronizableContentsCollectionpublic I18nizableText getLabel()
SynchronizableContentsCollectiongetLabel in interface SynchronizableContentsCollectionpublic String getContentType()
SynchronizableContentsCollectiongetContentType in interface SynchronizableContentsCollectionpublic String getRestrictedField()
SynchronizableContentsCollectiongetRestrictedField in interface SynchronizableContentsCollectionpublic String getSynchronizeCollectionModelId()
SynchronizableContentsCollectiongetSynchronizeCollectionModelId in interface SynchronizableContentsCollectionpublic Map<String,Object> getParameterValues()
SynchronizableContentsCollectiongetParameterValues in interface SynchronizableContentsCollectionpublic boolean removalSync()
SynchronizableContentsCollectionremovalSync in interface SynchronizableContentsCollectionpublic String getWorkflowName()
SynchronizableContentsCollectiongetWorkflowName in interface SynchronizableContentsCollectionpublic int getInitialActionId()
SynchronizableContentsCollectiongetInitialActionId in interface SynchronizableContentsCollectionpublic int getValidateActionId()
SynchronizableContentsCollectiongetValidateActionId in interface SynchronizableContentsCollectionpublic String getContentPrefix()
SynchronizableContentsCollectiongetContentPrefix in interface SynchronizableContentsCollectionpublic boolean validateAfterImport()
SynchronizableContentsCollectionvalidateAfterImport in interface SynchronizableContentsCollectionpublic String getReportMails()
SynchronizableContentsCollectiongetReportMails in interface SynchronizableContentsCollectionpublic String getSynchronizingContentOperator()
SynchronizableContentsCollectionSynchronizingContentOperator extension to use during synchronizationgetSynchronizingContentOperator in interface SynchronizableContentsCollectionSynchronizingContentOperator extension to use during synchronizationpublic boolean synchronizeExistingContentsOnly()
SynchronizableContentsCollectionsynchronizeExistingContentsOnly in interface SynchronizableContentsCollectionpublic SCCSearchModelConfiguration getSearchModelConfiguration()
SynchronizableContentsCollectiongetSearchModelConfiguration in interface SynchronizableContentsCollectionSCCSearchModelConfigurationprotected Map<String,Object> _parseParameters(Configuration configuration) throws ConfigurationException
configuration - The root configurationConfigurationException - if an error occurred