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 org.flowable.common.engine.impl.service.CommonEngineServiceImpl<CoreIdmEngineConfiguration> implements UserAccountService
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
Constructors Constructor Description UserAccountServiceImpl(CoreIdmEngineConfiguration configuration) -
Method Summary
Modifier and Type Method Description UserAccountBuildercreateNewUserAccountBuilder()UserAccountBuildercreateUpdateUserAccountBuilder(java.lang.String accountId)UserAccountQuerycreateUserAccountQuery()voiddeleteUserAccount(java.lang.String accountId)Delete the user account with the given id.UserAccountfindById(java.lang.String userAccountId)voidsetStateAndSubState(java.lang.String accountId, java.lang.String state, java.lang.String subState)Update the state and sub state of the user account.voidsetType(java.lang.String accountId, java.lang.String type, java.lang.String subType)Update the type and sub type of the user accountMethods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
Method Details
-
createNewUserAccountBuilder
- Specified by:
createNewUserAccountBuilderin interfaceUserAccountService
-
createUpdateUserAccountBuilder
- Specified by:
createUpdateUserAccountBuilderin interfaceUserAccountService
-
createUserAccountQuery
- Specified by:
createUserAccountQueryin interfaceUserAccountService
-
findById
- Specified by:
findByIdin interfaceUserAccountService
-
setStateAndSubState
public void setStateAndSubState(java.lang.String accountId, java.lang.String state, java.lang.String subState)Description copied from interface:UserAccountServiceUpdate the state and sub state of the user account. If the value for the state isnullthen the state of the user account won't be changed. If the value for the subState isnullthen the subState of the user account won't be changed. At least one of state and / or subState must be set- Specified by:
setStateAndSubStatein interfaceUserAccountService- Parameters:
accountId- the id of the account that should have it's state updatedstate- the optional new state of the account, ifnullit won't be changedsubState- the optional new sub state of the account, ifnullif won't be changed
-
setType
public void setType(java.lang.String accountId, java.lang.String type, java.lang.String subType)Description copied from interface:UserAccountServiceUpdate the type and sub type of the user account- Specified by:
setTypein 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
public void deleteUserAccount(java.lang.String accountId)Description copied from interface:UserAccountServiceDelete the user account with the given id.- Specified by:
deleteUserAccountin interfaceUserAccountService- Parameters:
accountId- the id of the account
-