Class DefaultSynchronizableContentsCollectionModel
java.lang.Object
org.ametys.plugins.contentio.synchronize.impl.DefaultSynchronizableContentsCollectionModel
- All Implemented Interfaces:
SynchronizableContentsCollectionModel
public class DefaultSynchronizableContentsCollectionModel
extends Object
implements SynchronizableContentsCollectionModel
Implementation of
SynchronizableContentsCollectionModel
able to populate contents from a LDAP source-
Constructor Summary
ConstructorDescriptionDefaultSynchronizableContentsCollectionModel
(String id, Class<SynchronizableContentsCollection> syncCollectionClass, Configuration sccConfig, I18nizableText label, I18nizableText description, Map<String, ? extends Parameter<ParameterHelper.ParameterType>> parameters, String pluginName) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the description of this modelgetId()
Get the id of this modelgetLabel()
Get the label of this modelMap<String,
? extends Parameter<ParameterHelper.ParameterType>> Get the configuration parametersReturns the plugin name of declaration (for debug purpose)Get the synchronizable collection class
-
Constructor Details
-
DefaultSynchronizableContentsCollectionModel
public DefaultSynchronizableContentsCollectionModel(String id, Class<SynchronizableContentsCollection> syncCollectionClass, Configuration sccConfig, I18nizableText label, I18nizableText description, Map<String, ? extends Parameter<ParameterHelper.ParameterType>> parameters, String pluginName) Constructor- Parameters:
id
- The unique identifier of this user directory modelsyncCollectionClass
- TheSynchronizableContentsCollection
classsccConfig
- Additional configuration forSynchronizableContentsCollection
class. Can be empty.label
- The i18n labeldescription
- The i18n descriptionparameters
- the parameterspluginName
- the plugin name of declaration (for debug purpose)
-
-
Method Details
-
getId
Description copied from interface:SynchronizableContentsCollectionModel
Get the id of this model- Specified by:
getId
in interfaceSynchronizableContentsCollectionModel
- Returns:
- the id this model
-
getLabel
Description copied from interface:SynchronizableContentsCollectionModel
Get the label of this model- Specified by:
getLabel
in interfaceSynchronizableContentsCollectionModel
- Returns:
- the label of this model
-
getDescription
Description copied from interface:SynchronizableContentsCollectionModel
Get the description of this model- Specified by:
getDescription
in interfaceSynchronizableContentsCollectionModel
- Returns:
- the description
-
getParameters
Description copied from interface:SynchronizableContentsCollectionModel
Get the configuration parameters- Specified by:
getParameters
in interfaceSynchronizableContentsCollectionModel
- Returns:
- The configuration parameters
-
getPluginName
Description copied from interface:SynchronizableContentsCollectionModel
Returns the plugin name of declaration (for debug purpose)- Specified by:
getPluginName
in interfaceSynchronizableContentsCollectionModel
- Returns:
- the plugin name
-
getSynchronizableCollectionClass
Description copied from interface:SynchronizableContentsCollectionModel
Get the synchronizable collection class- Specified by:
getSynchronizableCollectionClass
in interfaceSynchronizableContentsCollectionModel
- Returns:
- the synchronizable collection class
-