Package org.cswteams.ms3.control.vincoli
Class ConstraintController
java.lang.Object
org.cswteams.ms3.control.vincoli.ConstraintController
- All Implemented Interfaces:
IConstraintController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method retrieves the constraints configuration.This method retrieves all the constraints saved into the database.updateConstraints(ConfigConstraintDTO constraintDTO) This method updates the constraints saved into the database according to the configuration passed as parameter.
-
Constructor Details
-
ConstraintController
public ConstraintController()
-
-
Method Details
-
readConstraints
This method retrieves all the constraints saved into the database.- Specified by:
readConstraintsin interfaceIConstraintController- Returns:
- List of constraints
-
updateConstraints
This method updates the constraints saved into the database according to the configuration passed as parameter.- Specified by:
updateConstraintsin interfaceIConstraintController- Parameters:
constraintDTO- Constraints configurations determining how the constraints have to be updated- Returns:
- Updated ConfigVincoli instance
-
readConfigConstraints
This method retrieves the constraints configuration.- Specified by:
readConfigConstraintsin interfaceIConstraintController- Returns:
- ConfigVincoli instance
-