summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/OnDeleteEntityOperation.java
blob: b4bbebb9095a225c7bb1a20f4032b9065cb8cbae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.openecomp.sdc.be.components.impl;

import org.openecomp.sdc.be.dao.api.ActionStatus;
import org.openecomp.sdc.be.model.Component;

public interface OnDeleteEntityOperation {

    /**
     * side effect operation to be executed when a given entity is deleted
     * @param container the container which holds the entity to be deleted
     * @param deletedEntityId the id of the entity that was deleted
     * @return the status of the on delete operation
     */
    ActionStatus onDelete(Component container, String deletedEntityId);

}