Class SynchronizableContentsCollectionMetadataProvider
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollectionMetadataProvider
-
- All Implemented Interfaces:
ExternalizableMetadataProvider
,LogEnabled
,Serviceable
public class SynchronizableContentsCollectionMetadataProvider extends AbstractLogEnabled implements ExternalizableMetadataProvider, Serviceable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.cms.content.external.ExternalizableMetadataProvider
ExternalizableMetadataProvider.ExternalizableMetadataStatus
-
-
Field Summary
Fields Modifier and Type Field Description protected SynchronizableContentsCollectionHelper
_sccHelper
SCC helperprotected SynchronizableContentsCollectionDAO
_synchronizableContentsCollectionDAO
The DAO for synchronizable contents collections
-
Constructor Summary
Constructors Constructor Description SynchronizableContentsCollectionMetadataProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getExternalAndLocalMetadata(Content content)
Get the path of metadata that can be valued externally or locally.void
service(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
-
SynchronizableContentsCollectionMetadataProvider
public SynchronizableContentsCollectionMetadataProvider()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getExternalAndLocalMetadata
public Set<String> getExternalAndLocalMetadata(Content content)
Description copied from interface:ExternalizableMetadataProvider
Get the path of metadata that can be valued externally or locally.- Specified by:
getExternalAndLocalMetadata
in interfaceExternalizableMetadataProvider
- Parameters:
content
- The content- Returns:
- The path of external or local metadata
-
-