public interface InheritedPropertiesService
DocumentModel
to another one.Modifier and Type | Method and Description |
---|---|
Map<String,InheritedPropertiesDescriptor> |
getInheritedPropertiesDescriptors()
Returns an immutable
Map containing the registered InheritedPropertiesDescriptor s |
void |
inheritProperties(DocumentModel from,
DocumentModel to)
Inherits the registered properties from one
DocumentModel to
another. |
void inheritProperties(DocumentModel from, DocumentModel to) throws ClientException
DocumentModel
to
another. It copies the properties only if the two DocumentModel
s
contains the concerned schemas / properties.from
- the DocumentModel
from which get the inherited
propertiesto
- the DocumentModel
where to set the inherited propertiesClientException
- in case of any error setting the propertiesMap<String,InheritedPropertiesDescriptor> getInheritedPropertiesDescriptors()
Map
containing the registered InheritedPropertiesDescriptor
sCopyright © 2011 Nuxeo SA. All Rights Reserved.