IM-ERP Real Connect

jp.co.intra_mart.foundation.sap.module.accounting
クラス CostCenterController

java.lang.Object
  上位を拡張 jp.co.intra_mart.foundation.sap.module.accounting.CostCenterController
すべての実装されたインタフェース:
Serializable

public class CostCenterController
extends Object
implements Serializable

原価センタコントローラクラス
機能は以下の通り

関連項目:
直列化された形式

コンストラクタの概要
CostCenterController()
          CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。
CostCenterController(SapClient sapClient)
          CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。
CostCenterController(String controllingArea)
          CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。
CostCenterController(String controllingArea, Date date)
          CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。
CostCenterController(String controllingArea, Date date, SapClient sapClient)
          CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。
CostCenterController(String controllingArea, SapClient sapClient)
          CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。
 
メソッドの概要
 void executeBapi()
          BapiControllerにより原価センタ一覧を作成します。
 String getBusinessAreaFrom()
          事業領域を取得します。
 String getBusinessAreaTo()
          事業領域を取得します。
 String getCompanycodeFrom()
          会社コード(開始値)を取得します。
 String getCompanycodeTo()
          会社コード(終了値)を取得します。
 String getControllingarea()
          管理領域を取得します。
 CostCenter getCostCenter(int index)
          BAPI パラメータ の参照構造オブジェクトが既に 存在するかチェックします。
 String getCostcenterFrom()
          原価センタ(開始値)を取得します。
 String getCostcentergroup()
          原価センタグループを取得します。
 List<CostCenter> getCostCenterList()
          原価センタ一覧(CostCenterインスタンスの配列)を取得します。
 String getCostcenterTo()
          原価センタ(終了値)を取得します。
 CostCenterList getCostCentList()
          原価センタ一覧を取得します。
 String getDateFrom()
          有効期間:開始を取得します。
 String getDateTo()
          有効期間:終了を取得します。
 String getDescript(String costCenter)
          原価センタを指定してテキストを取得します。
 ExtensionIn getExtensionIn(int index)
          BAPI パラメータ EXTENSIONIN の参照構造オブジェクトが既に 存在するかチェックします。
 List<ExtensionIn> getExtensionInList()
          EXTENSIONIN一覧を取得します。
 ExtensionOut getExtensionOut(int index)
          BAPI パラメータ EXTENSIONOUT の参照構造オブジェクトが既に 存在するかチェックします。
 List<ExtensionOut> getExtensionOutList()
          EXTENSIONOUT一覧を取得します。
 String getMasterDataInactive()
          マスタレコードの無効化を取得します。
 String getName(String costCenter)
          原価センタを指定して一般名称を取得します。
 String getPersonInChargeFrom()
          責任者(開始値)を取得します。
 String getPersonInChargeTo()
          責任者(終了値)を取得します。
 String getPersonInChargeUserFrom()
          担当ユーザ(開始値)を取得します。
 String getPersonInChargeUserTo()
          担当ユーザ(終了値)を取得します。
 void setBusinessAreaFrom(String businessAreaFrom)
          事業領域を設定します。
 void setBusinessAreaTo(String businessAreaTo)
          事業領域を設定します。
 void setCompanycodeFrom(String companycodeFrom)
          会社コード(開始値)を設定します。
 void setCompanycodeTo(String companycodeTo)
          会社コード(終了値)を設定します。
 void setControllingarea(String controllingarea)
          管理領域を設定します。
 void setCostcenterFrom(String costcenterFrom)
          原価センタ(開始値)を設定します。
 void setCostcentergroup(String costcentergroup)
          原価センタグループを設定します。
 void setCostcenterTo(String costcenterTo)
          原価センタ(終了値)を設定します。
 void setCostCentList(CostCenterList costCentList)
          原価センタ一覧を設定します。
 void setDateFrom(String dateFrom)
          有効期間:開始を設定します。
 void setDateTo(String dateTo)
          有効期間:終了を設定します。
 void setExtensionInList(List<ExtensionIn> extensionInList)
          EXTENSIONIN一覧を設定します。
 void setExtensionOutList(List<ExtensionOut> extensionOutList)
          EXTENSIONOUT一覧を設定します。
 void setMasterDataInactive(String masterDataInactive)
          マスタレコードの無効化を設定します。
 void setPersonInChargeFrom(String personInChargeFrom)
          責任者(開始値)を設定します。
 void setPersonInChargeTo(String personInChargeTo)
          責任者(終了値)を設定します。
 void setPersonInChargeUserFrom(String personInChargeUserFrom)
          担当ユーザ(開始値)を設定します。
 void setPersonInChargeUserTo(String personInChargeUserTo)
          担当ユーザ(終了値)を設定します。
 void setTblParam(String paramTable, String paramName, String value, int index)
          テーブル型の項目に値をセットします。
 String toString()
          デバッグ用のメソッドです。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

