Package com.flowable.idm.engine.impl
Class UserAccountDefinitionRegistrationBuilderImpl
java.lang.Object
com.flowable.idm.engine.impl.UserAccountDefinitionRegistrationBuilderImpl
- All Implemented Interfaces:
UserAccountDefinitionRegistrationBuilder
public class UserAccountDefinitionRegistrationBuilderImpl
extends Object
implements UserAccountDefinitionRegistrationBuilder
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.fasterxml.jackson.databind.ObjectMapper
protected String
protected final List<UserAccountDefinitionRegistrationObject>
protected final UserAccountDefinitionServiceImpl
-
Constructor Summary
ConstructorDescriptionUserAccountDefinitionRegistrationBuilderImpl
(UserAccountDefinitionServiceImpl userAccountDefinitionService, CommandContext commandContext) -
Method Summary
Modifier and TypeMethodDescriptionaddInputStream
(String resourceName, InputStream inputStream) Register the static conversation definitions defined in theinputStream
with aresourceName
void
addModelObject
(com.fasterxml.jackson.databind.JsonNode modelNode) addUserAccountDefinitionModel
(UserAccountDefinitionModel userAccountDefinitionModel) Register the static user account definitionregister()
Perform the registration of all registered definitions within the resourcesRegister the user account definitions with the giventenantId
-
Field Details
-
userAccountDefinitionService
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper -
userAccountDefinitionModels
-
tenantId
-
-
Constructor Details
-
UserAccountDefinitionRegistrationBuilderImpl
public UserAccountDefinitionRegistrationBuilderImpl(UserAccountDefinitionServiceImpl userAccountDefinitionService, CommandContext commandContext)
-
-
Method Details
-
addInputStream
public UserAccountDefinitionRegistrationBuilder addInputStream(String resourceName, InputStream inputStream) Description copied from interface:UserAccountDefinitionRegistrationBuilder
Register the static conversation definitions defined in theinputStream
with aresourceName
- Specified by:
addInputStream
in interfaceUserAccountDefinitionRegistrationBuilder
- Parameters:
resourceName
- the name of the resourceinputStream
- the stream containing the conversation definition schema- Returns:
- the builder for chaining
-
addUserAccountDefinitionModel
public UserAccountDefinitionRegistrationBuilder addUserAccountDefinitionModel(UserAccountDefinitionModel userAccountDefinitionModel) Description copied from interface:UserAccountDefinitionRegistrationBuilder
Register the static user account definition- Specified by:
addUserAccountDefinitionModel
in interfaceUserAccountDefinitionRegistrationBuilder
- Parameters:
userAccountDefinitionModel
- the user account definition model- Returns:
- the builder for chainingO
-
tenantId
Description copied from interface:UserAccountDefinitionRegistrationBuilder
Register the user account definitions with the giventenantId
- Specified by:
tenantId
in interfaceUserAccountDefinitionRegistrationBuilder
- Parameters:
tenantId
- the tenant id for the definitions
-
addModelObject
- Throws:
IOException
-
register
Description copied from interface:UserAccountDefinitionRegistrationBuilder
Perform the registration of all registered definitions within the resources- Specified by:
register
in interfaceUserAccountDefinitionRegistrationBuilder
- Returns:
- the list of all registered
UserAccountDefinition
(s)
-
getUserAccountDefinitionModels
-
getTenantId
-