Class DefaultSynchronizableContentsCollectionModel
- java.lang.Object
 - 
- org.ametys.plugins.contentio.synchronize.impl.DefaultSynchronizableContentsCollectionModel
 
 
- 
- All Implemented Interfaces:
 SynchronizableContentsCollectionModel
public class DefaultSynchronizableContentsCollectionModel extends Object implements SynchronizableContentsCollectionModel
Implementation ofSynchronizableContentsCollectionModelable to populate contents from a LDAP source 
- 
- 
Field Summary
Fields Modifier and Type Field Description private I18nizableText_descriptionprivate String_idprivate I18nizableText_labelprivate Map<String,? extends Parameter<ParameterHelper.ParameterType>>_parametersprivate String_pluginNameprivate 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 I18nizableTextgetDescription()Get the description of this modelStringgetId()Get the id of this modelI18nizableTextgetLabel()Get the label of this modelMap<String,? extends Parameter<ParameterHelper.ParameterType>>getParameters()Get the configuration parametersStringgetPluginName()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- TheSynchronizableContentsCollectionclasssccConfig- Additional configuration forSynchronizableContentsCollectionclass. 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:SynchronizableContentsCollectionModelGet the id of this model- Specified by:
 getIdin interfaceSynchronizableContentsCollectionModel- Returns:
 - the id this model
 
 
- 
getLabel
public I18nizableText getLabel()
Description copied from interface:SynchronizableContentsCollectionModelGet the label of this model- Specified by:
 getLabelin interfaceSynchronizableContentsCollectionModel- Returns:
 - the label of this model
 
 
- 
getDescription
public I18nizableText getDescription()
Description copied from interface:SynchronizableContentsCollectionModelGet the description of this model- Specified by:
 getDescriptionin interfaceSynchronizableContentsCollectionModel- Returns:
 - the description
 
 
- 
getParameters
public Map<String,? extends Parameter<ParameterHelper.ParameterType>> getParameters()
Description copied from interface:SynchronizableContentsCollectionModelGet the configuration parameters- Specified by:
 getParametersin interfaceSynchronizableContentsCollectionModel- Returns:
 - The configuration parameters
 
 
- 
getPluginName
public String getPluginName()
Description copied from interface:SynchronizableContentsCollectionModelReturns the plugin name of declaration (for debug purpose)- Specified by:
 getPluginNamein interfaceSynchronizableContentsCollectionModel- Returns:
 - the plugin name
 
 
- 
getSynchronizableCollectionClass
public Class<SynchronizableContentsCollection> getSynchronizableCollectionClass()
Description copied from interface:SynchronizableContentsCollectionModelGet the synchronizable collection class- Specified by:
 getSynchronizableCollectionClassin interfaceSynchronizableContentsCollectionModel- Returns:
 - the synchronizable collection class
 
 
 - 
 
 -