Skip to content
Snippets Groups Projects
Commit bc04baa3 authored by jakubs's avatar jakubs
Browse files

BIS-190 SP-295 fix merge conflicts

SVN: 27529
parent 9ad8ec80
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewMetaproject;
import ch.systemsx.cisd.openbis.generic.shared.dto.EventPE;
import ch.systemsx.cisd.openbis.generic.shared.dto.EventPE.EntityType;
import ch.systemsx.cisd.openbis.generic.shared.dto.EventType;
import ch.systemsx.cisd.openbis.generic.shared.dto.IHasMetaprojectsPE;
import ch.systemsx.cisd.openbis.generic.shared.dto.IEntityWithMetaprojects;
import ch.systemsx.cisd.openbis.generic.shared.dto.MetaprojectPE;
import ch.systemsx.cisd.openbis.generic.shared.dto.PersonPE;
import ch.systemsx.cisd.openbis.generic.shared.dto.Session;
......@@ -289,7 +289,7 @@ public class MetaprojectBO extends AbstractBusinessObject implements IMetaprojec
for (T entityId : entityIds)
{
IHasMetaprojectsPE entityPE = findById(entityId);
IEntityWithMetaprojects entityPE = findById(entityId);
if (entityPE == null)
{
throw new IllegalArgumentException("Entity for id: " + entityId + " doesn't exist.");
......@@ -304,7 +304,7 @@ public class MetaprojectBO extends AbstractBusinessObject implements IMetaprojec
{
for (T entityId : entityIds)
{
IHasMetaprojectsPE entityPE = findById(entityId);
IEntityWithMetaprojects entityPE = findById(entityId);
if (entityPE != null)
{
entityPE.removeMetaproject(metaproject);
......@@ -314,7 +314,7 @@ public class MetaprojectBO extends AbstractBusinessObject implements IMetaprojec
dataChanged = true;
}
private IHasMetaprojectsPE findById(IObjectId entityId)
private IEntityWithMetaprojects findById(IObjectId entityId)
{
if (entityId instanceof IMaterialId)
{
......
......@@ -146,7 +146,7 @@ public class MetaprojectAssignmentPE implements Serializable, IIdHolder
/**
* Checks the type of entity and calls the appropriate setter (e.g. {@code setMaterial} )
*/
public void setEntity(IHasMetaprojectsPE entity)
public void setEntity(IEntityWithMetaprojects entity)
{
if (entity instanceof MaterialPE)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment