Class SynchronizableContentsCollectionDataProvider
- java.lang.Object
 - 
- org.ametys.runtime.plugin.component.AbstractLogEnabled
 - 
- org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollectionDataProvider
 
 
 
- 
- All Implemented Interfaces:
 ExternalizableDataProvider,LogEnabled,Component,Serviceable
public class SynchronizableContentsCollectionDataProvider extends AbstractLogEnabled implements ExternalizableDataProvider, Component, Serviceable
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.data.external.ExternalizableDataProvider
ExternalizableDataProvider.ExternalizableDataStatus 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected SynchronizableContentsCollectionHelper_sccHelperSCC helperprotected SynchronizableContentsCollectionDAO_synchronizableContentsCollectionDAOThe DAO for synchronizable contents collections 
- 
Constructor Summary
Constructors Constructor Description SynchronizableContentsCollectionDataProvider() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Map<String,Object>buildParametersMap(Content content)Set<String>getExternalizableDataPaths(ModelAwareDataHolder dataHolder)Get the paths of data that can be valued externally or locally.booleanisDataExternalizable(ModelAwareDataHolder dataHolder, ModelItem modelItem)Checks if the data of given model item is externalizablevoidservice(ServiceManager manager)- 
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_synchronizableContentsCollectionDAO
protected SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
The DAO for synchronizable contents collections 
- 
_sccHelper
protected SynchronizableContentsCollectionHelper _sccHelper
SCC helper 
 - 
 
- 
Constructor Detail
- 
SynchronizableContentsCollectionDataProvider
public SynchronizableContentsCollectionDataProvider()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Throws:
 ServiceException
 
- 
getExternalizableDataPaths
public Set<String> getExternalizableDataPaths(ModelAwareDataHolder dataHolder)
Description copied from interface:ExternalizableDataProviderGet the paths of data that can be valued externally or locally.- Specified by:
 getExternalizableDataPathsin interfaceExternalizableDataProvider- Parameters:
 dataHolder- The externalizable data holder- Returns:
 - The paths of data that can be valued externally or locally
 
 
- 
isDataExternalizable
public boolean isDataExternalizable(ModelAwareDataHolder dataHolder, ModelItem modelItem)
Description copied from interface:ExternalizableDataProviderChecks if the data of given model item is externalizable- Specified by:
 isDataExternalizablein interfaceExternalizableDataProvider- Parameters:
 dataHolder- The externalizable data holdermodelItem- the model item- Returns:
 trueif the data of given model item is externalizable,falseotherwise
 
- 
buildParametersMap
private Map<String,Object> buildParametersMap(Content content)
 
 - 
 
 -