docs: @Transactional
      @Override
      public ExternalPortletType deleteData(String id) {
          IPortletType portletType = this.portletTypeRegistry.getPortletType(Integer.parseInt(id));
          if (null == portletType) {
              return null;
          }
  
          ExternalPortletType result = convert(portletType);
          this.portletTypeRegistry.deleteChannelType(portletType);
          return result;
      }