re base code
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / components / impl / OnDeleteEntityOperation.java
1 package org.openecomp.sdc.be.components.impl;
2
3 import org.openecomp.sdc.be.dao.api.ActionStatus;
4 import org.openecomp.sdc.be.model.Component;
5
6 public interface OnDeleteEntityOperation {
7
8     /**
9      * side effect operation to be executed when a given entity is deleted
10      * @param container the container which holds the entity to be deleted
11      * @param deletedEntityId the id of the entity that was deleted
12      * @return the status of the on delete operation
13      */
14     ActionStatus onDelete(Component container, String deletedEntityId);
15
16 }