public class DefaultSynchronizableContentsCollectionModel extends Object implements SynchronizableContentsCollectionModel
SynchronizableContentsCollectionModel
able to populate contents from a LDAP sourceModifier and Type | Field and 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 and Description |
---|
DefaultSynchronizableContentsCollectionModel(String id,
Class<SynchronizableContentsCollection> syncCollectionClass,
Configuration sccConfig,
I18nizableText label,
I18nizableText description,
Map<String,? extends Parameter<ParameterHelper.ParameterType>> parameters,
String pluginName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getDescription()
Get the description of this model
|
String |
getId()
Get the id of this model
|
I18nizableText |
getLabel()
Get the label of this model
|
Map<String,? extends Parameter<ParameterHelper.ParameterType>> |
getParameters()
Get the configuration parameters
|
String |
getPluginName()
Returns the plugin name of declaration (for debug purpose)
|
Class<SynchronizableContentsCollection> |
getSynchronizableCollectionClass()
Get the synchronizable collection class
|
private Class<SynchronizableContentsCollection> _syncCollectionClass
private I18nizableText _label
private I18nizableText _description
private Map<String,? extends Parameter<ParameterHelper.ParameterType>> _parameters
private String _pluginName
public DefaultSynchronizableContentsCollectionModel(String id, Class<SynchronizableContentsCollection> syncCollectionClass, Configuration sccConfig, I18nizableText label, I18nizableText description, Map<String,? extends Parameter<ParameterHelper.ParameterType>> parameters, String pluginName)
id
- The unique identifier of this user directory modelsyncCollectionClass
- The SynchronizableContentsCollection
classsccConfig
- Additional configuration for SynchronizableContentsCollection
class. Can be empty.label
- The i18n labeldescription
- The i18n descriptionparameters
- the parameterspluginName
- the plugin name of declaration (for debug purpose)public String getId()
SynchronizableContentsCollectionModel
getId
in interface SynchronizableContentsCollectionModel
public I18nizableText getLabel()
SynchronizableContentsCollectionModel
getLabel
in interface SynchronizableContentsCollectionModel
public I18nizableText getDescription()
SynchronizableContentsCollectionModel
getDescription
in interface SynchronizableContentsCollectionModel
public Map<String,? extends Parameter<ParameterHelper.ParameterType>> getParameters()
SynchronizableContentsCollectionModel
getParameters
in interface SynchronizableContentsCollectionModel
public String getPluginName()
SynchronizableContentsCollectionModel
getPluginName
in interface SynchronizableContentsCollectionModel
public Class<SynchronizableContentsCollection> getSynchronizableCollectionClass()
SynchronizableContentsCollectionModel
getSynchronizableCollectionClass
in interface SynchronizableContentsCollectionModel