use of com.cloud.user.SSHKeyPairVO in project cloudstack by apache.
the class SSHKeyPairDaoImpl method deleteByName.
@Override
public boolean deleteByName(long accountId, long domainId, String name) {
SSHKeyPairVO pair = findByName(accountId, domainId, name);
if (pair == null)
return false;
expunge(pair.getId());
return true;
}
Aggregations