|
Nuxeo Enterprise Platform 5.4 | |||||||||
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(org.nuxeo.ecm.core.api.DocumentModel from,
org.nuxeo.ecm.core.api.DocumentModel to)
Inherits the registered properties from one DocumentModel to
another. |
Method Detail |
---|
void inheritProperties(org.nuxeo.ecm.core.api.DocumentModel from, org.nuxeo.ecm.core.api.DocumentModel to) throws org.nuxeo.ecm.core.api.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
org.nuxeo.ecm.core.api.ClientException
- in case of any error setting the propertiesMap<String,InheritedPropertiesDescriptor> getInheritedPropertiesDescriptors()
Map
containing the registered InheritedPropertiesDescriptor
s
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |