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
-true
if the subjects should be updated,false
otherwise- Returns:
- this builder
-
updateDetails
public DefaultProjectRecordsUpdateParameters.Builder updateDetails(boolean updateDetails)
Sets whether the details should be updated.- Parameters:
updateDetails
-true
if the details should be updated,false
otherwise- Returns:
- this builder
-
updateDataTable
public DefaultProjectRecordsUpdateParameters.Builder updateDataTable(boolean updateDataTable)
Sets whether the data table should be updated.- Parameters:
updateDataTable
-true
if the data table should be updated,false
otherwise- Returns:
- this builder
-
updateViewTable
public DefaultProjectRecordsUpdateParameters.Builder updateViewTable(boolean updateViewTable)
Sets whether the view table should be updated.- Parameters:
updateViewTable
-true
if the view table should be updated,false
otherwise- 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 newDefaultProjectRecordsUpdateParameters
instance.- Returns:
- a new
DefaultProjectRecordsUpdateParameters
instance
-
-