Class DefaultSynchronizableContentsCollectionModel
- java.lang.Object
-
- org.ametys.plugins.contentio.synchronize.impl.DefaultSynchronizableContentsCollectionModel
-
- All Implemented Interfaces:
SynchronizableContentsCollectionModel
public class DefaultSynchronizableContentsCollectionModel extends Object implements SynchronizableContentsCollectionModel
Implementation ofSynchronizableContentsCollectionModel
able to populate contents from a LDAP source
-
-
Field Summary
Fields Modifier and Type Field Description private I18nizableText
_description
private String
_id
private I18nizableText
_label
private Map<String,? extends Parameter<ParameterHelper.ParameterType>>
_parameters
private String
_pluginName
private Class<SynchronizableContentsCollection>
_syncCollectionClass
-
Constructor Summary
Constructors Constructor Description DefaultSynchronizableContentsCollectionModel(String id, Class<SynchronizableContentsCollection> syncCollectionClass, Configuration sccConfig, I18nizableText label, I18nizableText description, Map<String,? extends Parameter<ParameterHelper.ParameterType>> parameters, String pluginName)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I18nizableText
getDescription()
Get the description of this modelString
getId()
Get the id of this modelI18nizableText
getLabel()
Get the label of this modelMap<String,? extends Parameter<ParameterHelper.ParameterType>>
getParameters()
Get the configuration parametersString
getPluginName()
Returns the plugin name of declaration (for debug purpose)Class<SynchronizableContentsCollection>
getSynchronizableCollectionClass()
Get the synchronizable collection class
-
-
-
Field Detail
-
_syncCollectionClass
private Class<SynchronizableContentsCollection> _syncCollectionClass
-
_label
private I18nizableText _label
-
_description
private I18nizableText _description
-
_parameters
private Map<String,? extends Parameter<ParameterHelper.ParameterType>> _parameters
-
_pluginName
private String _pluginName
-
-
Constructor Detail
-
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 Detail
-
getId
public String getId()
Description copied from interface:SynchronizableContentsCollectionModel
Get the id of this model- Specified by:
getId
in interfaceSynchronizableContentsCollectionModel
- Returns:
- the id this model
-
getLabel
public I18nizableText getLabel()
Description copied from interface:SynchronizableContentsCollectionModel
Get the label of this model- Specified by:
getLabel
in interfaceSynchronizableContentsCollectionModel
- Returns:
- the label of this model
-
getDescription
public I18nizableText getDescription()
Description copied from interface:SynchronizableContentsCollectionModel
Get the description of this model- Specified by:
getDescription
in interfaceSynchronizableContentsCollectionModel
- Returns:
- the description
-
getParameters
public Map<String,? extends Parameter<ParameterHelper.ParameterType>> getParameters()
Description copied from interface:SynchronizableContentsCollectionModel
Get the configuration parameters- Specified by:
getParameters
in interfaceSynchronizableContentsCollectionModel
- Returns:
- The configuration parameters
-
getPluginName
public String 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
public Class<SynchronizableContentsCollection> getSynchronizableCollectionClass()
Description copied from interface:SynchronizableContentsCollectionModel
Get the synchronizable collection class- Specified by:
getSynchronizableCollectionClass
in interfaceSynchronizableContentsCollectionModel
- Returns:
- the synchronizable collection class
-
-