public void registerRuleTrigger()
{
// Bind behaviour
this.policyComponent.bindClassBehaviour(
QName.createQName(NamespaceService.ALFRESCO_URI, "onUpdateProperties"),
this,
new JavaBehaviour(this, "onUpdateProperties"));
}
El problema reside en la forma en que se crea el JavaBehaviour…El constructor de esta clase admite un tercer parámetro para indicarle la frecuencia de notificación del evento:JavaBehaviour(Object instance, String method, NotificationFrequency frequency)
y los valores que admite son: EVERY_EVENT, FIRST_EVENT, TRANSACTION_COMMIT. Por defecto, el valor de la frecuencia es EVERY_EVENT.Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.