コード例 #1
0
 public static String removeCategory(Connection conn, String marketId, String catKey)
     throws SQLException {
   String catValue =
       CategoryFactory.getValueforCategoryKey(
           CategoryFactory.getCategories(conn, marketId), catKey);
   CategoryFactory.removeCategory(conn, marketId, catKey);
   String res = XMLFactory.getMessageElement("marketid", marketId);
   res += XMLFactory.getMessageElement("catkey", catKey);
   res += XMLFactory.getMessageElement("catvalue", catValue);
   return res;
 }