06-22-2009 08:13 AM
06-22-2009 08:41 AM
06-25-2009 04:38 AM
06-26-2009 03:21 AM
07-01-2009 06:44 AM
11-08-2013 08:32 AM
//Disable auditable aspect to allow change properties of cm:auditable aspect
policyBehaviourFilter.disableBehaviour(nodeRef, ContentModel.ASPECT_AUDITABLE);
nodeService.setProperty(nodeRef, ContentModel.PROP_CREATOR, "xxxxx");
nodeService.setProperty(nodeRef, ContentModel.PROP_MODIFIER, "xxxxx");
//Enable auditable aspect
policyBehaviourFilter.enableBehaviour(nodeRef, ContentModel.ASPECT_AUDITABLE);
<bean id="xxxxxxxx"
class="your class package"
parent="webscript">
<property name="nodeService" ref="NodeService" />
……..
<property name="policyBehaviourFilter" ref="policyBehaviourFilter" />
</bean>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.