@AlfrescoPublicApi public static interface NodeServicePolicies.BeforeSetNodeTypePolicy extends ClassPolicy
Policy.Arg
Modifier and Type | Field and Description |
---|---|
static org.alfresco.service.namespace.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
void |
beforeSetNodeType(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName oldType,
org.alfresco.service.namespace.QName newType)
Called before the type of a node is set explicitly.
|
void beforeSetNodeType(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName oldType, org.alfresco.service.namespace.QName newType)
nodeRef
- the node having its type set.oldType
- the current type of the node.newType
- the type the node will be given.Copyright © 2005–2017 Alfresco Software. All rights reserved.