}
public void updateProductTeams(Collection<Team> teams) {
if (selectedProduct != null && selectedProduct.getId() != null) {
if (hasChanges(selectedProduct.getTeam(), teams)) {
DmProduct dmProduct =
DmProductFactory.instance().getClient(getCallContext());
dmProduct.updateProductTeams(selectedProduct, teams, getCallContext());
selectedProduct.setTeam(teams);
setSelectedProduct(selectedProduct);
productTeams = null;
}