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| 名前 |
|---|
| ▶︎ user |
| ▶︎ auth |
auth
com.example.sms.service.system.auth| 名前 |
|---|
| 認証APIサービス |
| 認証サービス |
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<部門> |
社員サービス
com.example.sms.service.master.employee.EmployeeService
| フィールド | フィールド型 |
|---|---|
| employeeRepository | EmployeeRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 社員削除 | 社員コード | void | |
| + 社員検索 | 社員コード | 社員 | |
| + 社員新規登録 | 社員 | void | |
| + 社員情報編集 | 社員 | void | |
| + 社員一覧 | 社員一覧 | ||
| + 社員一覧(ページング) | 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<商品> |
認証APIサービス
com.example.sms.service.system.auth.AuthApiService
| フィールド | フィールド型 |
|---|---|
| authRepository | 認証リポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザーJWT認証 | StringStringAuthentication | String | |
| + JWTトークンからユーザー名の取得 | String | String | |
| + JWTトークンの取得 | String | boolean | |
| + JWTトークンの検証 | String | boolean |
| staticメソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 現在のユーザーIDの取得 | ユーザーID |
認証サービス
com.example.sms.service.system.auth.AuthService
| フィールド | フィールド型 |
|---|---|
| authRepository | 認証リポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザー認証 | String | UserDetails |
ユーザー管理サービス
com.example.sms.service.system.user.UserManagementService
| フィールド | フィールド型 |
|---|---|
| userRepository | ユーザーレポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザー削除 | ユーザーID | void | |
| + ユーザー検索 | ユーザーID | ユーザー | |
| + ユーザー新規登録 | ユーザー | void | |
| + ユーザー情報編集 | ユーザー | void | |
| + ユーザー一覧 | ユーザー一覧 | ||
| + ユーザー一覧(ページング) | PageInfo<ユーザー> |