com.melitronic.rmapp.model.ItemGroup oldParent,
com.melitronic.rmapp.model.Deployment newParent) {
Item domainItem = null;
ItemGroup entity1 = null;
Deployment entity2 = null;
for (AbstractEntity entity : getProductsDeployments()) {
if (entity.getId() != null && (newParent).getId() != null &&
entity.getId().longValue() == (newParent).getId().longValue()) {
entity2 = (Deployment)entity;