CostCenterController

public CostCenterController()
                     throws SAPAuthAppException,
                            SAPAuthSystemException,
                            SAPGeneralAppException,
                            SAPGeneralSystemException,
                            SAPAccountingSystemException
CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。

例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPAccountingSystemException - 会計業務システム例外

CostCenterController

public CostCenterController(SapClient sapClient)
                     throws SAPAuthAppException,
                            SAPAuthSystemException,
                            SAPGeneralAppException,
                            SAPGeneralSystemException,
                            SAPAccountingSystemException
CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。

SapClientを使用することで、SapClientにて指定した SAPアプリケーションサーバ接続が可能となります。

パラメータ:
sapClient - SAPへの接続情報が格納されたオブジェクト
例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPAccountingSystemException - 会計業務システム例外

CostCenterController

public CostCenterController(String controllingArea)
                     throws SAPAuthAppException,
                            SAPAuthSystemException,
                            SAPGeneralAppException,
                            SAPGeneralSystemException,
                            SAPAccountingSystemException,
                            SAPAccountingAppException
CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。 「有効期間: 開始」をシステム日付より設定します。

パラメータ:
controllingArea - 管理領域
例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPAccountingSystemException - 会計業務システム例外
SAPAccountingAppException - 会計系APIアプリケーション例外

CostCenterController

public CostCenterController(String controllingArea,
                            Date date)
                     throws SAPAuthAppException,
                            SAPAuthSystemException,
                            SAPGeneralAppException,
                            SAPGeneralSystemException,
                            SAPAccountingSystemException,
                            SAPAccountingAppException
CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。 「管理領域」・「有効期間: 開始」を引数より設定します。

パラメータ:
controllingArea - 管理領域
date - 有効期間: 開始
例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPAccountingSystemException - 会計業務システム例外
SAPAccountingAppException - 会計系APIアプリケーション例外

CostCenterController

public CostCenterController(String controllingArea,
                            SapClient sapClient)
                     throws SAPAuthAppException,
                            SAPAuthSystemException,
                            SAPGeneralAppException,
                            SAPGeneralSystemException,
                            SAPAccountingSystemException,
                            SAPAccountingAppException
CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。 「管理領域」を引数より設定、「有効期間: 開始」をシステム日付より設定します。
SapClientを使用することで、SapClientにて指定した SAPアプリケーションサーバ接続が可能となります。

パラメータ:
controllingArea - 管理領域
sapClient - SAPへの接続情報が格納されたオブジェクト
例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPAccountingSystemException - 会計業務システム例外
SAPAccountingAppException - 会計系APIアプリケーション例外

CostCenterController

public CostCenterController(String controllingArea,
                            Date date,
                            SapClient sapClient)
                     throws SAPAuthAppException,
                            SAPAuthSystemException,
                            SAPGeneralAppException,
                            SAPGeneralSystemException,
                            SAPAccountingSystemException,
                            SAPAccountingAppException
CostCenterListのコンストラクタを呼び出し原価センタ一覧を作成します。 「管理領域」・「有効期間: 開始」を引数より設定します。
SapClientを使用することで、SapClientにて指定した SAPアプリケーションサーバ接続が可能となります。

パラメータ:
controllingArea - 管理領域
date - 有効期間: 開始
sapClient - SAPへの接続情報が格納されたオブジェクト
例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPAccountingSystemException - 会計業務システム例外
SAPAccountingAppException - 会計系APIアプリケーション例外
メソッドの詳細

executeBapi

