use of org.alfresco.module.org_alfresco_module_rm.job.publish.PublishExecutorRegistry in project records-management by Alfresco.
the class DispositionServiceImplTest method publishDispositionActionDefinitionChange.
private void publishDispositionActionDefinitionChange(DispositionActionDefinition dad) {
PublishExecutorRegistry reg = (PublishExecutorRegistry) applicationContext.getBean("publishExecutorRegistry");
PublishExecutor pub = reg.get(RecordsManagementModel.UPDATE_TO_DISPOSITION_ACTION_DEFINITION);
assertNotNull(pub);
pub.publish(dad.getNodeRef());
}
Aggregations