use of com.cloud.network.security.SecurityGroupVO in project cloudstack by apache.
the class SecurityGroupDaoImpl method remove.
@Override
@DB
public boolean remove(Long id) {
TransactionLegacy txn = TransactionLegacy.currentTxn();
txn.start();
SecurityGroupVO entry = findById(id);
if (entry != null) {
_tagsDao.removeByIdAndType(id, ResourceObjectType.SecurityGroup);
}
boolean result = super.remove(id);
txn.commit();
return result;
}
Aggregations