# Business Logic — FUW00116SF02DBean.listKoumokuIds() [5 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.web.webview.FUW00116SF.FUW00116SF02DBean` |
| Layer | View / Data Type Bean (webview package — UI-facing data holder) |
| Module | `FUW00116SF` (Package: `eo.web.webview.FUW00116SF`) |

## 1. Role

### FUW00116SF02DBean.listKoumokuIds()

This method is a **Data Type Bean factory** that provides the list of display item names used in a specific view component of the FUW00116SF web screen module. It operates as a shared utility — any screen or controller that needs to know which data fields belong to the "Customer-facing Mail Body Non-standard Text String List" (`お客様向けメール本文非定型文字列リスト`) view type delegates to this method. The method implements the **builder pattern** in its simplest form: it instantiates a typed list, populates it with one item identifier, and returns it for downstream UI rendering. Its role in the larger system is as one leaf in a broader **delegation routing chain** — the parent `FUW00116SFBean.listKoumokuIds(String key)` method dispatches to this method (and 8 other sibling DBean classes) based on the item key passed in, acting as a centralized view metadata catalog. This method specifically handles the customer-facing mail body non-standard text string list domain, which is used when composing or editing dynamic email content where template substitution variables are displayed to the end user.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["listKoumokuIds()"])
    START --> INIT["Initialize ArrayList<String> koumokuList"]
    INIT --> ADD["Add 'Body Non-standard Text Replacement String' item"]
    ADD --> RETURN["Return koumokuList"]
    RETURN --> END_NODE(["End"])
```

This method has no conditional branches, loops, or external calls. It is a straightforward factory that initializes a list and returns a single static item identifier. The item "本文非定型置換文字" (Body Non-standard Text Replacement String) represents the display label for a mail body dynamic content substitution field — a variable placeholder that users can insert into custom email templates during customer-facing mail composition workflows.

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| - | (none) | - | This method takes no parameters; it is a static factory returning a constant list. |

No instance fields or external state are read by this method.

## 4. CRUD Operations / Called Services

This method performs no CRUD operations and makes no calls to services or database components. It is a pure in-memory data factory.

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| — | — | — | — | No database or service calls — this method returns a constant list entirely in memory. |

## 5. Dependency Trace

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | Screen: FUW00116SF | `FUW00116SFBean.listKoumokuIds(key)` where `key.equals("お客様向けメール本文非定型文字列リスト")` -> `FUW00116SF02DBean.listKoumokuIds()` | — (no terminal CRUD) |

The only known caller is the parent bean class `FUW00116SFBean`, which acts as the central dispatch hub for all view type metadata in the FUW00116SF module. When the screen layer requests item metadata for the "Customer-facing Mail Body Non-standard Text String List" view type, the parent bean delegates to this method to retrieve the item name list.

## 6. Per-Branch Detail Blocks

**Block 1** — [METHOD] Static factory initialization `(no condition)` (L179)

> Creates a new ArrayList, adds one display item, and returns it.

| # | Type | Code |
|---|------|------|
| 1 | SET | `koumokuList = new ArrayList<String>()` — instantiate a new empty list to hold item name strings |
| 2 | EXEC | `koumokuList.add("本文非定型置換文字")` — add the display item name "Body Non-standard Text Replacement String" (original: 本文非定型置換文字) to the list |
| 3 | RETURN | `return koumokuList` — return the populated list to the caller |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| DBean | Acronym | Data Type Bean — a view-facing data holder class that provides metadata (item names, data types, sub-keys) for UI rendering in the webview layer |
| 本文非定型置換文字 | Field | Body Non-standard Text Replacement String — a dynamic substitution variable used in customer-facing mail templates, allowing users to insert variable content into email body text |
| 非定型 | Acronym | Non-standard (Hiteikei) — indicates custom/variable format content, as opposed to a fixed template format. Refers to content that is not pre-defined and can be customized per business need |
| FUW00116SF | Module | A web screen module ID in the K-Opticom telecom customer-facing mail system, handling customer-facing mail body composition and management |
| FUW00116SFBean | Class | Parent dispatcher bean — the central hub that routes `listKoumokuIds(String key)` calls to the appropriate child DBean class based on the view type key |
| listKoumokuIds | Method | List item IDs — a standard naming convention for data type beans that returns the display names of all fields belonging to a specific view type |
| 置換文字 | Field | Text Replacement Characters — substitution markers or variables that get replaced with actual values when a mail template is rendered for sending |
| webview | Layer | The view presentation layer in the web application architecture, responsible for UI data preparation and rendering metadata |
