# Business Logic — KKW02404SFLogic.actionInit() [92 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.web.webview.KKW02404SF.KKW02404SFLogic` |
| Layer | Web Logic / Screen Logic (Controller-adjacent layer within the web screen tier) |
| Module | `KKW02404SF` (Package: `eo.web.webview.KKW02404SF`) |

## 1. Role

### KKW02404SFLogic.actionInit()

This method serves as the **initial display processing** entry point for the KKW02404SF screen, which handles **option service contract status management** in a telecom service provisioning system. Its primary responsibility is to prepare the screen state on first load by orchestrating a series of initialization steps: retrieving the screen context, fetching the service form DataBean, setting up header/transmit data beans, invoking the core service initialization logic, and then mapping the service results back to the DataBean.

The method's most significant business role is **conditional message routing and write-protection based on the transaction division and service status**. After completing the initialization pipeline, the method inspects the current `trandiv` (process division) and `op_svc_kei_stat` (option service contract status) to determine how to behave:

- **DSL Cancellation branch** (`trandiv = "04"`): If the option service status is one of the valid operational states (connection completed, service providing, or suspended/interrupted), the screen allows normal updates. Otherwise, it displays an error message and disables the update flag.
- **Restoration branch** (`trandiv = "05"`): If the service status is "contract canceled" (`"910"`), a specific restoration message is displayed. Otherwise, the screen is locked with an error and the update flag is disabled.
- **Reservation Cancellation branch** (`trandiv = "06"`): If the service status is one of the pre-fulfillment states (received, under review, connection completed, or service providing), a reservation cancellation confirmation message is shown. Otherwise, the screen is locked.

The method follows a **facade pattern** — it presents a single clean entry point that delegates to multiple internal helper methods (`setHktgiBean`, `executeInitSvc`, `setDataInit`) while also performing post-initialization guard logic. It is a **shared screen logic class** used by the KKW02404SF checker and called from the screen controller entry flow.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["actionInit"])
    START --> CALL1["Call JCCWebCommon.getScreenInfo"]
    CALL1 --> GETBEAN["Get X31SDataBeanAccess bean from super"]
    GETBEAN --> PARAMBEAN["Create X31SDataBeanAccess[] paramBean"]
    PARAMBEAN --> MSGINFO["Create String[] msgInfo"]
    MSGINFO --> SETHKTGI["Call setHktgiBean"]
    SETHKTGI --> EXEINIT["Call executeInitSvc"]
    EXEINIT --> SETDATA["Call setDataInit"]
    SETDATA --> GETTRAN["Get trandiv from DataBean"]
    GETTRAN --> GETSVCSTAT["Get op_svc_kei_stat from DataBean"]
    GETSVCSTAT --> CHECK_DSL{Process Division<br>is DSL 04?}
    CHECK_DSL -->|Yes| DSL_BRANCH
    CHECK_DSL -->|No| CHECK_KAIHK{Process Division<br>is KAIHK 05?}
    CHECK_KAIHK -->|Yes| KAIHK_BRANCH
    CHECK_KAIHK -->|No| CHECK_RSV{Process Division<br>is RSV_CL 06?}
    CHECK_RSV -->|Yes| RSV_BRANCH
    CHECK_RSV -->|No| DUMP["Dump DataBean to log"]
    DUMP --> RETURN_TRUE(["Return true"])

    DSL_BRANCH --> DSL_CHECK{SVC Status<br>is 030, 100, or 210?}
    DSL_CHECK -->|Yes| DSL_ALLOW["Allow update normally"]
    DSL_CHECK -->|No| DSL_BLOCK["Display error EKB1510-KW<br>Disable CHG_KAHI_FLG"]
    DSL_ALLOW --> DUMP
    DSL_BLOCK --> DUMP

    KAIHK_BRANCH --> KAIHK_CHECK{SVC Status<br>is 910?}
    KAIHK_CHECK -->|Yes| KAIHK_MSG["Display EKB0370--I with MSGSTRING"]
    KAIHK_CHECK -->|No| KAIHK_BLOCK["Display error EKB1510-KW<br>Disable CHG_KAHI_FLG"]
    KAIHK_MSG --> DUMP
    KAIHK_BLOCK --> DUMP

    RSV_BRANCH --> RSV_CHECK{SVC Status<br>is 010, 020, 030, or 100?}
    RSV_CHECK -->|Yes| RSV_MSG["Display EKB0370--I with MSGSTRING"]
    RSV_CHECK -->|No| RSV_BLOCK["Display error EKB1510-KW<br>Disable CHG_KAHI_FLG"]
    RSV_MSG --> DUMP
    RSV_BLOCK --> DUMP