public void executeBapi()
                 throws SAPAccountingSystemException,
                        SAPAuthAppException,
                        SAPAuthSystemException,
                        SAPGeneralAppException,
                        SAPGeneralSystemException,
                        SAPAccountingAppException
BapiControllerにより原価センタ一覧を作成します。

例外:
SAPGeneralSystemException - 汎用システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPAuthAppException - 認証系アプリケーション例外
SAPAccountingSystemException - 会計系APIシステム例外
SAPAccountingAppException - 会計系APIアプリケーション例外

getCostCenterList

public List<CostCenter> getCostCenterList()
原価センタ一覧(CostCenterインスタンスの配列)を取得します。

戻り値:
costCenterList 原価センタ一覧
関連項目:
CostCenter

getName

public String getName(String costCenter)
               throws SAPAccountingSystemException
原価センタを指定して一般名称を取得します。

パラメータ:
costCenter - 原価センタ
戻り値:
name 一般名称
例外:
SAPAccountingSystemException - 会計業務システム例外

getDescript

public String getDescript(String costCenter)
                   throws SAPAccountingSystemException
原価センタを指定してテキストを取得します。

パラメータ:
costCenter - 原価センタ
戻り値:
descript テキスト
例外:
SAPAccountingSystemException - 会計業務システム例外

setTblParam

public void setTblParam(String paramTable,
                        String paramName,
                        String value,
                        int index)
                 throws SAPAccountingSystemException
テーブル型の項目に値をセットします。

パラメータ:
paramTable - テーブル名
paramName - パラメータ名
value - セットする値
index - レコード番号
例外:
SAPAccountingSystemException - 会計業務システム例外

getCostCenter

public CostCenter getCostCenter(int index)
BAPI パラメータ の参照構造オブジェクトが既に 存在するかチェックします。存在しなければオブジェクトを作成します。

パラメータ:
index - レコード番号
戻り値:
costCenter COSTCENTER の参照構造オブジェクト

getExtensionIn

public ExtensionIn getExtensionIn(int index)
BAPI パラメータ EXTENSIONIN の参照構造オブジェクトが既に 存在するかチェックします。存在しなければオブジェクトを作成します。

パラメータ:
index - レコード番号
戻り値:
extensionIn EXTENSIONIN の参照構造オブジェクト

getExtensionOut

public ExtensionOut getExtensionOut(int index)
BAPI パラメータ EXTENSIONOUT の参照構造オブジェクトが既に 存在するかチェックします。存在しなければオブジェクトを作成します。

パラメータ:
index - レコード番号
戻り値:
extensionOut EXTENSIONOUT の参照構造オブジェクト

setCostCentList

public void setCostCentList(CostCenterList costCentList)
原価センタ一覧を設定します。

パラメータ:
costCentList - 原価センタ一覧

getCostCentList

public CostCenterList getCostCentList()
原価センタ一覧を取得します。

戻り値:
costCentList

setExtensionInList

public void setExtensionInList(List<ExtensionIn> extensionInList)
EXTENSIONIN一覧を設定します。

パラメータ:
extensionInList - EXTENSIONIN一覧

getExtensionInList

public List<ExtensionIn> getExtensionInList()
EXTENSIONIN一覧を取得します。

戻り値:
EXTENSIONIN一覧

setExtensionOutList

public void setExtensionOutList(List<ExtensionOut> extensionOutList)
EXTENSIONOUT一覧を設定します。

パラメータ:
extensionOutList - EXTENSIONOUT一覧

getExtensionOutList

public List<ExtensionOut> getExtensionOutList()
EXTENSIONOUT一覧を取得します。

戻り値:
EXTENSIONOUT一覧

getBusinessAreaFrom

public String getBusinessAreaFrom()
事業領域を取得します。

戻り値:
businessAreaFrom

setBusinessAreaFrom

public void setBusinessAreaFrom(String businessAreaFrom)
事業領域を設定します。

パラメータ:
businessAreaFrom - 事業領域

getBusinessAreaTo

public String getBusinessAreaTo()
事業領域を取得します。

戻り値:
businessAreaTo

setBusinessAreaTo

public void setBusinessAreaTo(String businessAreaTo)
事業領域を設定します。

パラメータ:
businessAreaTo - 事業領域

getCompanycodeFrom

