use of org.talend.core.model.update.RepositoryUpdateManager in project tdi-studio-se by Talend.
the class GenericUpdateManager method updateGenericConnection.
public static boolean updateGenericConnection(ConnectionItem connectionItem, List<IMetadataTable> oldMetadataTable, boolean show, final boolean onlySimpleShow) {
List<Relation> relations = RelationshipItemBuilder.getInstance().getItemsRelatedTo(connectionItem.getProperty().getId(), RelationshipItemBuilder.LATEST_VERSION, RelationshipItemBuilder.PROPERTY_RELATION);
RepositoryUpdateManager repositoryUpdateManager = new GenericUpdateManager(connectionItem, oldMetadataTable, relations);
return repositoryUpdateManager.doWork(true, false);
}
Aggregations