public class SynchronizableContentsCollectionMetadataProvider extends AbstractLogEnabled implements ExternalizableMetadataProvider, Serviceable
ExternalizableMetadataProvider.ExternalizableMetadataStatus
Modifier and Type | Field and Description |
---|---|
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) |
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
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 List<String> _getCollectionIds(Content content) throws AmetysRepositoryException
AmetysRepositoryException