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 SummaryModifier and Type Method Description UserDefinitionRegistrationBuilderaddInputStream(java.lang.String resourceName, java.io.InputStream inputStream)Register the static user definitions defined in theinputStreamwith aresourceNameUserDefinitionRegistrationBuilderaddUserDefinitionModel(UserDefinitionModel userDefinitionModel)Register the static user definitionjava.util.List<UserDefinition>register()Perform the registration of all registered definitions within the resourcesUserDefinitionRegistrationBuildertenantId(java.lang.String tenantId)Register the user definitions with the giventenantId
- 
Method Details- 
addInputStreamUserDefinitionRegistrationBuilder addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)Register the static user definitions defined in theinputStreamwith aresourceName- Parameters:
- resourceName- the name of the resource
- inputStream- the stream containing the user definition model
- Returns:
- the builder for chaining
 
- 
addUserDefinitionModelRegister the static user definition- Parameters:
- userDefinitionModel- the user definition model
- Returns:
- the builder for chaining
 
- 
tenantIdRegister the user definitions with the giventenantId- Parameters:
- tenantId- the tenant id for the definitions
 
- 
registerjava.util.List<UserDefinition> register()Perform the registration of all registered definitions within the resources- Returns:
- the list of all registered UserDefinition(s)
 
 
-