Package com.flowable.core.idm.api
Interface UserAccountService
- All Known Implementing Classes:
UserAccountServiceImpl
public interface UserAccountService
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptioncreateUpdateUserAccountBuilder
(String accountId) void
deleteUserAccount
(String accountId) Delete the user account with the given id.findByIds
(Collection<String> userAccountIds) default void
Set the state of this user account.void
setStateAndSubState
(String accountId, String state, String subState) Update the state and sub state of the user account.default void
setSubState
(String accountId, String subState) Set the sub state of this user account.void
Update the type and sub type of the user account
-
Method Details
-
createNewUserAccountBuilder
UserAccountBuilder createNewUserAccountBuilder() -
createUpdateUserAccountBuilder
-
createUserAccountQuery
UserAccountQuery createUserAccountQuery() -
findById
-
findByIds
-
setStateAndSubState
Update the state and sub state of the user account. If the value for the state isnull
then the state of the user account won't be changed. If the value for the subState isnull
then the subState of the user account won't be changed. At least one of state and / or subState must be set- Parameters:
accountId
- the id of the account that should have it's state updatedstate
- the optional new state of the account, ifnull
it won't be changedsubState
- the optional new sub state of the account, ifnull
if won't be changed
-
setState
Set the state of this user account. By default this method delegates tosetStateAndSubState(String, String, String)
with subStatenull
- Parameters:
accountId
- the id of the account to change its statestate
- the new state to be set on this user object- See Also:
-
setSubState
Set the sub state of this user account. The sub state might be used to more specifically describe the current state of the user account. By default this method delegates tosetStateAndSubState(String, String, String)
with statenull
- Parameters:
accountId
- the id of the account to change its substatesubState
- the new sub state to be set on this user object- See Also:
-
setType
Update the type and sub type of the user account- Parameters:
accountId
- the of the account that should have it's type updatedtype
- the new type of the accountsubType
- the new sub type of the account
-
deleteUserAccount
Delete the user account with the given id.- Parameters:
accountId
- the id of the account
-