```

**Block Processing Sequence:**

1. **Screen Info Retrieval (L83)** — Call `JCCWebCommon.getScreenInfo(this)` to fetch the screen context from the framework. (Japanese: 画面情報を取得し、サービスフォームBeanに設定。 — "Retrieve screen information and set in service form Bean.")
2. **DataBean Acquisition (L85-86)** — Retrieve the `X31SDataBeanAccess` service form bean from the parent class and wrap it in an array `paramBean` for pass-by-reference to helper methods.
3. **Message Info Array (L89)** — Allocate `String[] msgInfo` for use as a message content buffer in downstream branches.
4. **Header/Transmit Bean Setup (L92)** — Call `setHktgiBean(paramBean)` to configure header and transmit bean data. (Japanese: DataBean設定処理（情報） — "DataBean setting processing (inheritance information).")
5. **Service Initialization (L95)** — Call `executeInitSvc(paramBean)` to execute the core service initialization logic. (Japanese: 初期表示サービス呼び出し処理 — "Initial display service call processing.")
6. **DataBean Post-Processing (L98)** — Call `setDataInit(paramBean)` to map service results back to the DataBean. (Japanese: DataBean設定処理(サービスの呼び出し結果を設定) — "DataBean setting processing (set service call results).")
7. **Runtime State Extraction (L101-102)** — Read the `trandiv` (process division) and `op_svc_kei_stat` (option service contract status) values from the DataBean using `sendMessageString` with `DATABEAN_GET_VALUE` mode.
8. **Conditional Routing (L105–L168)** — Three mutually exclusive branches based on `trandiv` value, each performing status-dependent message display or write-lock logic.
9. **Debug Logging (L171)** — Dump the current DataBean state to the log via `JSYwebLog.println`.
10. **Return (L173)** — Return `true` indicating successful initialization.

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| - | (none) | - | This is a no-argument screen initialization method. All inputs are derived from the DataBean and the calling screen context. |

**Instance fields / external state read by this method:**

| Source | Type | Business Description |
|--------|------|---------------------|
| `super.getServiceFormBean()` | `X31SDataBeanAccess` | The screen's service form DataBean containing the runtime state (form data, messages, and flags) exchanged between the screen view and logic layer. |
| `bean.sendMessageString(...)` | DataBean query | Reads `TRAN_DIV` (process division) and `OP_SVC_KEI_STAT` (option service contract status) from the DataBean, which were set by prior screen navigation or data submission. |
| `super.getGamenId()` (via `getScreenInfo`) | `String` | The screen ID used to look up screen configuration from the framework. |

## 4. CRUD Operations / Called Services

### Pre-computed evidence from code analysis graph:

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| R | `JCCWebCommon.getScreenInfo` | JCCWebCommon | Screen config table / request context | Reads screen context (screen ID, routing info) from the framework |
| R | `OneStopDataBeanAccess.sendMessageString` | OneStopDataBeanAccess | DataBean (in-memory) | Retrieves `TRAN_DIV` (process division) value from DataBean |
| R | `OneStopDataBeanAccess.sendMessageString` | OneStopDataBeanAccess | DataBean (in-memory) | Retrieves `OP_SVC_KEI_STAT` (option service contract status) from DataBean |
| - | `KKW02404SFLogic.setHktgiBean` | KKW02404SFLogic | - | Sets up header and transmit bean data in the DataBean |
| - | `KKW02404SFLogic.executeInitSvc` | KKW02404SFLogic | - | Executes core service initialization (may invoke downstream SCs) |
| - | `KKW02404SFLogic.setDataInit` | KKW02404SFLogic | - | Maps service initialization results back to DataBean fields |
| - | `JCCWebCommon.setMessageInfo` | JCCWebCommon | - | Sets error/info messages into the response framework for display |
| - | `OneStopDataBeanAccess.sendMessageBoolean` | OneStopDataBeanAccess | DataBean (in-memory) | Sets `CHG_KAHI_FLG` (update status flag) to `false` to lock the screen |
| - | `JSYwebLog.println` | JSYwebLog | - | Debug logging — dumps current DataBean state |

### Further analysis of called internal methods:

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| - | `KKW02404SFLogic.setHktgiBean` | KKW02404SFLogic | - | Internal helper — configures header and transmit bean (HktgiBean) fields in the DataBean |
| - | `KKW02404SFLogic.executeInitSvc` | KKW02404SFLogic | - | Internal helper — executes service initialization; may invoke SCs for data retrieval |
| - | `KKW02404SFLogic.setDataInit` | KKW02404SFLogic | - | Internal helper — initializes DataBean fields with results from executeInitSvc |

## 5. Dependency Trace

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | Screen:KKW02404SF | Screen Controller -> `KKW02404SFLogic.actionInit` | `getScreenInfo [R] ScreenConfig`, `sendMessageString [R] DataBean` |
| 2 | Checker:KKW02404SFChecker | `KKW02404SFChecker` validates output of `KKW02404SFLogic.actionInit` | `setMessageInfo [-] MessageFramework` |

**Notes on callers:**

- **KKW02404SF Screen**: This is the primary screen controller that invokes `actionInit()` during the screen initialization phase. The screen ID follows the `KKSV*` naming convention (screen logic class is `KKW02404SFLogic`).
- **KKW02404SFChecker**: A business logic checker class for KKW02404SF (found in both `koptWebA` and `koptWebB` modules) that references `KKW02404SFLogic` as its target business logic class. The checker is invoked after `actionInit()` completes to validate screen data.
- No external callers outside the `KKW02404SF` module were found. This method is a **private-to-module screen entry point**.

## 6. Per-Branch Detail Blocks

**Block 1** — [CALL] `(L83)`

> Retrieve screen context from the framework and set it into the service form Bean. (Japanese: 画面情報を取得し、サービスフォームBeanに設定。 — "Retrieve screen information and set in service form Bean.")

| # | Type | Code |
|---|------|------|
| 1 | CALL | `JCCWebCommon.getScreenInfo(this)` |

**Block 2** — [CALL + SET] `(L85-86)`

> Get the service form DataBean from the parent class and wrap it into an array for pass-by-reference. (Japanese: サービスフォームBeanのデータBeanアクセスを取得。 — "Get DataBean access of the service form Bean.")

| # | Type | Code |
|---|------|------|
| 1 | SET | `X31SDataBeanAccess bean = super.getServiceFormBean()` |
| 2 | SET | `X31SDataBeanAccess[] paramBean = {bean}` |

**Block 3** — [SET] `(L89)`

> Allocate a message info array for use as a message content buffer in downstream branches.

| # | Type | Code |
|---|------|------|
| 1 | SET | `String[] msgInfo = new String[1]` |

**Block 4** — [CALL] `(L92)`

> Set up header and transmit bean data in the DataBean. (Japanese: DataBean設定処理（情報） — "DataBean setting processing (inheritance information).")

| # | Type | Code |
|---|------|------|
| 1 | CALL | `setHktgiBean(paramBean)` |

**Block 5** — [CALL] `(L95)`

> Execute core service initialization logic. (Japanese: 初期表示サービス呼び出し処理 — "Initial display service call processing.")

| # | Type | Code |
|---|------|------|
| 1 | CALL | `executeInitSvc(paramBean)` |

**Block 6** — [CALL] `(L98)`

> Map service initialization results back to DataBean fields. (Japanese: DataBean設定処理(サービスの呼び出し結果を設定) — "DataBean setting processing (set service call results).")

| # | Type | Code |
|---|------|------|
| 1 | CALL | `setDataInit(paramBean)` |

**Block 7** — [SET] `(L101-102)`

> Extract runtime state values from the DataBean for conditional routing. (Japanese: 処理区分の取得 / オプションサービス契約ステータスの取得 — "Get process division / Get option service contract status.")

| # | Type | Code |
|---|------|------|
| 1 | SET | `String trandiv = bean.sendMessageString(KKW02404SFConst.TRAN_DIV, X31CWebConst.DATABEAN_GET_VALUE)` | [-> CHG_KAHI_FLG="更新状態可否フラグ" (KKW02404SFConst.java:199)] |
| 2 | SET | `String op_svc_kei_stat = bean.sendMessageString(KKW02404SFConst.OP_SVC_KEI_STAT, X31CWebConst.DATABEAN_GET_VALUE)` | |

**Block 8** — [IF] `(L105) [OP_TRAN_DIV_DSL = "04" (Cancellation)]`

> If the process division is DSL (cancellation), validate the service contract status. If the status is one of the valid operational states (connection completed "030", service providing "100", or suspended/interrupted "210"), allow the screen to update normally. Otherwise, display an error and disable editing. (Japanese: 処理区分が解約の場合のメッセージ出力 — "Message output when process division is cancellation.")

| # | Type | Code |
|---|------|------|
| 1 | IF | `JKKCommonConst.OP_TRAN_DIV_DSL.equals(trandiv)` | [-> OP_TRAN_DIV_DSL="04" (JKKCommonConst.java:2510)] |

**Block 8.1** — [IF-IF] `(L106-109) [SVC_KEI_STAT_030="030" OR SVC_KEI_STAT_100="100" OR SVC_KEI_STAT_210="210"]`

> The service status is in a valid operational range. Allow normal screen interaction with no message or lock.

| # | Type | Code |
|---|------|------|
| 1 | IF | `JKKCommonConst.SVC_KEI_STAT_030.equals(op_svc_kei_stat)` | [-> SVC_KEI_STAT_030="030" (JKKCommonConst.java:801)] |
| 2 | IF (OR) | `JKKCommonConst.SVC_KEI_STAT_100.equals(op_svc_kei_stat)` | [-> SVC_KEI_STAT_100="100" (JKKCommonConst.java:804)] |
| 3 | IF (OR) | `JKKCommonConst.SVC_KEI_STAT_210.equals(op_svc_kei_stat)` | [-> SVC_KEI_STAT_210="210"] |
| 4 | EXEC | `;` (no-op — allow normal flow) | |

**Block 8.2** — [IF-ELSE] `(L110-119) [Else — invalid status for DSL cancellation]**

