Package com.flowable.idm.engine.impl
Class UserAccountServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<CoreIdmEngineConfiguration>
com.flowable.idm.engine.impl.UserAccountServiceImpl
- All Implemented Interfaces:
UserAccountService
public class UserAccountServiceImpl
extends CommonEngineServiceImpl<CoreIdmEngineConfiguration>
implements UserAccountService
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateUpdateUserAccountBuilder
(String accountId) void
deleteUserAccount
(String accountId) Delete the user account with the given id.findByIds
(Collection<String> userAccountIds) void
setStateAndSubState
(String accountId, String state, String subState) Update the state and sub state of the user account.void
Update the type and sub type of the user accountMethods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.core.idm.api.UserAccountService
setState, setSubState
-
Constructor Details
-
UserAccountServiceImpl
-
-
Method Details
-
createNewUserAccountBuilder
- Specified by:
createNewUserAccountBuilder
in interfaceUserAccountService
-
createUpdateUserAccountBuilder
- Specified by:
createUpdateUserAccountBuilder
in interfaceUserAccountService
-
createUserAccountQuery
- Specified by:
createUserAccountQuery
in interfaceUserAccountService
-
findById
- Specified by:
findById
in interfaceUserAccountService
-
findByIds
- Specified by:
findByIds
in interfaceUserAccountService
-
setStateAndSubState
Description copied from interface:UserAccountService
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- Specified by:
setStateAndSubState
in interfaceUserAccountService
- 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
-
setType
Description copied from interface:UserAccountService
Update the type and sub type of the user account- Specified by:
setType
in interfaceUserAccountService
- 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
Description copied from interface:UserAccountService
Delete the user account with the given id.- Specified by:
deleteUserAccount
in interfaceUserAccountService
- Parameters:
accountId
- the id of the account
-