public interface FacilityAdminService
[ 操作ユーザについて ]
このクラスでは、アカウントコンテキストのユーザコードを元に操作します。
またユーザの所属組織は、ユーザコンテキストのカレント組織を元に操作します。
[ 管理権限について ]
このクラスでは、以下のいずれかに該当するユーザ以外、操作できません。
[ Collaboration 管理者の場合 ]
Collaboration 管理者として操作可能な施設は、認可で許可された会社の施設カテゴリの施設に限ります。
[ Schedule 機能管理者の場合 ]
Schedule 機能管理者として操作可能な施設は、操作ユーザのカレント組織の会社に一致する施設カテゴリの施設に限ります。
[ Schedule オーナーの場合 ]
Schedule オーナーとして操作可能な施設は、操作ユーザにオーナー設定された施設カテゴリの施設に限ります。
int deleteFacility(FacilityKey[] facilityKeys) throws AuthenticationException, InvalidParameterException
facilityKeys
- 施設キーInvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- アクセス権違反した場合に発生します。int deleteFacilityImage(FacilityKey facilityKey) throws AuthenticationException, InvalidParameterException
facilityKey
- 施設キーInvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- アクセス権違反した場合に発生します。EditFacility findEditFacility(FacilityKey facilityKey) throws AuthenticationException, InvalidParameterException
ここでは、編集用の施設情報を取得します。
facilityKey
- 施設キーInvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- アクセス権違反した場合に発生します。FacilityOverview[] findFacilitiesOverview(CategoryKey categoryKey) throws AuthenticationException, InvalidParameterException
以下のすべての条件に合致する施設の概要を取得します。
categoryKey
- 施設カテゴリキーInvalidParameterException
- 引数に指定された施設カテゴリキーが不正の場合。AuthenticationException
- ログインユーザが管理者ロールを保有していない場合、および施設カテゴリに対する管理権限を保有していない場合。FacilityOverview[] findFacilitiesOverview(String keyword, Integer listLimit) throws AuthenticationException
以下のすべての条件に合致する施設の概要を取得します。
null
の場合keyword
- 施設名検索キーワードlistLimit
- 取得件数AuthenticationException
- ログインユーザが Schedule 機能管理者もしくは Schedule オーナーのロールを保有していない場合。FacilityOverview[] findFacilitiesOverview(String companyCd, String keyword, Integer listLimit) throws AuthenticationException
以下のすべての条件に合致する施設の概要を取得します。
null
の場合companyCd
- 会社コードkeyword
- 施設名検索キーワードlistLimit
- 取得件数AuthenticationException
- ログインユーザが Collaboration 機能管理者のロールを保有していない場合。ReferenceFacility findFacility(FacilityKey facilityKey) throws AuthenticationException, InvalidParameterException
ここでは、参照用の施設を取得します。
facilityKey
- 施設キーInvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- アクセス権違反した場合に発生します。FacilityListItem[] findFacilityByName(String filterName, Integer listLimit) throws AuthenticationException
以下のすべての条件に合致する施設を取得します。
null
の場合filterName
- 施設名検索キーワードlistLimit
- 取得件数AuthenticationException
- アクセス権違反した場合に発生します。FacilityListItem[] findFacilityByName(String companyCd, String filterName, Integer listLimit) throws AuthenticationException
以下のすべての条件に合致する施設を取得します。
null
の場合companyCd
- 会社コードfilterName
- 施設名検索キーワードlistLimit
- 取得件数AuthenticationException
- アクセス権違反した場合に発生します。FacilityDetail findFacilityDetail(FacilityKey facilityKey) throws InvalidParameterException, AuthenticationException
facilityKey
- 施設キーInvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- アクセス権違反した場合に発生します。FacilityListItem[] findFacilityList(CategoryKey categoryKey) throws AuthenticationException, InvalidParameterException
以下のすべての条件に合致する施設を取得します。
categoryKey
- 施設カテゴリキーInvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- アクセス権違反した場合に発生します。Facility registerFacility(Facility facility) throws AuthenticationException, InvalidParameterException
facility
- 施設情報InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- アクセス権違反した場合に発生します。Integer updateFacility(Facility facility) throws AuthenticationException, InvalidParameterException
facility
- 施設情報InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- アクセス権違反した場合に発生します。Copyright © 2012-2015 NTT DATA INTRAMART CORPORATION