---

# Business Logic — FUW00156SF02DBean.listKoumokuIds() [10 LOC]

| Field | Value |
|-------|-------|
| Fully Qualified Name | `eo.web.webview.FUW00156SF.FUW00156SF02DBean` |
| Layer | Web View Bean (Data presentation layer — webview package) |
| Module | `FUW00156SF` (Package: `eo.web.webview.FUW00156SF`) |

## 1. Role

### FUW00156SF02DBean.listKoumokuIds()

This method returns the list of item names (field labels) used in the **Survey List data type view** within the FUW00156SF screen module. In the broader system, FUW00156SF is a customer mail configuration screen where operators manage mail delivery settings such as recipient lists, header codes, and body text patterns. The Survey List (`アンケートリスト`) is one of the data type view items that allows operators to configure survey-related fields used within that mail configuration workflow.

The method implements the **static bean metadata provider** pattern: it is a `public static` method that returns a predefined `ArrayList<String>` of Japanese display labels. These labels are consumed by the parent class's `listKoumokuIds(String key)` dispatcher in `FUW00156SFBean`, which routes requests based on the requested data type item name. This method is specifically invoked when the dispatcher receives the key `"アンケートリスト"` (Survey List).

As a data type view bean, `FUW00156SF02DBean` does not perform any CRUD operations, service calls, or business logic — it purely defines the column structure (item names) for a survey-type data grid rendered on the UI. This is a shared utility used across the FUW00156SF screen module whenever the Survey List data type needs to be presented to the operator.

## 2. Processing Pattern (Detailed Business Logic)

```mermaid
flowchart TD
    START(["listKoumokuIds()"])
    STEP1["Create ArrayList<String> koumokuList"]
    STEP2["Add Survey Content"]
    STEP3["Add Survey Check Type"]
    STEP4["Add Survey Number"]
    STEP5["Add Display Order (Survey Content)"]
    STEP6["Add Radio Button Selection Value"]
    STEP7["Add Survey Answer List"]
    RETURN(["Return koumokuList"])

    START --> STEP1
    STEP1 --> STEP2
    STEP2 --> STEP3
    STEP3 --> STEP4
    STEP4 --> STEP5
    STEP5 --> STEP6
    STEP6 --> STEP7
    STEP7 --> RETURN
```

**Processing Summary:**

This method has no conditional branches. It performs a simple linear sequence:

1. Creates a new `ArrayList<String>` instance to hold item name labels.
2. Appends six fixed survey-related display labels in sequence order.
3. Returns the populated list.

No external state, constants, or called services are involved. The method is a pure data provider returning a static definition of column names.

## 3. Parameter Analysis

| No | Parameter Name | Type | Business Description |
|----|---------------|------|---------------------|
| - | (none) | - | This method takes no parameters. It returns a predefined list of item names based on its own class identity as the Survey List data type view bean. |

No instance fields or external state are read by this method. It is a self-contained static provider.

## 4. CRUD Operations / Called Services

This method performs **no CRUD operations** and makes **no calls to external services**. It only instantiates a local `ArrayList` and populates it with literal string values.

| CRUD | SC / CBS | SC Code | Entity / DB | Operation Description |
|------|----------|---------|-------------|----------------------|
| (none) | — | — | — | This method has no data access. It returns a static metadata list of survey field labels. |

## 5. Dependency Trace

| # | Caller (Screen/Batch) | Call Chain (Full Path to this Method) | Terminal (SC / CRUD / Entity) |
|---|----------------------|--------------------------------------|-------------------------------|
| 1 | Bean: FUW00156SFBean | `FUW00156SFBean.listKoumokuIds("アンケートリスト")` → `FUW00156SF02DBean.listKoumokuIds()` | (none — metadata only) |

**Caller Details:**

The sole caller is `FUW00156SFBean.listKoumokuIds(String key)` at line 966. This dispatcher method checks if the incoming `key` parameter equals `"アンケートリスト"` (Survey List) and delegates to `FUW00156SF02DBean.listKoumokuIds()` to retrieve the column labels for that specific data type view.

`FUW00156SFBean` itself is called by the screen logic layer (`FUW00156SFLogic`) during the initialization of the Survey List data type section of the FUW00156SF mail configuration screen. The full call chain traces from the screen entry point through the bean dispatcher to this static metadata method.

No other modules or screens call this method directly, as it is scoped specifically to the FUW00156SF module's internal data type view architecture.

## 6. Per-Branch Detail Blocks

**Block 1** — [LINEAR EXECUTION] `(no branch — sequential add operations)` (L529)

> This block covers the entire method body. Since there are no conditional branches, all operations are at the top level.

| # | Type | Code |
|---|------|------|
| 1 | SET | `ArrayList<String> koumokuList = new ArrayList<String>();` // Create new list for item names |
| 2 | EXEC | `koumokuList.add("アンケート内容")` // Add "Survey Content" (L531) |
| 3 | EXEC | `koumokuList.add("アンケートチェック種類")` // Add "Survey Check Type" (L532) |
| 4 | EXEC | `koumokuList.add("アンケート番号")` // Add "Survey Number" (L533) |
| 5 | EXEC | `koumokuList.add("表示順序（アンケート内容）")` // Add "Display Order (Survey Content)" (L534) |
| 6 | EXEC | `koumokuList.add("ラジオボタン選択値")` // Add "Radio Button Selection Value" (L535) |
| 7 | EXEC | `koumokuList.add("アンケート回答リスト")` // Add "Survey Answer List" (L536) |
| 8 | RETURN | `return koumokuList;` // Return the populated list (L537) |

## 7. Glossary

| Term | Type | Business Meaning |
|------|------|------------------|
| `アンケート` (anketto) | Japanese term | Survey — a questionnaire or feedback collection tool used within the customer mail configuration workflow |
| `アンケート内容` | Field | Survey Content — the main body/text of the survey question presented to respondents |
| `アンケートチェック種類` | Field | Survey Check Type — the type of survey question (e.g., single choice, multiple choice, text input) |
| `アンケート番号` | Field | Survey Number — an internal sequential identifier for each survey question within a survey set |
| `表示順序` | Field | Display Order — the sort position used to determine the presentation sequence of survey items in the UI |
| `ラジオボタン選択値` | Field | Radio Button Selection Value — the selected option value from a radio button-style survey question |
| `アンケート回答リスト` | Field | Survey Answer List — the collection of answers submitted by respondents for a given survey |
| `FUW00156SF` | Module | Customer Mail Configuration Screen — a screen module for managing mail delivery settings including recipients, headers, and body templates |
| `DBean` | Acronym | Data Bean — a view data bean that defines the structure (column names, types) for a specific data type in a screen's data grid |
| `data type view` | Concept | A screen pattern where different data types (survey list, mail recipient list, etc.) each have their own DBean defining their column layout |

---

## FINAL STEP (MANDATORY)

The document has been saved via `write_file` to `.codewiki/dd/FUW00156SF02DBean/listKoumokuIds.md`.