public String getCompanycodeFrom()
会社コード(開始値)を取得します。

戻り値:
companycodeFrom

setCompanycodeFrom

public void setCompanycodeFrom(String companycodeFrom)
会社コード(開始値)を設定します。

パラメータ:
companycodeFrom - 会社コード(開始値)

getCompanycodeTo

public String getCompanycodeTo()
会社コード(終了値)を取得します。

戻り値:
companycodeTo

setCompanycodeTo

public void setCompanycodeTo(String companycodeTo)
会社コード(終了値)を設定します。

パラメータ:
companycodeTo - 会社コード(終了値)

getControllingarea

public String getControllingarea()
管理領域を取得します。

戻り値:
controllingarea

setControllingarea

public void setControllingarea(String controllingarea)
管理領域を設定します。

パラメータ:
controllingarea - 管理領域

getCostcenterFrom

public String getCostcenterFrom()
原価センタ(開始値)を取得します。

戻り値:
costcenterFrom

setCostcenterFrom

public void setCostcenterFrom(String costcenterFrom)
原価センタ(開始値)を設定します。

パラメータ:
costcenterFrom - 原価センタ(開始値)

getCostcenterTo

public String getCostcenterTo()
原価センタ(終了値)を取得します。

戻り値:
costcenterTo

setCostcenterTo

public void setCostcenterTo(String costcenterTo)
原価センタ(終了値)を設定します。

パラメータ:
costcenterTo - 原価センタ(終了値)

getCostcentergroup

public String getCostcentergroup()
原価センタグループを取得します。

戻り値:
costcentergroup

setCostcentergroup

public void setCostcentergroup(String costcentergroup)
原価センタグループを設定します。

パラメータ:
costcentergroup - 原価センタグループ

getDateFrom

public String getDateFrom()
有効期間:開始を取得します。

戻り値:
dateFrom

setDateFrom

public void setDateFrom(String dateFrom)
有効期間:開始を設定します。

パラメータ:
dateFrom - 有効期間:開始

getDateTo

public String getDateTo()
有効期間:終了を取得します。

戻り値:
dateTo

setDateTo

public void setDateTo(String dateTo)
有効期間:終了を設定します。

パラメータ:
dateTo - 有効期間:終了

getMasterDataInactive

public String getMasterDataInactive()
マスタレコードの無効化を取得します。

戻り値:
masterDataInactive

setMasterDataInactive

public void setMasterDataInactive(String masterDataInactive)
マスタレコードの無効化を設定します。

パラメータ:
masterDataInactive - マスタレコードの無効化

getPersonInChargeFrom

public String getPersonInChargeFrom()
責任者(開始値)を取得します。

戻り値:
personInChargeFrom

setPersonInChargeFrom

public void setPersonInChargeFrom(String personInChargeFrom)
責任者(開始値)を設定します。

パラメータ:
personInChargeFrom - 責任者(開始値)

getPersonInChargeTo

public String getPersonInChargeTo()
責任者(終了値)を取得します。

戻り値:
personInChargeTo

setPersonInChargeTo

public void setPersonInChargeTo(String personInChargeTo)
責任者(終了値)を設定します。

パラメータ:
personInChargeTo - 責任者(終了値)

getPersonInChargeUserFrom

public String getPersonInChargeUserFrom()
担当ユーザ(開始値)を取得します。

戻り値:
personInChargeUserFrom

setPersonInChargeUserFrom

public void setPersonInChargeUserFrom(String personInChargeUserFrom)
担当ユーザ(開始値)を設定します。

パラメータ:
personInChargeUserFrom - 担当ユーザ(開始値)

getPersonInChargeUserTo

public String getPersonInChargeUserTo()
担当ユーザ(終了値)を取得します。

戻り値:
personInChargeUserTo

setPersonInChargeUserTo

public void setPersonInChargeUserTo(String personInChargeUserTo)
担当ユーザ(終了値)を設定します。

パラメータ:
personInChargeUserTo - 担当ユーザ(終了値)

toString

public String toString()
デバッグ用のメソッドです。

オーバーライド:
クラス Object 内の toString
戻り値:
value すべての属性の値

IM-ERP Real Connect

Copyright (c) 2013 NTT DATA INTRAMART CORPORATION.