public class SynchronizableContentsCollectionMetadataProvider extends AbstractLogEnabled implements ExternalizableMetadataProvider, Serviceable
ExternalizableMetadataProvider.ExternalizableMetadataStatus
Modifier and Type | Field and Description |
---|---|
protected ContentTypesHelper |
_contentTypesHelper
The content types helper
|
protected SynchronizableContentsCollectionDAO |
_synchronizableContentsCollectionDAO
The DAO for synchronizable contents collections
|
Constructor and Description |
---|
SynchronizableContentsCollectionMetadataProvider() |
Modifier and Type | Method and Description |
---|---|
private List<String> |
_getCollectionIds(Content content) |
private Map<String,Object> |
buildParametersMap(Content content) |
Set<String> |
getExternalAndLocalMetadata(Content content)
Get the path of metadata that can be valued externally or locally.
|
Set<String> |
getExternalOnlyMetadata(Content content)
Get the path of metadata that are valued externally only.
|
void |
service(ServiceManager manager) |
getLogger, setLogger
protected SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
protected ContentTypesHelper _contentTypesHelper
public SynchronizableContentsCollectionMetadataProvider()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public Set<String> getExternalOnlyMetadata(Content content)
ExternalizableMetadataProvider
getExternalOnlyMetadata
in interface ExternalizableMetadataProvider
content
- The contentpublic Set<String> getExternalAndLocalMetadata(Content content)
ExternalizableMetadataProvider
getExternalAndLocalMetadata
in interface ExternalizableMetadataProvider
content
- The contentprivate Map<String,Object> buildParametersMap(Content content)
private List<String> _getCollectionIds(Content content) throws AmetysRepositoryException
AmetysRepositoryException