public class MLContainerType extends Object implements NodeServicePolicies.OnUpdatePropertiesPolicy
multilingual container typePolicy.ArgARG_0, ARG_1, ARG_2, QNAME| Constructor and Description |
|---|
MLContainerType() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initialise the Multilingual Container Type
|
void |
onUpdateProperties(NodeRef nodeRef,
Map<QName,Serializable> before,
Map<QName,Serializable> after)
The property locale of a cm:mlContainer represents the locale of the pivot translation.
|
void |
setMultilingualContentService(MultilingualContentService multilingualContentService) |
void |
setNodeService(NodeService nodeService) |
void |
setPolicyComponent(PolicyComponent policyComponent) |
public void init()
Ensures that the ml empty document aspect
public void setPolicyComponent(PolicyComponent policyComponent)
policyComponent - the policy component to register behaviour withpublic void setMultilingualContentService(MultilingualContentService multilingualContentService)
multilingualContentService - the Multilingual Content Service to setpublic void setNodeService(NodeService nodeService)
nodeService - the Node Service to setpublic void onUpdateProperties(NodeRef nodeRef, Map<QName,Serializable> before, Map<QName,Serializable> after)
onUpdateProperties in interface NodeServicePolicies.OnUpdatePropertiesPolicynodeRef - reference to the updated nodebefore - the node's properties before the changeafter - the node's properties after the changeCopyright © 2005–2021 Alfresco Software. All rights reserved.