Package com.flowable.core.idm.api
Interface UserDefinitionRegistrationBuilder
-
- All Known Implementing Classes:
UserDefinitionRegistrationBuilderImpl
public interface UserDefinitionRegistrationBuilder
Builder for bulk registration of User Definitions.- Author:
- Tijs Rademakers, Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserDefinitionRegistrationBuilder
addInputStream(String resourceName, InputStream inputStream)
Register the static user definitions defined in theinputStream
with aresourceName
UserDefinitionRegistrationBuilder
addUserDefinitionModel(UserDefinitionModel userDefinitionModel)
Register the static user definitionList<UserDefinition>
register()
Perform the registration of all registered definitions within the resourcesUserDefinitionRegistrationBuilder
tenantId(String tenantId)
Register the user definitions with the giventenantId
-
-
-
Method Detail
-
addInputStream
UserDefinitionRegistrationBuilder addInputStream(String resourceName, InputStream inputStream)
Register the static user definitions defined in theinputStream
with aresourceName
- Parameters:
resourceName
- the name of the resourceinputStream
- the stream containing the user definition model- Returns:
- the builder for chaining
-
addUserDefinitionModel
UserDefinitionRegistrationBuilder addUserDefinitionModel(UserDefinitionModel userDefinitionModel)
Register the static user definition- Parameters:
userDefinitionModel
- the user definition model- Returns:
- the builder for chaining
-
tenantId
UserDefinitionRegistrationBuilder tenantId(String tenantId)
Register the user definitions with the giventenantId
- Parameters:
tenantId
- the tenant id for the definitions
-
register
List<UserDefinition> register()
Perform the registration of all registered definitions within the resources- Returns:
- the list of all registered
UserDefinition
(s)
-
-