[INDEX] ユースケース概要

認証APIサービス

com.example.sms.service.system.auth.AuthApiService

ユーザーJWT認証

authenticateUser(Authentication, String, String):String
graph LR
c_e_s_s_s_a_AuthApiService_authenticateUser_o_s_s_c_Authentication__j_l_String__j_l_String_(["ユーザーJWT認証"])
style c_e_s_s_s_a_AuthApiService_authenticateUser_o_s_s_c_Authentication__j_l_String__j_l_String_ font-weight:bold
c_e_s_s_s_a_AuthApiService_authenticateUser_o_s_s_c_Authentication__j_l_String__j_l_String_ --> com_example_sms_service_system_auth_AuthRepository
com_example_sms_service_system_auth_AuthRepository[AuthRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
要求するもの(引数)
String
String
Authentication
得られるもの(戻り値)
String

JWTトークンからユーザー名の取得

getUserNameFromJwtToke(String):String
graph LR
c_e_s_s_s_a_AuthApiService_getUserNameFromJwtToke_j_l_String_(["JWTトークンからユーザー名の取得"])
style c_e_s_s_s_a_AuthApiService_getUserNameFromJwtToke_j_l_String_ font-weight:bold
c_e_s_s_s_a_AuthApiService_getUserNameFromJwtToke_j_l_String_ --> com_example_sms_service_system_auth_AuthRepository
com_example_sms_service_system_auth_AuthRepository[AuthRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
要求するもの(引数)
String
得られるもの(戻り値)
String

JWTトークンの取得

validateJwtToke(String):boolean
graph LR
c_e_s_s_s_a_AuthApiService_validateJwtToke_j_l_String_(["JWTトークンの取得"])
style c_e_s_s_s_a_AuthApiService_validateJwtToke_j_l_String_ font-weight:bold
c_e_s_s_s_a_AuthApiService_validateJwtToke_j_l_String_ --> com_example_sms_service_system_auth_AuthRepository
com_example_sms_service_system_auth_AuthRepository[AuthRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
要求するもの(引数)
String
得られるもの(戻り値)
boolean

JWTトークンの検証

validateJwtToken(String):boolean
graph LR
c_e_s_s_s_a_AuthApiService_validateJwtToken_j_l_String_(["JWTトークンの検証"])
style c_e_s_s_s_a_AuthApiService_validateJwtToken_j_l_String_ font-weight:bold
c_e_s_s_s_a_AuthApiService_validateJwtToken_j_l_String_ --> com_example_sms_service_system_auth_AuthRepository
com_example_sms_service_system_auth_AuthRepository[AuthRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
要求するもの(引数)
String
得られるもの(戻り値)
boolean

認証サービス

com.example.sms.service.system.auth.AuthService

ユーザー認証

loadUserByUsername(String):UserDetails
graph LR
c_e_s_s_s_a_AuthService_loadUserByUsername_j_l_String_(["ユーザー認証"])
style c_e_s_s_s_a_AuthService_loadUserByUsername_j_l_String_ font-weight:bold
c_e_s_s_s_a_AuthService_loadUserByUsername_j_l_String_ --> com_example_sms_service_system_auth_AuthRepository
com_example_sms_service_system_auth_AuthRepository[AuthRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
要求するもの(引数)
String
得られるもの(戻り値)
UserDetails

ユーザー管理サービス

com.example.sms.service.system.user.UserManagementService

ユーザー削除

delete(UserId):void
graph LR
c_e_s_s_s_u_UserManagementService_delete_c_e_s_d_m_s_u_UserId_(["ユーザー削除"])
style c_e_s_s_s_u_UserManagementService_delete_c_e_s_d_m_s_u_UserId_ font-weight:bold
c_e_s_s_s_u_UserManagementService_delete_c_e_s_d_m_s_u_UserId_ --> com_example_sms_service_system_user_UserRepository
com_example_sms_service_system_user_UserRepository[UserRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
要求するもの(引数)
ユーザーID

ユーザー検索

find(UserId):User
graph LR
c_e_s_s_s_u_UserManagementService_find_c_e_s_d_m_s_u_UserId_(["ユーザー検索"])
style c_e_s_s_s_u_UserManagementService_find_c_e_s_d_m_s_u_UserId_ font-weight:bold
c_e_s_s_s_u_UserManagementService_find_c_e_s_d_m_s_u_UserId_ --> com_example_sms_service_system_user_UserRepository
com_example_sms_service_system_user_UserRepository[UserRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
要求するもの(引数)
ユーザーID
得られるもの(戻り値)
ユーザー

ユーザー新規登録

register(User):void
graph LR
c_e_s_s_s_u_UserManagementService_register_c_e_s_d_m_s_u_User_(["ユーザー新規登録"])
style c_e_s_s_s_u_UserManagementService_register_c_e_s_d_m_s_u_User_ font-weight:bold
c_e_s_s_s_u_UserManagementService_register_c_e_s_d_m_s_u_User_ --> com_example_sms_service_system_user_UserRepository
com_example_sms_service_system_user_UserRepository[UserRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
要求するもの(引数)
ユーザー

ユーザー情報編集

save(User):void
graph LR
c_e_s_s_s_u_UserManagementService_save_c_e_s_d_m_s_u_User_(["ユーザー情報編集"])
style c_e_s_s_s_u_UserManagementService_save_c_e_s_d_m_s_u_User_ font-weight:bold
c_e_s_s_s_u_UserManagementService_save_c_e_s_d_m_s_u_User_ --> com_example_sms_service_system_user_UserRepository
com_example_sms_service_system_user_UserRepository[UserRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
要求するもの(引数)
ユーザー

ユーザー一覧

selectAll():UserList
graph LR
c_e_s_s_s_u_UserManagementService_selectAll__(["ユーザー一覧"])
style c_e_s_s_s_u_UserManagementService_selectAll__ font-weight:bold
c_e_s_s_s_u_UserManagementService_selectAll__ --> com_example_sms_service_system_user_UserRepository
com_example_sms_service_system_user_UserRepository[UserRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
得られるもの(戻り値)
ユーザー一覧

ユーザー一覧(ページング)

selectAllWithPageInfo():PageInfo<User>
graph LR
c_e_s_s_s_u_UserManagementService_selectAllWithPageInfo__(["ユーザー一覧(ページング)"])
style c_e_s_s_s_u_UserManagementService_selectAllWithPageInfo__ font-weight:bold
c_e_s_s_s_u_UserManagementService_selectAllWithPageInfo__ --> com_example_sms_service_system_user_UserRepository
com_example_sms_service_system_user_UserRepository[UserRepository]:::others
classDef others fill:#AAA,font-size:90%;
classDef lambda fill:#999,font-size:80%;
得られるもの(戻り値)
PageInfo<ユーザー>