public final class ItemManager extends AbstractManager
コンストラクタと説明 |
---|
ItemManager()
品目マネージャを作成します。
|
ItemManager(String updateUserCd)
指定された引数を元に、品目マネージャを作成します。
|
ItemManager(String updateUserCd,
Locale defaultLocale)
指定された引数を元に、品目マネージャを作成します。
|
ItemManager(String updateUserCd,
Locale defaultLocale,
String loginGroupId)
非推奨です。
ItemManager() を使用してください。 |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
count(String companyCd,
AppCmnSearchCondition condition,
Date date,
Locale locale)
指定された条件に該当するデータの個数を取得します。
|
int |
count(String companyCd,
AppCmnSearchCondition condition,
Date date,
Locale locale,
boolean isDisable)
指定された条件に該当するデータの個数を取得します。
|
void |
exportData(String categoryName,
InputStream inputStream)
エクスポートを行います。
|
Item[] |
get(IItemBizKey bizKey)
引数の品目ビジネスキーに該当する品目情報を取得します。
|
Item[] |
get(IItemBizKey bizKey,
boolean isDisable)
引数の品目ビジネスキーに該当する品目情報を取得します。
|
Item |
get(IItemBizKey bizKey,
Date termDate)
引数の品目ビジネスキーに該当する品目情報を取得します。
|
Item |
get(IItemBizKey bizKey,
Date termDate,
boolean isDisable)
引数の品目ビジネスキーに該当する品目情報を取得します。
|
Item |
get(IItemBizKey bizKey,
Date termDate,
Locale locale)
引数の品目ビジネスキーに該当する品目情報を取得します。
|
Item |
get(IItemBizKey bizKey,
Date termDate,
Locale locale,
boolean isDisable)
引数の品目ビジネスキーに該当する品目情報を取得します。
|
Item[] |
get(IItemBizKey bizKey,
Locale locale)
引数の品目ビジネスキーに該当する品目情報を取得します。
|
Item[] |
get(IItemBizKey bizKey,
Locale locale,
boolean isDisable)
引数の品目ビジネスキーに該当する品目情報を取得します。
|
Set<String> |
getExportCategories()
エクスポータカテゴリ名の一覧を取得します。
|
Set<String> |
getImportCategories()
インポータカテゴリ名の一覧を取得します。
|
ITerm |
getTerm(IItemBizKey bizKey,
Date termDate)
品目ビジネスキーと日付から、対応する期間情報を取得します。
|
ITerm[] |
getTermList(IItemBizKey bizKey)
品目ビジネスキーから存在する期間の一覧を取得します。
|
ITerm[] |
getTermList(IItemBizKey bizKey,
boolean isDisable)
品目ビジネスキーから存在する期間の一覧を取得します。
|
void |
importData(String categoryName,
InputStream inputStream)
インポートを行います。
|
ItemListNode[] |
list(String companyCd,
AppCmnSearchCondition condition,
Date date,
Locale locale)
指定された条件を元に一覧を取得します。
|
ItemListNode[] |
list(String companyCd,
AppCmnSearchCondition condition,
Date date,
Locale locale,
int start,
int count)
指定された条件を元に一覧を取得します。
|
ItemListNode[] |
list(String companyCd,
AppCmnSearchCondition condition,
Date date,
Locale locale,
int start,
int count,
boolean isDisable)
指定された条件を元に一覧を取得します。
|
void |
mergeBackwardTerm(IItemBizKey bizKey,
String mergeTermCd)
登録済の品目情報を隣接するひとつ過去のレコードと結合します。
|
void |
mergeForwardTerm(IItemBizKey bizKey,
String mergeTermCd)
登録済の品目情報を隣接するひとつ未来のレコードと結合します。
|
ITerm[] |
moveTerm(IItemBizKey bizKey,
ITerm moveTerm)
登録済みの品目情報についての、期間区切りを変更します。
|
void |
remove(IItemBizKey bizKey)
指定されたキーに対応するすべての期間の品目情報を削除します。
|
void |
remove(IItemBizKey bizKey,
Locale locale)
指定されたキーとロケールに対応するすべての期間の品目情報を削除します。
|
void |
remove(Locale locale)
非推奨です。
remove(IItemBizKey, Locale) を使用してください。 |
ItemListNode[] |
search(String companyCd,
AppCmnSearchCondition condition,
Date date,
Locale locale)
指定された条件を元に検索を行います。
|
ItemListNode[] |
search(String companyCd,
AppCmnSearchCondition condition,
Date date,
Locale locale,
int start,
int count)
指定された条件を元に検索を行います。
|
ItemListNode[] |
search(String companyCd,
AppCmnSearchCondition condition,
Date date,
Locale locale,
int start,
int count,
boolean isDisable)
指定された条件を元に検索を行います。
|
ITerm |
separateTerm(IItemBizKey bizKey,
String sepTermCd,
Date sepTermDate)
登録済みの品目情報についての、期間分割を行います。
|
ITerm[] |
set(Item item)
品目情報を新規登録、もしくは更新処理を行います。
|
int |
total(String companyCd,
AppCmnSearchCondition condition,
Date date)
指定された条件に該当するデータの総数を取得します。
|
int |
total(String companyCd,
AppCmnSearchCondition condition,
Date date,
boolean isDisable)
指定された条件に該当するデータの総数を取得します。
|
getAppCmnInfo, getDefaultLocale, getLoginGroupCd, getUpdateUserCd
public ItemManager() throws jp.co.intra_mart.foundation.exception.BizApiException
jp.co.intra_mart.foundation.exception.BizApiException
- マネージャ作成の失敗public ItemManager(String updateUserCd) throws jp.co.intra_mart.foundation.exception.BizApiException
updateUserCd
- 更新者のユーザコードjp.co.intra_mart.foundation.exception.BizApiException
- マネージャ作成の失敗public ItemManager(String updateUserCd, Locale defaultLocale) throws jp.co.intra_mart.foundation.exception.BizApiException
updateUserCd
- 更新者のユーザコードdefaultLocale
- デフォルトロケールjp.co.intra_mart.foundation.exception.BizApiException
- マネージャ作成の失敗public ItemManager(String updateUserCd, Locale defaultLocale, String loginGroupId) throws jp.co.intra_mart.foundation.exception.BizApiException
ItemManager()
を使用してください。updateUserCd
- 更新者のユーザコードdefaultLocale
- デフォルトロケールloginGroupId
- ログイングループIDjp.co.intra_mart.foundation.exception.BizApiException
- マネージャ作成の失敗public ITerm[] moveTerm(IItemBizKey bizKey, ITerm moveTerm) throws jp.co.intra_mart.foundation.exception.BizApiException
createTerm
updateTerm
removeTerm
bizKey
- 変更対象の品目ビジネスキーオブジェクトmoveTerm
- 変更を行う期間コード及び、変更後の期間情報オブジェクトjp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の期間区切りの変更に失敗。public ITerm separateTerm(IItemBizKey bizKey, String sepTermCd, Date sepTermDate) throws jp.co.intra_mart.foundation.exception.BizApiException
createTerm
updateTerm
bizKey
- 分割を行う品目ビジネスキーオブジェクトsepTermCd
- 分割を行う期間コードsepTermDate
- 分割を行う基準日付jp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の期間分割に失敗public void mergeForwardTerm(IItemBizKey bizKey, String mergeTermCd) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 結合元となる品目ビジネスキーオブジェクトmergeTermCd
- 結合対象の期間コードjp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の結合に失敗public void mergeBackwardTerm(IItemBizKey bizKey, String mergeTermCd) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 結合元となる品目ビジネスキーオブジェクトmergeTermCd
- 結合対象の期間コードjp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の結合に失敗public void remove(IItemBizKey bizKey) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 削除対象の品目ビジネスキーオブジェクトjp.co.intra_mart.foundation.exception.BizApiException
- 対象群の削除の失敗public void remove(Locale locale) throws jp.co.intra_mart.foundation.exception.BizApiException
remove(IItemBizKey, Locale)
を使用してください。locale
- 削除対象のロケールjp.co.intra_mart.foundation.exception.BizApiException
- 対象群の削除の失敗public void remove(IItemBizKey bizKey, Locale locale) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 削除対象の品目ビジネスキーオブジェクトlocale
- 削除対象のロケールjp.co.intra_mart.foundation.exception.BizApiException
- 対象群の削除の失敗public ITerm[] set(Item item) throws jp.co.intra_mart.foundation.exception.BizApiException
create
update
item
- 品目情報オブジェクトjp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の新規登録、または更新処理に失敗public Item[] get(IItemBizKey bizKey) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトjp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の取得に失敗。public Item get(IItemBizKey bizKey, Date termDate) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトtermDate
- 取得するレコードの基準日。この日付が含まれる期間のみが取得されます。jp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の取得に失敗。public Item[] get(IItemBizKey bizKey, Locale locale) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトlocale
- 取得するレコードのロケールjp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の取得に失敗。public Item get(IItemBizKey bizKey, Date termDate, Locale locale) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトtermDate
- 取得するレコードの基準日。この日付が含まれる期間のみが取得されます。locale
- 取得するレコードのロケールjp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の取得に失敗。public Item[] get(IItemBizKey bizKey, boolean isDisable) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトisDisable
- レコードの取得に関して、このパラメータがfalseの場合は削除フラグが有効なレコードは取得しません。jp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の取得に失敗。public Item get(IItemBizKey bizKey, Date termDate, boolean isDisable) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトtermDate
- 取得するレコードの基準日。この日付が含まれる期間のみが取得されます。isDisable
- レコードの取得に関して、このパラメータがfalseの場合は削除フラグが有効なレコードは取得しません。jp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の取得に失敗。public Item[] get(IItemBizKey bizKey, Locale locale, boolean isDisable) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトlocale
- 取得するレコードのロケールisDisable
- レコードの取得に関して、このパラメータがfalseの場合は削除フラグが有効なレコードは取得しません。jp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の取得に失敗。public Item get(IItemBizKey bizKey, Date termDate, Locale locale, boolean isDisable) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトtermDate
- 取得するレコードの基準日。この日付が含まれる期間のみが取得されます。locale
- 取得するレコードのロケールisDisable
- レコードの取得に関して、このパラメータがfalseの場合は削除フラグが有効なレコードは取得しません。jp.co.intra_mart.foundation.exception.BizApiException
- 品目情報の取得に失敗。public ITerm getTerm(IItemBizKey bizKey, Date termDate) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトtermDate
- 期間情報を取得する基準日付jp.co.intra_mart.foundation.exception.BizApiException
- 期間情報の取得に失敗。public ITerm[] getTermList(IItemBizKey bizKey) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトjp.co.intra_mart.foundation.exception.BizApiException
- 期間の一覧の取得に失敗public ITerm[] getTermList(IItemBizKey bizKey, boolean isDisable) throws jp.co.intra_mart.foundation.exception.BizApiException
bizKey
- 取得する品目ビジネスキーオブジェクトisDisable
- 期間の取得に関して、このパラメータがfalseの場合は削除フラグが有効な期間は取得しません。jp.co.intra_mart.foundation.exception.BizApiException
- 期間の一覧の取得に失敗public ItemListNode[] search(String companyCd, AppCmnSearchCondition condition, Date date, Locale locale, int start, int count, boolean isDisable) throws jp.co.intra_mart.foundation.exception.BizApiException
imm_item
テーブルです。companyCd
- 検索対象会社コードcondition
- 検索条件date
- 検索対象日付locale
- 表示対象のロケールstart
- 取得開始レコード行count
- 取得レコード数isDisable
- レコードの取得に関して、このパラメータがfalseの場合は削除フラグが有効なレコードは取得しません。jp.co.intra_mart.foundation.exception.BizApiException
- 検索の失敗public ItemListNode[] search(String companyCd, AppCmnSearchCondition condition, Date date, Locale locale, int start, int count) throws jp.co.intra_mart.foundation.exception.BizApiException
imm_item
テーブルです。companyCd
- 検索対象会社コードcondition
- 検索条件date
- 検索対象日付けlocale
- 表示対象のロケールstart
- 取得開始レコード行count
- 取得レコード数jp.co.intra_mart.foundation.exception.BizApiException
- 検索の失敗public ItemListNode[] search(String companyCd, AppCmnSearchCondition condition, Date date, Locale locale) throws jp.co.intra_mart.foundation.exception.BizApiException
imm_item
テーブルです。companyCd
- 検索対象会社コードcondition
- 検索条件date
- 検索対象日付けlocale
- 表示対象のロケールjp.co.intra_mart.foundation.exception.BizApiException
- 検索の失敗public ItemListNode[] list(String companyCd, AppCmnSearchCondition condition, Date date, Locale locale, int start, int count, boolean isDisable) throws jp.co.intra_mart.foundation.exception.BizApiException
imm_item
テーブルです。companyCd
- 取得対象会社コードcondition
- 取得条件date
- 取得対象日付けlocale
- 表示対象のロケールstart
- 取得開始レコード行count
- 取得レコード数isDisable
- レコードの取得に関して、このパラメータがfalseの場合は削除フラグが有効なレコードは取得しません。jp.co.intra_mart.foundation.exception.BizApiException
- 一覧の取得に失敗public ItemListNode[] list(String companyCd, AppCmnSearchCondition condition, Date date, Locale locale, int start, int count) throws jp.co.intra_mart.foundation.exception.BizApiException
imm_item
テーブルです。companyCd
- 取得対象会社コードcondition
- 取得条件date
- 取得対象日付けlocale
- 表示対象のロケールstart
- 取得開始レコード行count
- 取得レコード数jp.co.intra_mart.foundation.exception.BizApiException
- 一覧の取得に失敗public ItemListNode[] list(String companyCd, AppCmnSearchCondition condition, Date date, Locale locale) throws jp.co.intra_mart.foundation.exception.BizApiException
imm_item
テーブルです。companyCd
- 取得対象会社コードcondition
- 取得条件date
- 取得対象日付けlocale
- 表示対象のロケールjp.co.intra_mart.foundation.exception.BizApiException
- 一覧の取得に失敗public int count(String companyCd, AppCmnSearchCondition condition, Date date, Locale locale, boolean isDisable) throws jp.co.intra_mart.foundation.exception.BizApiException
companyCd
- 対象会社コードcondition
- 検索条件date
- 対象日付locale
- 対象ロケールisDisable
- レコードの取得に関して、このパラメータがfalseの場合は削除フラグが有効なレコードは取得しません。jp.co.intra_mart.foundation.exception.BizApiException
- データ数の取得に失敗。public int count(String companyCd, AppCmnSearchCondition condition, Date date, Locale locale) throws jp.co.intra_mart.foundation.exception.BizApiException
companyCd
- 対象会社コードcondition
- 検索条件date
- 対象日付locale
- 対象ロケールjp.co.intra_mart.foundation.exception.BizApiException
- データ数の取得に失敗。public int total(String companyCd, AppCmnSearchCondition condition, Date date) throws jp.co.intra_mart.foundation.exception.BizApiException
companyCd
- 対象会社コードcondition
- 検索条件date
- 対象日付jp.co.intra_mart.foundation.exception.BizApiException
- データ数の取得に失敗。public int total(String companyCd, AppCmnSearchCondition condition, Date date, boolean isDisable) throws jp.co.intra_mart.foundation.exception.BizApiException
companyCd
- 対象会社コードcondition
- 検索条件date
- 対象日付isDisable
- レコードの取得に関して、このパラメータがfalseの場合は削除フラグが有効なレコードは取得しません。jp.co.intra_mart.foundation.exception.BizApiException
- データ数の取得に失敗。public void importData(String categoryName, InputStream inputStream) throws jp.co.intra_mart.foundation.exception.BizApiException
categoryName
- カテゴリ名inputStream
- 設定ファイル入力ストリームjp.co.intra_mart.foundation.exception.BizApiException
- インポートに失敗した場合、または引数が不正だった場合にスローされます。public void exportData(String categoryName, InputStream inputStream) throws jp.co.intra_mart.foundation.exception.BizApiException
categoryName
- カテゴリ名inputStream
- 設定ファイル入力ストリームjp.co.intra_mart.foundation.exception.BizApiException
- エクスポートに失敗した場合、または引数が不正だった場合にスローされます。public Set<String> getImportCategories()
Copyright © 2012 NTT DATA INTRAMART CORPORATION