> The option service contract status is NOT connection completed, service providing, or suspended/interrupted. Display an error message and disable the update flag. (Japanese: オプションサービス契約ステータスが"締結済","サービス提供中","休止・中断中"のいずれでもない場合、以下のメッセージを表示し更新不可にする — "When option service contract status is none of 'connection completed', 'service providing', or 'suspended/interrupted', display the following message and make it uneditable.")

| # | Type | Code |
|---|------|------|
| 1 | SET | `String[] str = {"解約","オプションサービス"}` // ["Cancellation", "Option Service"] |
| 2 | CALL | `JCCWebCommon.setMessageInfo(this, JPCOnlineMessageConstant.EKB1510_KW, str)` | [-> EKB1510_KW="EKB1510-KW" (JPCOnlineMessageConstant.java:1280)] |
| 3 | CALL | `paramBean[0].sendMessageBoolean(KKW02404SFConst.CHG_KAHI_FLG, X31CWebConst.DATABEAN_SET_VALUE, false)` | [-> CHG_KAHI_FLG="更新状態可否フラグ" (KKW02404SFConst.java:199)] |

**Block 9** — [IF-ELSE-IF] `(L123) [OP_TRAN_DIV_KAIHK = "05" (Restoration)]`

> If the process division is KAIHK (restoration), handle the restoration flow. (Japanese: 処理区分が恢复の場合のメッセージ出力 — "Message output when process division is restoration.")

