public class MLContainerType extends java.lang.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(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.util.Map before,
java.util.Map after)
The property locale of a cm:mlContainer represents the locale of the pivot translation.
|
void |
setMultilingualContentService(MultilingualContentService multilingualContentService) |
void |
setNodeService(org.alfresco.service.cmr.repository.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(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the Node Service to setpublic void onUpdateProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.util.Map before,
java.util.Map 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 - 2010 Alfresco Software, Inc. All Rights Reserved.