アセットのカテゴリー除去

以下を参照してください。

アセットからカテゴリーを削除するには 、RAMAsset.uncategorize(SubCategory) または RAMAsset.uncategorize(SubCategory, String) を使用します。

                //Uncategorize using the category schema fetched from the session
                newAsset.uncategorize(priceCategory, "25000");
                
                //Uncategorize using a category fetched through the asset
                newAsset.uncategorize(colorCategory, "Red");
                
                //Uncategorize using sub category objects
                newAsset.uncategorize(domestic);
                newAsset.uncategorize(honda);
                newAsset.uncategorize(camry);
                
                session.put(newAsset, new NullProgressMonitor());

フィードバック