stable

Clone or download

Read-only

Refactoring: introduce interface on top of FromWhere

Part of story #10678 define a query for title and description semantics No functional changes. This commit introduces an interface on top of FromWhere, AndFromWhere, and OrFromWhere. Change-Id: Iae953beb39790c40965b0d7a582fa63f0477d972

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/CrossTrackerExpertQueryReportDao.php +3 −3 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/ComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/FromWhereBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/REST/v1/ReportArtifactFactory.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenComparison/ForFloat.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenComparison/ForInteger.php +1 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/DateTimeFieldFromWhereBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/DateTimeReadOnlyFieldFromWhereBuilder.php +2 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/EqualComparison/ForFloat.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/EqualComparison/ForInteger.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/EqualComparison/ForListBindStatic.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/EqualComparison/ForListBindUgroups.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/EqualComparison/ForListBindUsers.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/FromWhereComparisonFieldBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/FromWhereComparisonFieldReadOnlyBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/FromWhereComparisonListFieldBindUgroupsBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/FromWhereComparisonListFieldBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/FromWhereEmptyComparisonListFieldBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/FromWhereEmptyNotEqualComparisonFieldBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/FromWhereNotEqualComparisonListFieldBindUgroupsBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/FromWhereNotEqualComparisonListFieldBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/GreaterThanComparison/ForFloat.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/GreaterThanComparison/ForInteger.php +1 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/GreaterThanOrEqualComparison/ForFloat.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/GreaterThanOrEqualComparison/ForInteger.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/InComparison/ForListBindUGroups.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanComparison/ForFloat.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanComparison/ForInteger.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanOrEqualComparison/ForFloat.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanOrEqualComparison/ForInteger.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/ListReadOnlyFieldFromWhereBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataComparisonFromWhereBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataEqualComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataNotEqualComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotEqualComparison/ForFloat.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotEqualComparison/ForInteger.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotEqualComparison/ForListBindStatic.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotEqualComparison/ForListBindUgroups.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotEqualComparison/ForListBindUsers.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotEqualComparison/ForText.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotInComparison/ForListBindUGroups.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/AndFromWhere.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/FromWhere.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/IProvideFromAndWhereSQLFragments.php +34 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/OrFromWhere.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +3 −4 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file