public class MLContainerType extends Object implements NodeServicePolicies.OnUpdatePropertiesPolicy
multilingual container type
Policy.Arg
ARG_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,
Map<org.alfresco.service.namespace.QName,Serializable> before,
Map<org.alfresco.service.namespace.QName,Serializable> 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, Map<org.alfresco.service.namespace.QName,Serializable> before, Map<org.alfresco.service.namespace.QName,Serializable> after)
onUpdateProperties
in interface NodeServicePolicies.OnUpdatePropertiesPolicy
nodeRef
- reference to the updated nodebefore
- the node's properties before the changeafter
- the node's properties after the changeCopyright © 2005–2017 Alfresco Software. All rights reserved.