Class AccountClientImpl
java.lang.Object
co.yellowdog.platform.clients.account.AccountClientImpl
- All Implemented Interfaces:
AccountClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddApplication
(AddApplicationRequest request) void
addApplicationToGroup
(String groupId, String applicationId) addGroup
(AddGroupRequest request) void
addRoleToGroup
(String groupId, String roleId) void
addUserToGroup
(String groupId, String userId) static AccountClientImpl
create
(@NonNull ServicesSchema servicesSchema, @NonNull RetryFactory retryFactory, @NonNull AuthenticationHeadersProvider authenticationHeadersProvider, @NonNull com.fasterxml.jackson.databind.ObjectMapper objectMapper, @NonNull UserAgent userAgent) void
deleteApplication
(String applicationId) void
deleteGroup
(String groupId) getApplication
(String applicationId) getApplicationGroups
(String applicationId) getApplications
(ApplicationSearch search) getGroupApplications
(String groupId) getGroups
(GroupSearch search) getGroupUsers
(String groupId) getRoleGroups
(String roleId) getRoles
(RoleSearch search) getUserGroups
(String userId) getUsers
(UserSearch search) regenerateApplicationApiKey
(String applicationId) void
removeApplicationFromGroup
(String groupId, String applicationId) void
removeRoleFromGroup
(String groupId, String roleId) void
removeUserFromGroup
(String groupId, String userId) updateApplication
(String applicationId, UpdateApplicationRequest request) updateGroup
(String groupId, UpdateGroupRequest request)
-
Constructor Details
-
AccountClientImpl
-
-
Method Details
-
create
public static AccountClientImpl create(@NonNull @NonNull ServicesSchema servicesSchema, @NonNull @NonNull RetryFactory retryFactory, @NonNull @NonNull AuthenticationHeadersProvider authenticationHeadersProvider, @NonNull @NonNull com.fasterxml.jackson.databind.ObjectMapper objectMapper, @NonNull @NonNull UserAgent userAgent) -
getUser
- Specified by:
getUser
in interfaceAccountClient
-
getUsers
- Specified by:
getUsers
in interfaceAccountClient
-
getUserGroups
- Specified by:
getUserGroups
in interfaceAccountClient
-
getApplication
- Specified by:
getApplication
in interfaceAccountClient
-
updateApplication
- Specified by:
updateApplication
in interfaceAccountClient
-
addApplication
- Specified by:
addApplication
in interfaceAccountClient
-
regenerateApplicationApiKey
- Specified by:
regenerateApplicationApiKey
in interfaceAccountClient
-
getApplications
- Specified by:
getApplications
in interfaceAccountClient
-
getApplicationGroups
- Specified by:
getApplicationGroups
in interfaceAccountClient
-
deleteApplication
- Specified by:
deleteApplication
in interfaceAccountClient
-
listPermissions
- Specified by:
listPermissions
in interfaceAccountClient
-
getRole
- Specified by:
getRole
in interfaceAccountClient
-
getRoles
- Specified by:
getRoles
in interfaceAccountClient
-
getRoleGroups
- Specified by:
getRoleGroups
in interfaceAccountClient
-
getGroup
- Specified by:
getGroup
in interfaceAccountClient
-
addGroup
- Specified by:
addGroup
in interfaceAccountClient
-
updateGroup
- Specified by:
updateGroup
in interfaceAccountClient
-
getGroupUsers
- Specified by:
getGroupUsers
in interfaceAccountClient
-
getGroupApplications
- Specified by:
getGroupApplications
in interfaceAccountClient
-
getGroups
- Specified by:
getGroups
in interfaceAccountClient
-
addUserToGroup
- Specified by:
addUserToGroup
in interfaceAccountClient
-
addApplicationToGroup
- Specified by:
addApplicationToGroup
in interfaceAccountClient
-
addRoleToGroup
- Specified by:
addRoleToGroup
in interfaceAccountClient
-
removeUserFromGroup
- Specified by:
removeUserFromGroup
in interfaceAccountClient
-
removeApplicationFromGroup
- Specified by:
removeApplicationFromGroup
in interfaceAccountClient
-
removeRoleFromGroup
- Specified by:
removeRoleFromGroup
in interfaceAccountClient
-
deleteGroup
- Specified by:
deleteGroup
in interfaceAccountClient
-