@Transactional
public NCSComponent addOrUpdateComponents(final NCSComponent component, final boolean deleteOrphans) {
final ComponentIdentifier componentId = getIdentifier(component);
LogUtils.debugf(this, "addOrUpdateComponents(%s, %s)", componentId, Boolean.valueOf(deleteOrphans));
final ComponentEventQueue ceq = new ComponentEventQueue();
<BUG>final NCSComponent updatedComponent = addOrUpdateComponents(componentId, component, ceq, deleteOrphans);
ceq.sendAll(m_eventForwarder);

return updatedComponent;</BUG>
}

@Transactional
public NCSComponent getComponent(final String type, final String foreignSource, final String foreignId) {
LogUtils.debugf(this, "getComponent(%s, %s, %s)", type, foreignSource, foreignId);
return getComponent(new ComponentIdentifier(type, foreignSource, foreignId));
}