| # | Type | Code |
|---|------|------|
| 1 | IF | `JKKCommonConst.OP_TRAN_DIV_KAIHK.equals(trandiv)` | [-> OP_TRAN_DIV_KAIHK="05" (JKKCommonConst.java:2511)] |

**Block 9.1** — [IF] `(L124-128) [SVC_KEI_STAT_910="910"]`

> The service status is "contract canceled" ("910"). Display a restoration confirmation message. (Japanese: メッセージの設定 / メッセージ出力 — "Message setting / Message output.")

| # | Type | Code |
|---|------|------|
| 1 | SET | `msgInfo[0] = MSGSTRING[1]` // Use pre-defined restoration message from MSGSTRING array |
| 2 | CALL | `JCCWebCommon.setMessageInfo(this, JPCOnlineMessageConstant.EKB0370__I, msgInfo)` | [-> EKB0370__I="EKB0370--I" (JPCOnlineMessageConstant.java:143)] |

**Block 9.2** — [IF-ELSE] `(L129-138) [Else — status is NOT "910"]`

> The option service contract status is NOT "contract canceled". Display an error and disable editing. (Japanese: オプションサービス契約ステータスが"解約済"でない場合、以下のメッセージを表示し更新不可にする — "When option service contract status is not 'contract canceled', display the following message and make it uneditable.")

