com
com| 名前 |
|---|
| ▶︎ example |
example
com.example| 名前 |
|---|
| ▶︎ sms |
sms
com.example.sms| 名前 |
|---|
| ▶︎ サービス層 |
サービス層
com.example.sms.service| 名前 |
|---|
| ▶︎ master |
| ▶︎ system |
master
com.example.sms.service.master| 名前 |
|---|
| ▶︎ employee |
| ▶︎ department |
| ▶︎ product |
department
com.example.sms.service.master.department| 名前 |
|---|
| 部門サービス |
employee
com.example.sms.service.master.employee| 名前 |
|---|
| 社員サービス |
product
com.example.sms.service.master.product| 名前 |
|---|
| 商品サービス |
system
com.example.sms.service.system| 名前 |
|---|
| ▶︎ audit |
| ▶︎ download |
| ▶︎ user |
| ▶︎ auth |
audit
com.example.sms.service.system.audit| 名前 |
|---|
| 監査サービス |
auth
com.example.sms.service.system.auth| 名前 |
|---|
| 認証APIサービス |
| 認証サービス |
download
com.example.sms.service.system.download| 名前 |
|---|
| データダウンロードサービス |
user
com.example.sms.service.system.user| 名前 |
|---|
| ユーザー管理サービス |
部門サービス
com.example.sms.service.master.department.DepartmentService
| フィールド | フィールド型 |
|---|---|
| departmentRepository | DepartmentRepository |
| employeeRepository | EmployeeRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 部門削除 | 部門ID | void | |
| + 部門検索 (部門ID) | 部門ID | 部門 | |
| + 部門検索(部門コード) | 部門ID | 部門一覧 | |
| + 部門新規登録 | 部門 | void | |
| + 部門情報編集(社員追加・削除) | 部門 | void | |
| + 部門情報編集(社員追加・削除) | 部門ListList | void | |
| + 部門検索 | 部門検索条件 | PageInfo<部門> | |
| + 部門一覧 | 部門一覧 | ||
| + 部門一覧(ページング) | PageInfo<部門> |
社員サービス
com.example.sms.service.master.employee.EmployeeService
| フィールド | フィールド型 |
|---|---|
| employeeRepository | EmployeeRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 社員削除 | 社員コード | void | |
| + 社員検索 | 社員コード | 社員 | |
| + 社員新規登録 | 社員 | void | |
| + 社員情報編集 | 社員 | void | |
| + 社員検索(ページング) | 社員検索条件 | PageInfo<社員> | |
| + 社員一覧 | 社員一覧 | ||
| + 社員一覧(ページング) | PageInfo<社員> |
商品サービス
com.example.sms.service.master.product.ProductService
| フィールド | フィールド型 |
|---|---|
| productRepository | ProductRepository |
| productCategoryRepository | ProductCategoryRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 商品削除 | 商品 | void | |
| + 商品分類削除 | 商品分類 | void | |
| + 商品検索 | String | 商品 | |
| + 商品分類検索 | String | 商品分類 | |
| + 商品新規登録 | 商品 | void | |
| + 商品分類新規登録 | 商品分類 | void | |
| + 商品情報編集 | 商品 | void | |
| + 商品分類情報編集(商品追加、削除) | 商品分類 | void | |
| + 商品分類情報編集(商品追加、削除) | 商品分類ListList | void | |
| + 商品分類検索(ページング) | 商品分類検索条件 | PageInfo<商品分類> | |
| + 商品検索 (ページング) | 商品検索条件 | PageInfo<商品> | |
| + 商品一覧 | 商品一覧 | ||
| + 部品一覧(ページング) | PageInfo<商品> | ||
| + 商品分類一覧 | 商品分類一覧 | ||
| + 商品分類一覧(ページング) | PageInfo<商品分類> | ||
| + 商品一覧(ページング) | PageInfo<商品> |
監査サービス
com.example.sms.service.system.audit.AuditService
| フィールド | フィールド型 |
|---|---|
| auditRepository | 監査リポジトリ |
| userRepository | ユーザーレポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + アプリケーション実行履歴削除 | Integer | void | |
| + アプリケーション実行履歴終了 | アプリケーション実行履歴 | アプリケーション実行履歴 | |
| + アプリケーション実行履歴エラー | アプリケーション実行履歴String | アプリケーション実行履歴 | |
| + アプリケーション実行履歴取得 | String | アプリケーション実行履歴 | |
| + アプリケーション実行履歴新規登録 | アプリケーション実行履歴ユーザーID | void | |
| + アプリケーション実行履歴検索 | 監査検索条件 | PageInfo<アプリケーション実行履歴> | |
| + アプリケーション実行履歴一覧 | アプリケーション実行履歴一覧 | ||
| + アプリケーション実行履歴一覧(ページング) | PageInfo<アプリケーション実行履歴> | ||
| + アプリケーション実行履歴開始 | アプリケーション実行履歴区分アプリケーション実行プロセス区分 | アプリケーション実行履歴 |
認証APIサービス
com.example.sms.service.system.auth.AuthApiService
| フィールド | フィールド型 |
|---|---|
| authRepository | 認証リポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザーJWT認証 | StringStringAuthentication | String | |
| + JWTトークンからユーザー名の取得 | String | String | |
| + JWTトークンの取得 | String | boolean | |
| + JWTトークンの検証 | String | boolean |
| staticメソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 権限チェック | String | void | |
| + 現在のユーザーIDの取得 | ユーザーID |
認証サービス
com.example.sms.service.system.auth.AuthService
| フィールド | フィールド型 |
|---|---|
| authRepository | 認証リポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザー認証 | String | UserDetails |
データダウンロードサービス
com.example.sms.service.system.download.DownloadService
| フィールド | フィールド型 |
|---|---|
| departmentCSVRepository | DepartmentCSVRepository |
| employeeCSVRepository | EmployeeCSVRepository |
| productCategoryCSVRepository | ProductCategoryCSVRepository |
| productCSVRepository | ProductCSVRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + CSV変換 | ダウンロード条件 | List | |
| + ダウンロード件数取得 | ダウンロード条件 | int | |
| + ダウンロード | ダウンロード条件OutputStreamWriter | void | |
| - 部門CSV変換 | ダウンロード条件 | List<DepartmentDownloadCSV> | |
| - 社員CSV変換 | ダウンロード条件 | List<EmployeeDownloadCSV> | |
| - 商品分類CSV変換 | ダウンロード条件 | List<ProductCategoryDownloadCSV> | |
| - 商品CSV変換 | ダウンロード条件 | List<ProductDownloadCSV> | |
| - 部門ダウンロード件数取得 | ダウンロード条件 | int | |
| - 社員ダウンロード件数取得 | ダウンロード条件 | int | |
| - 商品カテゴリダウンロード件数取得 | ダウンロード条件 | int | |
| - 商品ダウンロード件数取得 | ダウンロード条件 | int |
ユーザー管理サービス
com.example.sms.service.system.user.UserManagementService
| フィールド | フィールド型 |
|---|---|
| userRepository | ユーザーレポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザー削除 | ユーザーID | void | |
| + ユーザー検索 | ユーザーID | ユーザー | |
| + ユーザー新規登録 | ユーザー | void | |
| + ユーザー情報編集 | ユーザー | void | |
| + ユーザー一覧 | ユーザー一覧 | ||
| + ユーザー一覧(ページング) | PageInfo<ユーザー> |