public interface RepeatScheduleService
[ 操作ユーザについて ]
このクラスでは、アカウントコンテキストのユーザコードを元に操作します。
またユーザの所属組織は、ユーザコンテキストのカレント組織を元に操作します。
[ 参照・編集権限について ]
それぞれ以下の権限判定が行われます。
Integer delete(ScheduleKey scheduleKey, NoticeTargetType noticeTargetType, String reason) throws InvalidParameterException, AuthenticationException
定期スケジュールに属するすべてのスケジュールを削除します。
指定されたスケジュールに対する編集権限がある場合のみ削除が可能です。
scheduleKey
- スケジュールキーnoticeTargetType
- 通知ターゲットreason
- 削除理由InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 編集権限がない場合に発生します。Integer deleteAfter(ScheduleKey scheduleKey, NoticeTargetType noticeTargetType, String reason) throws InvalidParameterException, AuthenticationException
定期スケジュールに属するスケジュールで、指定されたスケジュールの日付以降のすべてのスケジュールを削除します。
指定されたスケジュールに対する編集権限がある場合のみ削除が可能です。
scheduleKey
- スケジュールキーnoticeTargetType
- 通知ターゲットreason
- 削除理由InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 編集権限がない場合に発生します。Integer deleteSchedule(ScheduleKey scheduleKey, NoticeTargetType noticeTargetType, String reason) throws InvalidParameterException, AuthenticationException
定期スケジュールに属するスケジュールを削除します。
指定されたスケジュールに対する編集権限がある場合のみ削除が可能です。
scheduleKey
- スケジュールキーnoticeTargetType
- 通知ターゲットreason
- 削除理由InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 編集権限がない場合に発生します。@Deprecated Schedule extract(Schedule schedule) throws InvalidParameterException, AuthenticationException
updateExclude(Schedule)
を使用してください
指定されたスケジュールに対する編集権限がある場合のみ更新が可能です。
権限判定処理を行う場合、編集権限のない参加者および施設が存在すると更新できません。
schedule
- スケジュール情報InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 編集権限がない場合に発生します。RepeatListItem[] find(RepeatKey repeatKey) throws InvalidParameterException
指定された繰り返し条件キーに該当する繰り返し日付を取得します。
当該メソッドでは常に権限判定処理は行われません。
repeatKey
- 繰り返しキーInvalidParameterException
- 入力項目値に不正があった場合に発生します。DisplayRepeatSchedule findSchedule(ScheduleKey scheduleKey) throws InvalidParameterException, AuthenticationException
指定されたスケジュールおよびその繰り返し条件を取得します。
指定されたスケジュールに対する参照権限がある場合のみ取得が可能です。
なお、返却されるモデル内の DateTime
オブジェクトは登録時に入力したタイムゾーンで変換されています。
scheduleKey
- スケジュールキーInvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 参照権限がない場合に発生します。DisplayRepeatSchedule findScheduleForEdit(ScheduleKey scheduleKey) throws InvalidParameterException, AuthenticationException
指定されたスケジュールおよびその繰り返し条件を取得します。
指定されたスケジュールに対する編集権限がある場合のみ取得が可能です。
なお、返却されるモデル内の DateTime
オブジェクトは登録時に入力したタイムゾーンで変換されています。
scheduleKey
- スケジュールキーInvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 編集権限がない場合に発生します。@Deprecated Integer leave(ScheduleKey scheduleKey, Boolean doNotice) throws InvalidParameterException
指定されたスケジュールに参加している場合のみ参加者から除外します。
他に参加者がいない場合はスケジュール自体の削除も行います。
当該メソッドでは常に権限判定処理は行われません。
scheduleKey
- スケジュールキーdoNotice
- true : 通知者に通知する / false : 登録者に通知しないInvalidParameterException
- 入力項目値に不正があった場合に発生します。void notifyRepeatScheduleRegistrationResults(RepeatScheduleResult repeatScheduleResult)
repeatScheduleResult
- 定期スケジュール登録結果RepeatScheduleResult register(RepeatSchedule repeatSchedule, RepeatCondition condition) throws InvalidParameterException, AuthenticationException, OperationException
権限判定処理を行う場合、編集権限のない参加者および施設が存在すると登録できません。
repeatSchedule
- 定期スケジュール情報condition
- 繰り返し条件InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 権限判定を行う場合で、編集権限のない参加者および施設が存在する場合に発生します。OperationException
- データ不整合が起こる場合に発生します。RepeatScheduleResult update(RepeatSchedule repeatSchedule, RepeatCondition condition) throws AuthenticationException, InvalidParameterException, OperationException
定期スケジュールに属するすべてのスケジュールを更新します。
指定されたスケジュールに対する編集権限がある場合のみ更新が可能です。
権限判定処理を行う場合、編集権限のない参加者および施設が存在すると更新できません。
repeatSchedule
- 定期スケジュール情報condition
- 繰り返し条件InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 編集権限がない場合に発生します。OperationException
- データ不整合が起こる場合に発生します。RepeatScheduleResult updateAfter(RepeatSchedule repeatSchedule, RepeatCondition condition) throws InvalidParameterException, AuthenticationException, OperationException
定期スケジュールに属するスケジュールで、指定されたスケジュールの日付以降のすべてのスケジュールを更新します。
指定されたスケジュールに対する編集権限がある場合のみ更新が可能です。
権限判定処理を行う場合、編集権限のない参加者および施設が存在すると更新できません。
repeatSchedule
- 定期スケジュール情報condition
- 繰り返し条件InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 編集権限がない場合に発生します。OperationException
- データ不整合が起こる場合に発生します。Schedule updateExclude(Schedule schedule) throws InvalidParameterException, AuthenticationException, OperationException
指定されたスケジュールに対する編集権限がある場合のみ更新が可能です。
権限判定処理を行う場合、編集権限のない参加者および施設が存在すると更新できません。
schedule
- スケジュール情報InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 編集権限がない場合に発生します。OperationException
- データ不整合が起こる場合に発生します。Schedule updateSchedule(Schedule schedule) throws InvalidParameterException, AuthenticationException, OperationException
定期スケジュールに属するスケジュールを更新します。
指定されたスケジュールに対する編集権限がある場合のみ更新が可能です。
権限判定処理を行う場合、編集権限のない参加者および施設が存在すると更新できません。
schedule
- スケジュール情報InvalidParameterException
- 入力項目値に不正があった場合に発生します。AuthenticationException
- 編集権限がない場合に発生します。OperationException
- データ不整合が起こる場合に発生します。Copyright © 2012-2015 NTT DATA INTRAMART CORPORATION