| # | Type | Code |
|---|------|------|
| 1 | SET | `String[] str = {"恢复","オプションサービス"}` // ["Restoration", "Option Service"] |
| 2 | CALL | `JCCWebCommon.setMessageInfo(this, JPCOnlineMessageConstant.EKB1510_KW, str)` | [-> EKB1510_KW="EKB1510-KW" (JPCOnlineMessageConstant.java:1280)] |
| 3 | CALL | `paramBean[0].sendMessageBoolean(KKW02404SFConst.CHG_KAHI_FLG, X31CWebConst.DATABEAN_SET_VALUE, false)` | [-> CHG_KAHI_FLG="更新状態可否フラグ" (KKW02404SFConst.java:199)] |

**Block 10** — [IF-ELSE-IF] `(L142) [OP_TRAN_DIV_RSV_CL = "06" (Reservation Cancel)]`

> If the process division is RSV_CL (reservation cancellation), handle the reservation cancel flow. (Japanese: 処理区分が予約取消の場合のメッセージ出力 — "Message output when process division is reservation cancellation.")

| # | Type | Code |
|---|------|------|
| 1 | IF | `JKKCommonConst.OP_TRAN_DIV_RSV_CL.equals(trandiv)` | [-> OP_TRAN_DIV_RSV_CL="06" (JKKCommonConst.java:2512)] |

**Block 10.1** — [IF] `(L143-152) [SVC_KEI_STAT_010="010" OR SVC_KEI_STAT_020="020" OR SVC_KEI_STAT_030="030" OR SVC_KEI_STAT_100="100"]`

> The service status is in a valid pre-fulfillment range (received, under review, connection completed, or service providing). Display a reservation cancellation confirmation message.

