code: public void deleteAliases(CmsRequestContext context, CmsAliasFilter filter) throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              m_driverManager.deleteAliases(dbc, context.getCurrentProject(), filter);
          } catch (Exception e) {
              dbc.report(null, Messages.get().container(Messages.ERR_DB_OPERATION_0), e);
          } finally {
              dbc.clear();
          }
  
      }
docs: Deletes alias entries matching a filter.<p>
  
  @param context the request context
  @param filter the alias filter
  
  @throws CmsException if something goes wrong