Class DefaultSynchronizableContentsCollectionModel
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.contentio.synchronize.impl.DefaultSynchronizableContentsCollectionModel
- All Implemented Interfaces:
SynchronizableContentsCollectionModel,Model,ModelItemAccessor,ModelItemContainer,LogEnabled,PluginAware,Disposable,Configurable,Contextualizable,Serviceable
public class DefaultSynchronizableContentsCollectionModel
extends AbstractLogEnabled
implements SynchronizableContentsCollectionModel, Serviceable, Contextualizable, PluginAware, Configurable, Disposable
Implementation of
SynchronizableContentsCollectionModel able to populate contents from a LDAP source-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration configuration) protected voidconfigureParameters(Configuration configuration) Configure the SCC parametersvoidcontextualize(Context context) voiddispose()Get the description of this modelgetId()Retrieves the model id (an id must be unique in the familyModel.getFamilyId()getLabel()Get the label of this modelRetrieves all the model items of this accessorReturns the plugin name of declaration (for debug purpose)Get the synchronizable collection classvoidservice(ServiceManager manager) voidsetPluginInfo(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.runtime.model.ModelItemAccessor
getChild, getModelItem, hasModelItemMethods inherited from interface org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollectionModel
getFamilyId
-
Constructor Details
-
DefaultSynchronizableContentsCollectionModel
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
setPluginInfo
Description copied from interface:PluginAwareSets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfoin interfacePluginAware- Parameters:
pluginName- Unique identifier for the plugin hosting the extensionfeatureName- Unique feature identifier (unique for a given pluginName)id- Unique identifier of this component
-
configure
- Specified by:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
configureParameters
Configure the SCC parameters- Parameters:
configuration- the model configuration- Throws:
ConfigurationException- if a configuration exception occurred
-
dispose
- Specified by:
disposein interfaceDisposable
-
getId
Description copied from interface:ModelRetrieves the model id (an id must be unique in the familyModel.getFamilyId() -
getLabel
Description copied from interface:SynchronizableContentsCollectionModelGet the label of this model- Specified by:
getLabelin interfaceSynchronizableContentsCollectionModel- Returns:
- the label of this model
-
getDescription
Description copied from interface:SynchronizableContentsCollectionModelGet the description of this model- Specified by:
getDescriptionin interfaceSynchronizableContentsCollectionModel- Returns:
- the description
-
getModelItems
Description copied from interface:ModelItemAccessorRetrieves all the model items of this accessor- Specified by:
getModelItemsin interfaceModelItemAccessor- Returns:
- the model items
-
getPluginName
Description copied from interface:SynchronizableContentsCollectionModelReturns the plugin name of declaration (for debug purpose)- Specified by:
getPluginNamein interfaceSynchronizableContentsCollectionModel- Returns:
- the plugin name
-
getSynchronizableCollectionClass
Description copied from interface:SynchronizableContentsCollectionModelGet the synchronizable collection class- Specified by:
getSynchronizableCollectionClassin interfaceSynchronizableContentsCollectionModel- Returns:
- the synchronizable collection class
-