Class DefaultProjectRecordsUpdateParameters.Builder
java.lang.Object
de.xima.fc.project.impl.update.bulk.DefaultProjectRecordsUpdateParameters.Builder
- Enclosing class:
DefaultProjectRecordsUpdateParameters
Builder for
DefaultProjectRecordsUpdateParameters.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newDefaultProjectRecordsUpdateParametersinstance.detailsUpdateFunction(BiConsumer<Vorgang, IFormDataAdapter> detailsUpdateFunction) Sets the function to update the details.subjectUpdateFunction(BiConsumer<Vorgang, IFormDataAdapter> subjectUpdateFunction) Sets the function to update the subjects.updateDataTable(boolean updateDataTable) Sets whether the data table should be updated.updateDetails(boolean updateDetails) Sets whether the details should be updated.updateSubjects(boolean updateSubjects) Sets whether the subjects should be updated.updateViewTable(boolean updateViewTable) Sets whether the view table should be updated.
-
Method Details
-
updateSubjects
Sets whether the subjects should be updated.- Parameters:
updateSubjects-trueif the subjects should be updated,falseotherwise- Returns:
- this builder
-
updateDetails
Sets whether the details should be updated.- Parameters:
updateDetails-trueif the details should be updated,falseotherwise- Returns:
- this builder
-
updateDataTable
Sets whether the data table should be updated.- Parameters:
updateDataTable-trueif the data table should be updated,falseotherwise- Returns:
- this builder
-
updateViewTable
Sets whether the view table should be updated.- Parameters:
updateViewTable-trueif the view table should be updated,falseotherwise- Returns:
- this builder
-
subjectUpdateFunction
public DefaultProjectRecordsUpdateParameters.Builder subjectUpdateFunction(BiConsumer<Vorgang, IFormDataAdapter> subjectUpdateFunction) Sets the function to update the subjects. If not specified, a default function is used.- Parameters:
subjectUpdateFunction- the function to update the subjects- Returns:
- this builder
-
detailsUpdateFunction
public DefaultProjectRecordsUpdateParameters.Builder detailsUpdateFunction(BiConsumer<Vorgang, IFormDataAdapter> detailsUpdateFunction) Sets the function to update the details. If not specified, a default function is used.- Parameters:
detailsUpdateFunction- the function to update the details- Returns:
- this builder
-
build
Builds a newDefaultProjectRecordsUpdateParametersinstance.- Returns:
- a new
DefaultProjectRecordsUpdateParametersinstance
-