| # | Type | Code |
|---|------|------|
| 1 | IF | `JKKCommonConst.SVC_KEI_STAT_010.equals(op_svc_kei_stat)` | [-> SVC_KEI_STAT_010="010" (JKKCommonConst.java:798)] |
| 2 | IF (OR) | `JKKCommonConst.SVC_KEI_STAT_020.equals(op_svc_kei_stat)` | [-> SVC_KEI_STAT_020="020"] |
| 3 | IF (OR) | `JKKCommonConst.SVC_KEI_STAT_030.equals(op_svc_kei_stat)` | [-> SVC_KEI_STAT_030="030"] |
| 4 | IF (OR) | `JKKCommonConst.SVC_KEI_STAT_100.equals(op_svc_kei_stat)` | [-> SVC_KEI_STAT_100="100"] |
| 5 | SET | `msgInfo[0] = MSGSTRING[2]` // Use pre-defined reservation cancel message from MSGSTRING array |
| 6 | CALL | `JCCWebCommon.setMessageInfo(this, JPCOnlineMessageConstant.EKB0370__I, msgInfo)` | [-> EKB0370__I="EKB0370--I" (JPCOnlineMessageConstant.java:143)] |

**Block 10.2** — [IF-ELSE] `(L153-162) [Else — invalid status for reservation cancel]**

> The option service contract status is NOT one of the valid pre-fulfillment states (received, under review, connection completed, service providing). Display an error and disable editing. (Japanese: オプションサービス契約ステータスが"受済","照会済","締結済","サービス提供中"のいずれでもない場合、以下のメッセージを表示し更新不可にする — "When option service contract status is none of 'received', 'under review', 'connection completed', 'service providing', display the following message and make it uneditable.")

| # | Type | Code |
|---|------|------|
| 1 | SET | `String[] str = {"予約取消","オプションサービス"}` // ["Reservation Cancellation", "Option Service"] |
| 2 | CALL | `JCCWebCommon.setMessageInfo(this, JPCOnlineMessageConstant.EKB1510_KW, str)` | [-> EKB1510_KW="EKB1510-KW" (JPCOnlineMessageConstant.java:1280)] |
| 3 | CALL | `paramBean[0].sendMessageBoolean(KKW02404SFConst.CHG_KAHI_FLG, X31CWebConst.DATABEAN_SET_VALUE, false)` | [-> CHG_KAHI_FLG="更新状態可否フラグ" (KKW02404SFConst.java:199)] |

**Block 11** — [CALL] `(L171)`

> Debug logging — dump the current DataBean state to the log for troubleshooting. (Japanese: DataBeanログ出力 — "DataBean log output.")

| # | Type | Code |
|---|------|------|
| 1 | CALL | `JSYwebLog.println(JSYwebLog.DataBean_Dump, getClass(), dumpDatabean(), null, null, null)` | |

**Block 12** — [RETURN] `(L173)`

> Return `true` to indicate successful initialization to the calling screen controller.

| # | Type | Code |
|---|------|------|
| 1 | RETURN | `return true` |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `trandiv` | Field | Process Division — indicates the type of transaction being performed on the option service (cancellation, restoration, or reservation cancellation) |
| `op_svc_kei_stat` | Field | Option Service Contract Status — the current lifecycle status of an option service contract |
| `CHG_KAHI_FLG` | Constant | Update Status Enable Flag — when `false`, disables all editing on the screen to prevent modifications in invalid states |
| `TRAN_DIV` | Constant | Process Division key — DataBean key used to retrieve the current transaction division value |
| `OP_SVC_KEI_STAT` | Constant | Option Service Contract Status key — DataBean key used to retrieve the current service contract status |
| `MSGSTRING` | Field | Message string array — pre-populated array of Japanese messages for each transaction division type |
| `paramBean` | Variable | Service form DataBean wrapper — array-wrapped reference to the screen DataBean, passed by reference to helper methods |
| `msgInfo` | Variable | Message content buffer — single-element String array used to hold the message text before calling `setMessageInfo` |
| OP_TRAN_DIV_DSL | Constant | Transaction Division = DSL (Cancellation) — value `"04"`, indicates the screen is in the service cancellation transaction |
| OP_TRAN_DIV_KAIHK | Constant | Transaction Division = KAIHK (Restoration) — value `"05"`, indicates the screen is in the restoration transaction |
| OP_TRAN_DIV_RSV_CL | Constant | Transaction Division = RSV_CL (Reservation Cancel) — value `"06"`, indicates the screen is in the reservation cancellation transaction |
| SVC_KEI_STAT_010 | Constant | Service Detail Status = "010" — Received (order acknowledged, pending processing) |
| SVC_KEI_STAT_020 | Constant | Service Detail Status = "020" — Under Review (order under validation/review) |
| SVC_KEI_STAT_030 | Constant | Service Detail Status = "030" — Connection Completed (service connection has been established) |
| SVC_KEI_STAT_100 | Constant | Service Detail Status = "100" — Service Providing (actively providing the service) |
| SVC_KEI_STAT_210 | Constant | Service Detail Status = "210" — Suspended / Interrupted (service temporarily halted) |
| SVC_KEI_STAT_910 | Constant | Service Detail Status = "910" — Contract Canceled (final canceled state, eligible for restoration) |
| EKB1510_KW | Constant | Error message key — generic "operation not available" error message displayed when the service status is incompatible with the requested operation |
| EKB0370__I | Constant | Info message key — informational message displayed for valid state transitions (restoration, reservation cancellation confirmation) |
| JCCWebCommon | Class | Web Common Utility — shared framework class providing screen context retrieval and message setup methods |
| JCCWebBusinessLogic | Class | Base business logic class — parent class of KKW02404SFLogic providing `getGamenId()` and screen infrastructure |
| X31SDataBeanAccess | Class | Service form DataBean — the screen's data carrier holding form data, messages, and flags; part of the X31 framework |
| OneStopDataBeanAccess | Class | DataBean access interface — provides `sendMessageString` / `sendMessageBoolean` for typed DataBean field access |
| JSYwebLog | Class | Web logging utility — provides debug logging with DataBean dump capability |
| `executeInitSvc` | Method | Execute Service Initialization — internal helper that performs core service initialization logic (may invoke SCs for data retrieval) |
| `setHktgiBean` | Method | Set Header/Transmit Bean — internal helper that configures header and transmit bean fields in the DataBean |
| `setDataInit` | Method | Set DataBean Initialization — internal helper that maps service initialization results back to DataBean fields |
| DSL | Business term | Data Service Line — in this context, refers to the cancellation transaction type (解約 / kaiyaku) |
| KAIHK | Business term | 回復 (Kaifuku) — Restoration, the process of restoring a service after contract cancellation |
| RSV_CL | Business term | Reservation Cancellation — the transaction for canceling a service reservation before fulfillment |
| FTTH | Business term | Fiber To The Home — fiber-optic broadband internet service (commonly managed via option service contracts) |
| DataBean | Technical term | Data transfer object pattern — carries screen state between the view layer and logic layer in the web framework |
| SC | Technical term | Service Component — a backend service component (e.g., `EKKxxxxSC`) that handles business logic and data access |
| Message Framework | Technical term | `JPCOnlineMessageConstant` — the central message key registry used by `setMessageInfo` to render localized messages on screen |
| 解約 | Japanese term | Cancellation — termination of a service contract (mapped to `OP_TRAN_DIV_DSL = "04"`) |
| 回復 | Japanese term | Restoration — reactivation of a previously canceled service (mapped to `OP_TRAN_DIV_KAIHK = "05"`) |
| 予約取消 | Japanese term | Reservation Cancellation — canceling a reservation before service fulfillment (mapped to `OP_TRAN_DIV_RSV_CL = "06"`) |
| 受済 | Japanese term | Received — the order has been acknowledged (status "010") |
| 照会済 | Japanese term | Under Review — the order is under validation/review (status "020") |
| 締結済 | Japanese term | Connection Completed — the service has been connected (status "030") |
| サービス提供中 | Japanese term | Service Providing — actively providing the service (status "100") |
| 休止・中断中 | Japanese term | Suspended / Interrupted — service is temporarily halted (status "210") |
| 解約済 | Japanese term | Contract Canceled — final canceled state, eligible for restoration (status "910") |
