@Override
public void createEntity(EntityType type, Folder parent, boolean openEditor, Callback callback) {
checkArgument(type != EntityType.Folder, "Folders cannot be created through this factory");
IntegrationEntityFactoryCallback factoryCallback = createFactoryCallback(type, callback, openEditor);
IntegrationEntityFactory factory = getEntityFactory(type);
factory.createEntity(parent, factoryCallback);
}