IM-ERP Real Connect

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

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

public class ProfitCenterController
extends Object
implements Serializable

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

バージョン:
8.0
関連項目:
直列化された形式

コンストラクタの概要
ProfitCenterController(String controllingArea)
          ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。
ProfitCenterController(String controllingArea, Date date)
          ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。
ProfitCenterController(String controllingArea, Date date, SapClient sapClient)
          ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。
ProfitCenterController(String controllingArea, SapClient sapClient)
          ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。
ProfitCenterController(String controllingArea, String personincharge, String inChargeUser, Date date)
          ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。
ProfitCenterController(String controllingArea, String personincharge, String inChargeUser, Date date, SapClient sapClient)
          ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。
 
メソッドの概要
 String getInCharge(String profitCtr)
          利益センタを指定して利益センタ責任者を取得します。
 String getInChargeUser(String profitCtr)
          利益センタを指定して利益センタに責任のあるユーザを取得します。
 String getPctrName(String profitCtr)
          利益センタを指定して一般名称を取得します。
 List<ProfitCenter> getProfitCenterList()
          利益センタ一覧(ProfitCenterインスタンスの配列)を取得します。
 ProfitCenterList getProfitCentList()
          利益センタ一覧を取得します。
 String getValidTo(String profitCtr)
          利益センタを指定して有効終了日を取得します。
 void setProfitCentList(ProfitCenterList profitCentList)
          利益センタ一覧を設定します。
 String toString()
          デバッグ用のメソッドです。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ProfitCenterController

public ProfitCenterController(String controllingArea)
                       throws SAPAuthAppException,
                              SAPAuthSystemException,
                              SAPGeneralAppException,
                              SAPGeneralSystemException,
                              SAPAccountingSystemException
ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。 「管理領域」を引数より設定し、「日付」をシステム日付より設定します。

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

ProfitCenterController

public ProfitCenterController(String controllingArea,
                              Date date)
                       throws SAPAuthAppException,
                              SAPAuthSystemException,
                              SAPGeneralAppException,
                              SAPGeneralSystemException,
                              SAPAccountingSystemException
ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。 「管理領域」・「日付」を引数より設定します。

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

ProfitCenterController

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

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

ProfitCenterController

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

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

ProfitCenterController

public ProfitCenterController(String controllingArea,
                              String personincharge,
                              String inChargeUser,
                              Date date)
                       throws SAPAuthAppException,
                              SAPAuthSystemException,
                              SAPGeneralAppException,
                              SAPGeneralSystemException,
                              SAPAccountingSystemException
ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。 「管理領域」・「利益センタ責任者」・「利益センタに責任のあるユーザ」を 引数より設定し、「日付」をシステム日付より設定します。

パラメータ:
controllingArea - 管理領域
personincharge - 利益センタ責任者
inChargeUser - 利益センタに責任のあるユーザ
date - 日付
例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPAccountingSystemException - 会計業務システム例外

ProfitCenterController

public ProfitCenterController(String controllingArea,
                              String personincharge,
                              String inChargeUser,
                              Date date,
                              SapClient sapClient)
                       throws SAPAuthAppException,
                              SAPAuthSystemException,
                              SAPGeneralAppException,
                              SAPGeneralSystemException,
                              SAPAccountingSystemException
ProfitCenterListのコンストラクタを呼び出し利益センタ一覧を作成します。 「管理領域」・「利益センタ責任者」・「利益センタに責任のあるユーザ」・「日付」 を引数より設定します。

パラメータ:
controllingArea - 管理領域
personincharge - 利益センタ責任者
inChargeUser - 利益センタに責任のあるユーザ
date - 日付
sapClient - SapClient SAPへの接続情報が格納されたオブジェクト
例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPAccountingSystemException - 会計業務システム例外
メソッドの詳細

getProfitCenterList

public List<ProfitCenter> getProfitCenterList()
利益センタ一覧(ProfitCenterインスタンスの配列)を取得します。

戻り値:
profitCenterList 利益センタ一覧
関連項目:
ProfitCenter

getValidTo

public String getValidTo(String profitCtr)
                  throws SAPAccountingSystemException
利益センタを指定して有効終了日を取得します。

パラメータ:
profitCtr - 利益センタ
戻り値:
validTo 有効終了日
例外:
SAPAccountingSystemException - 会計業務システム例外

getPctrName

public String getPctrName(String profitCtr)
                   throws SAPAccountingSystemException
利益センタを指定して一般名称を取得します。

パラメータ:
profitCtr - 利益センタ
戻り値:
pctrName 一般名称
例外:
SAPAccountingSystemException - 会計業務システム例外

getInCharge

public String getInCharge(String profitCtr)
                   throws SAPAccountingSystemException
利益センタを指定して利益センタ責任者を取得します。

パラメータ:
profitCtr - 利益センタ
戻り値:
inCharge 利益センタ責任者
例外:
SAPAccountingSystemException - 会計業務システム例外

getInChargeUser

public String getInChargeUser(String profitCtr)
                       throws SAPAccountingSystemException
利益センタを指定して利益センタに責任のあるユーザを取得します。

パラメータ:
profitCtr - 利益センタ
戻り値:
inChargeUser 利益センタに責任のあるユーザ
例外:
SAPAccountingSystemException - 会計業務システム例外

setProfitCentList

public void setProfitCentList(ProfitCenterList profitCentList)
利益センタ一覧を設定します。

パラメータ:
profitCentList - 利益センタ一覧

getProfitCentList

public ProfitCenterList getProfitCentList()
利益センタ一覧を取得します。

戻り値:
profitCentList

toString

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

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

IM-ERP Real Connect

Copyright (c) 2013 NTT DATA INTRAMART CORPORATION.