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 classDefaultProjectRecordsUpdateParameters.BuilderBuilder forDefaultProjectRecordsUpdateParameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultProjectRecordsUpdateParameters.Builderbuilder(Projekt project)Creates a new builder forDefaultProjectRecordsUpdateParameters.BiConsumer<Vorgang,IFormDataAdapter>detailsUpdateFunction()Returns a function to update the details.ProjektgetProject()Returns the project for which the bulk update operation is to be performed.booleanshouldUpdateDataTable()Returns whether the data table should be updated.booleanshouldUpdateDetails()Returns whether the details should be updated.booleanshouldUpdateSubjects()Returns whether the subjects should be updated.booleanshouldUpdateViewTable()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:IProjectRecordsParametersReturns the project for which the bulk update operation is to be performed.- Specified by:
getProjectin interfaceIProjectRecordsParameters- Returns:
- the project for which the bulk update operation is to be performed
-
shouldUpdateSubjects
public boolean shouldUpdateSubjects()
Description copied from interface:IProjectRecordsParametersReturns whether the subjects should be updated.- Specified by:
shouldUpdateSubjectsin interfaceIProjectRecordsParameters- Returns:
trueif the subjects should be updated,falseotherwise
-
shouldUpdateDetails
public boolean shouldUpdateDetails()
Description copied from interface:IProjectRecordsParametersReturns whether the details should be updated.- Specified by:
shouldUpdateDetailsin interfaceIProjectRecordsParameters- Returns:
trueif the details should be updated,falseotherwise
-
shouldUpdateDataTable
public boolean shouldUpdateDataTable()
Description copied from interface:IProjectRecordsParametersReturns whether the data table should be updated.- Specified by:
shouldUpdateDataTablein interfaceIProjectRecordsParameters- Returns:
trueif the data table should be updated,falseotherwise
-
shouldUpdateViewTable
public boolean shouldUpdateViewTable()
Description copied from interface:IProjectRecordsParametersReturns whether the view table should be updated.- Specified by:
shouldUpdateViewTablein interfaceIProjectRecordsParameters- Returns:
trueif the view table should be updated,falseotherwise
-
subjectUpdateFunction
public BiConsumer<Vorgang,IFormDataAdapter> subjectUpdateFunction()
Description copied from interface:IProjectRecordsParametersReturns a function to update the subjects.- Specified by:
subjectUpdateFunctionin interfaceIProjectRecordsParameters- Returns:
- a function to update the subjects
-
detailsUpdateFunction
public BiConsumer<Vorgang,IFormDataAdapter> detailsUpdateFunction()
Description copied from interface:IProjectRecordsParametersReturns a function to update the details.- Specified by:
detailsUpdateFunctionin 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
-
-