com
com| 名前 |
|---|
| ▶︎ example |
example
com.example| 名前 |
|---|
| ▶︎ sms |
sms
com.example.sms| 名前 |
|---|
| ▶︎ サービス層 |
サービス層
com.example.sms.service| 名前 |
|---|
| ▶︎ master |
| ▶︎ system |
master
com.example.sms.service.master| 名前 |
|---|
| ▶︎ region |
| ▶︎ employee |
| ▶︎ department |
| ▶︎ product |
| ▶︎ partner |
department
com.example.sms.service.master.department| 名前 |
|---|
| 部門サービス |
employee
com.example.sms.service.master.employee| 名前 |
|---|
| 社員サービス |
partner
com.example.sms.service.master.partner| 名前 |
|---|
| 顧客サービス |
| 取引先分類種別サービス |
| 取引先グループサービス |
| 取引先サービス |
| 仕入先サービス |
product
com.example.sms.service.master.product| 名前 |
|---|
| 商品サービス |
region
com.example.sms.service.master.region| 名前 |
|---|
| 地域サービス |
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.partner.CustomerService
| フィールド | フィールド型 |
|---|---|
| partnerRepository | PartnerRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 顧客削除 | 顧客 | void | |
| + 顧客検索 | 顧客コード | 顧客 | |
| + 顧客新規登録 | 顧客 | void | |
| + 顧客情報編集 | 顧客 | void | |
| + 顧客検索 (ページング) | 顧客検索条件 | PageInfo<顧客> | |
| + 顧客一覧 | 顧客一覧 | ||
| + 顧客一覧 (ページング) | PageInfo<顧客> |
取引先分類種別サービス
com.example.sms.service.master.partner.PartnerCategoryService
| フィールド | フィールド型 |
|---|---|
| partnerCategoryRepository | PartnerCategoryRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 取引先分類種別削除 | 取引先分類種別 | void | |
| + 取引先分類種別検索 | String | 取引先分類種別 | |
| + 取引先分類種別新規登録 | 取引先分類種別 | void | |
| + 取引先分類種別情報編集 | 取引先分類種別 | void | |
| + 取引先分類種別検索 (ページング) | 取引先分類種別検索条件 | PageInfo<取引先分類種別> | |
| + 取引先分類種別一覧 | 取引先分類一覧 | ||
| + 取引先分類種別一覧 (ページング) | PageInfo<取引先分類種別> |
取引先グループサービス
com.example.sms.service.master.partner.PartnerGroupService
| フィールド | フィールド型 |
|---|---|
| partnerGroupRepository | PartnerGroupRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 取引先グループ削除 | 取引先グループ | void | |
| + 取引先グループ検索 | String | 取引先グループ | |
| + 取引先グループ新規登録 | 取引先グループ | void | |
| + 取引先グループ情報編集 | 取引先グループ | void | |
| + 商品検索 (ページング) | 取引先グループ検索条件 | PageInfo<取引先グループ> | |
| + 取引先グループ一覧 | 取引先グループ一覧 | ||
| + 取引先グループ一覧 (ページング) | PageInfo<取引先グループ> |
取引先サービス
com.example.sms.service.master.partner.PartnerService
| フィールド | フィールド型 |
|---|---|
| partnerRepository | PartnerRepository |
| partnerCategoryRepository | PartnerCategoryRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 取引先削除 | 取引先 | void | |
| + 取引先検索 | String | 取引先 | |
| + 取引先新規登録 | 取引先 | void | |
| + 取引先情報編集 | 取引先 | void | |
| + 取引先検索 (ページング) | 取引先検索条件 | PageInfo<取引先> | |
| + 取引先一覧 | 取引先一覧 | ||
| + 取引先一覧 (ページング) | PageInfo<取引先> |
仕入先サービス
com.example.sms.service.master.partner.VendorService
| フィールド | フィールド型 |
|---|---|
| partnerRepository | PartnerRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 仕入先削除 | 仕入先 | 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.master.region.RegionService
| フィールド | フィールド型 |
|---|---|
| regionRepository | RegionRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + 地域を削除 | 地域 | void | |
| + 地域検索 | String | 地域 | |
| + 地域新規登録 | 地域 | void | |
| + 地域情報を編集 | 地域 | void | |
| + 地域検索 (ページング) | 地域検索条件 | 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 |
| partnerGroupCSVRepository | PartnerGroupCSVRepository |
| partnerCSVRepository | PartnerCSVRepository |
| customerCSVRepository | CustomerCSVRepository |
| vendorCSVRepository | VendorCSVRepository |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + CSV変換 | ダウンロード条件 | List | |
| + ダウンロード件数取得 | ダウンロード条件 | int | |
| + ダウンロード | ダウンロード条件OutputStreamWriter | void | |
| - 顧客CSV変換 | ダウンロード条件 | List<CustomerDownloadCSV> | |
| - 部門CSV変換 | ダウンロード条件 | List<DepartmentDownloadCSV> | |
| - 社員CSV変換 | ダウンロード条件 | List<EmployeeDownloadCSV> | |
| - 取引先CSV変換 | ダウンロード条件 | List<PartnerDownloadCSV> | |
| - 取引先グループCSV変換 | ダウンロード条件 | List<PartnerGroupDownloadCSV> | |
| - 商品分類CSV変換 | ダウンロード条件 | List<ProductCategoryDownloadCSV> | |
| - 商品CSV変換 | ダウンロード条件 | List<ProductDownloadCSV> | |
| - 仕入先CSV変換 | ダウンロード条件 | List<VendorDownloadCSV> | |
| - 顧客ダウンロード件数取得 | ダウンロード条件 | int | |
| - 部門ダウンロード件数取得 | ダウンロード条件 | int | |
| - 社員ダウンロード件数取得 | ダウンロード条件 | int | |
| - 取引先ダウンロード件数取得 | ダウンロード条件 | int | |
| - 取引先グループダウンロード件数取得 | ダウンロード条件 | int | |
| - 商品カテゴリダウンロード件数取得 | ダウンロード条件 | int | |
| - 商品ダウンロード件数取得 | ダウンロード条件 | int | |
| - 仕入先ダウンロード件数取得 | ダウンロード条件 | int |
ユーザー管理サービス
com.example.sms.service.system.user.UserManagementService
| フィールド | フィールド型 |
|---|---|
| userRepository | ユーザーレポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザー削除 | ユーザーID | void | |
| + ユーザー検索 | ユーザーID | ユーザー | |
| + ユーザー新規登録 | ユーザー | void | |
| + ユーザー情報編集 | ユーザー | void | |
| + ユーザー一覧 | ユーザー一覧 | ||
| + ユーザー一覧(ページング) | PageInfo<ユーザー> |