|
Nuxeo ECM Projects 5.6-RC1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InheritedPropertiesService
Service to register properties which need to be inherited from one DocumentModel
to another one.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 properties
ClientException
- in case of any error setting the propertiesMap<String,InheritedPropertiesDescriptor> getInheritedPropertiesDescriptors()
Map
containing the registered InheritedPropertiesDescriptor
s
|
Nuxeo ECM Projects 5.6-RC1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |