public class ItemCategoryManagerImpl extends ItemCategoryManager
コンストラクタと説明 |
---|
ItemCategoryManagerImpl() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addCategory(ItemCategory category)
商品カテゴリを新規登録します。
|
void |
deleteCategory(ItemCategory category)
商品カテゴリを削除します。
|
Item[] |
getAllCategorizedItems(String categoryTypeCode,
String categoryCode)
商品カテゴリに分類されているすべての商品の情報を返します。
|
Item[] |
getCategorizedItems(String categoryTypeCode,
String categoryCode)
商品カテゴリに分類されている商品の情報を返します。
|
ItemCategory |
getCategory(String categoryTypeCode,
String categoryCode)
指定されたカテゴリコードに対する商品カテゴリの情報を返します。
|
ItemCategoryStruct |
getCategoryStruct(String categoryTypeCode)
指定された商品カテゴリ種別のカテゴリ階層を取得します。
|
ItemCategory[] |
getCategoryTypes()
登録済の商品カテゴリ種別の一覧を返します。
|
protected void |
init(String user,
String group)
ItemCategoryManagerを初期化します。
|
boolean |
isEndCategory(String categoryTypeCode,
String categoryCode)
指定されたカテゴリコードに対する商品カテゴリが末端のカテゴリか調べます。
|
void |
removeItem(ItemAttach attach)
商品カテゴリから商品を外します。
|
void |
setItem(ItemAttach attach)
商品カテゴリに商品を設定します。
|
void |
updateCategory(ItemCategory category)
商品カテゴリを更新します。
|
getItemCategoryManager
protected void init(String user, String group) throws ManagerException
ItemCategoryManager
init
クラス内 ItemCategoryManager
user
- ログインユーザコードgroup
- ログイングループコードManagerException
- 初期化に失敗public void addCategory(ItemCategory category) throws ManagerException
ItemCategoryManager
ManagerException
を発生させます。addCategory
クラス内 ItemCategoryManager
category
- 商品カテゴリ情報ManagerException
- 商品カテゴリ情報の新規登録に失敗した場合public void updateCategory(ItemCategory category) throws ManagerException
ItemCategoryManager
ManagerException
が投げられます。updateCategory
クラス内 ItemCategoryManager
category
- 商品カテゴリ情報ManagerException
- 商品カテゴリ情報の更新に失敗した場合public void deleteCategory(ItemCategory category) throws ManagerException
ItemCategoryManager
ManagerException
がスローされます。deleteCategory
クラス内 ItemCategoryManager
category
- 商品カテゴリ情報ManagerException
- 商品カテゴリ情報の削除に失敗した場合public void setItem(ItemAttach attach) throws ManagerException
ItemCategoryManager
setItem
クラス内 ItemCategoryManager
attach
- 商品設定情報ManagerException
- 商品カテゴリ設定情報の設定に失敗した場合public void removeItem(ItemAttach attach) throws ManagerException
ItemCategoryManager
ManagerException
がスローされます。removeItem
クラス内 ItemCategoryManager
attach
- 商品設定情報ManagerException
- 商品カテゴリ設定情報の削除に失敗した場合public ItemCategory[] getCategoryTypes() throws ManagerException
ItemCategoryManager
getCategoryTypes
クラス内 ItemCategoryManager
ManagerException
- 商品カテゴリ設定情報の取得に失敗した場合public ItemCategoryStruct getCategoryStruct(String categoryTypeCode) throws ManagerException
ItemCategoryManager
getCategoryStruct
クラス内 ItemCategoryManager
categoryTypeCode
- 商品カテゴリ種別コードManagerException
- カテゴリ階層情報の取得に失敗した場合public ItemCategory getCategory(String categoryTypeCode, String categoryCode) throws ManagerException
ItemCategoryManager
getCategory
クラス内 ItemCategoryManager
categoryTypeCode
- 商品カテゴリ種別コードcategoryCode
- 商品カテゴリコードManagerException
- 商品カテゴリ情報の取得に失敗した場合public Item[] getCategorizedItems(String categoryTypeCode, String categoryCode) throws ManagerException
ItemCategoryManager
getCategorizedItems
クラス内 ItemCategoryManager
categoryTypeCode
- 商品カテゴリ種別コードcategoryCode
- 商品カテゴリコードManagerException
- 商品情報の取得に失敗した場合public Item[] getAllCategorizedItems(String categoryTypeCode, String categoryCode) throws ManagerException
ItemCategoryManager
getAllCategorizedItems
クラス内 ItemCategoryManager
categoryTypeCode
- 商品カテゴリ種別コードcategoryCode
- 商品カテゴリコードManagerException
- 商品情報の取得に失敗した場合public boolean isEndCategory(String categoryTypeCode, String categoryCode) throws ManagerException
ItemCategoryManager
isEndCategory
クラス内 ItemCategoryManager
categoryTypeCode
- 商品カテゴリ種別コードcategoryCode
- 商品カテゴリコードManagerException
- 判定に失敗した場合Copyright © 2012 NTT DATA INTRAMART CORPORATION