Class DefaultProjectRecordsUpdateParameters.Builder
- java.lang.Object
-
- de.xima.fc.project.impl.update.bulk.DefaultProjectRecordsUpdateParameters.Builder
-
- Enclosing class:
- DefaultProjectRecordsUpdateParameters
public static class DefaultProjectRecordsUpdateParameters.Builder extends Object
Builder forDefaultProjectRecordsUpdateParameters.
-
-
Method Summary
-
-
-
Method Detail
-
updateSubjects
public DefaultProjectRecordsUpdateParameters.Builder updateSubjects(boolean updateSubjects)
Sets whether the subjects should be updated.- Parameters:
updateSubjects-trueif the subjects should be updated,falseotherwise- Returns:
- this builder
-
updateDetails
public DefaultProjectRecordsUpdateParameters.Builder updateDetails(boolean updateDetails)
Sets whether the details should be updated.- Parameters:
updateDetails-trueif the details should be updated,falseotherwise- Returns:
- this builder
-
updateDataTable
public DefaultProjectRecordsUpdateParameters.Builder updateDataTable(boolean updateDataTable)
Sets whether the data table should be updated.- Parameters:
updateDataTable-trueif the data table should be updated,falseotherwise- Returns:
- this builder
-
updateViewTable
public DefaultProjectRecordsUpdateParameters.Builder updateViewTable(boolean 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
public IProjectRecordsParameters build()
Builds a newDefaultProjectRecordsUpdateParametersinstance.- Returns:
- a new
DefaultProjectRecordsUpdateParametersinstance
-
-