Class DefaultProjectRecordsUpdateParameters
- java.lang.Object
-
- de.xima.fc.project.impl.update.bulk.DefaultProjectRecordsUpdateParameters
-
- All Implemented Interfaces:
IProjectRecordsParameters
public class DefaultProjectRecordsUpdateParameters extends Object implements IProjectRecordsParameters
Default implementation ofIProjectRecordsParameters
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultProjectRecordsUpdateParameters.Builder
Builder forDefaultProjectRecordsUpdateParameters
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultProjectRecordsUpdateParameters.Builder
builder(Projekt project)
Creates a new builder forDefaultProjectRecordsUpdateParameters
.BiConsumer<Vorgang,IFormDataAdapter>
detailsUpdateFunction()
Returns a function to update the details.Projekt
getProject()
Returns the project for which the bulk update operation is to be performed.boolean
shouldUpdateDataTable()
Returns whether the data table should be updated.boolean
shouldUpdateDetails()
Returns whether the details should be updated.boolean
shouldUpdateSubjects()
Returns whether the subjects should be updated.boolean
shouldUpdateViewTable()
Returns whether the view table should be updated.BiConsumer<Vorgang,IFormDataAdapter>
subjectUpdateFunction()
Returns a function to update the subjects.
-
-
-
Method Detail
-
getProject
public Projekt getProject()
Description copied from interface:IProjectRecordsParameters
Returns the project for which the bulk update operation is to be performed.- Specified by:
getProject
in interfaceIProjectRecordsParameters
- Returns:
- the project for which the bulk update operation is to be performed
-
shouldUpdateSubjects
public boolean shouldUpdateSubjects()
Description copied from interface:IProjectRecordsParameters
Returns whether the subjects should be updated.- Specified by:
shouldUpdateSubjects
in interfaceIProjectRecordsParameters
- Returns:
true
if the subjects should be updated,false
otherwise
-
shouldUpdateDetails
public boolean shouldUpdateDetails()
Description copied from interface:IProjectRecordsParameters
Returns whether the details should be updated.- Specified by:
shouldUpdateDetails
in interfaceIProjectRecordsParameters
- Returns:
true
if the details should be updated,false
otherwise
-
shouldUpdateDataTable
public boolean shouldUpdateDataTable()
Description copied from interface:IProjectRecordsParameters
Returns whether the data table should be updated.- Specified by:
shouldUpdateDataTable
in interfaceIProjectRecordsParameters
- Returns:
true
if the data table should be updated,false
otherwise
-
shouldUpdateViewTable
public boolean shouldUpdateViewTable()
Description copied from interface:IProjectRecordsParameters
Returns whether the view table should be updated.- Specified by:
shouldUpdateViewTable
in interfaceIProjectRecordsParameters
- Returns:
true
if the view table should be updated,false
otherwise
-
subjectUpdateFunction
public BiConsumer<Vorgang,IFormDataAdapter> subjectUpdateFunction()
Description copied from interface:IProjectRecordsParameters
Returns a function to update the subjects.- Specified by:
subjectUpdateFunction
in interfaceIProjectRecordsParameters
- Returns:
- a function to update the subjects
-
detailsUpdateFunction
public BiConsumer<Vorgang,IFormDataAdapter> detailsUpdateFunction()
Description copied from interface:IProjectRecordsParameters
Returns a function to update the details.- Specified by:
detailsUpdateFunction
in interfaceIProjectRecordsParameters
- Returns:
- a function to update the details
-
builder
public static DefaultProjectRecordsUpdateParameters.Builder builder(Projekt project)
Creates a new builder forDefaultProjectRecordsUpdateParameters
.- Parameters:
project
- the project for which the bulk update operation is to be performed- Returns:
- a new builder for
DefaultProjectRecordsUpdateParameters
-
-