protected ObjectId storeCOMOperationActivity(final MALInteraction interaction) { if (comServices.getActivityTrackingService() != null) { return comServices.getActivityTrackingService().storeCOMOperationActivity(interaction, null); } else { return null; } }
public DefinitionsManager(COMServicesProvider comServices) { this.defs = new HashMap<Long, Element>(); if (comServices != null) { this.eventService = comServices.getEventService(); this.archiveService = comServices.getArchiveService(); this.activityTrackingService = comServices.getActivityTrackingService(); this.comServices = comServices; } else { this.eventService = null; this.archiveService = null; this.activityTrackingService = null; this.comServices = null; } }
protected MCManager(COMServicesProvider comServices) { this.identitiesToNamesMap = new HashMap<Long, Identifier>(); this.namesToPairsMap = new HashMap<Identifier, ObjectInstancePair>(); this.objIdToDefMap = new HashMap<Long, Element>(); if (comServices != null) { this.eventService = comServices.getEventService(); this.archiveService = comServices.getArchiveService(); this.activityTrackingService = comServices.getActivityTrackingService(); this.comServices = comServices; } else { this.eventService = null; this.archiveService = null; this.activityTrackingService = null; this.comServices = null; } try { groupService.init(archiveService); } catch (MALException ex) { Logger.getLogger(MCManager.class.getName()).log(Level.SEVERE, null, ex); } }
"Sending event to app: {0} (Name: ''{1}'')", new Object[]{appInstId, appDirectoryNames.get(i)}); this.setRunning(appInstId, false, interaction.getInteraction()); sourceList.add(super.getCOMServices().getActivityTrackingService().storeCOMOperationActivity(interaction.getInteraction(), null));