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 UserAccountBuilder
createNewUserAccountBuilder()
UserAccountBuilder
createUpdateUserAccountBuilder(java.lang.String accountId)
UserAccountQuery
createUserAccountQuery()
void
deleteUserAccount(java.lang.String accountId)
Delete the user account with the given id.UserAccount
findById(java.lang.String userAccountId)
void
setStateAndSubState(java.lang.String accountId, java.lang.String state, java.lang.String subState)
Update the state and sub state of the user account.void
setType(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, setCommandExecutor
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
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
-
setStateAndSubState
public void setStateAndSubState(java.lang.String accountId, java.lang.String state, java.lang.String subState)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
public void setType(java.lang.String accountId, java.lang.String type, java.lang.String subType)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
public void deleteUserAccount(java.lang.String accountId)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
-