|
2 | 2 |
|
3 | 3 | namespace App\DataTransferObject; |
4 | 4 |
|
| 5 | +use App\DataTransferObject\Scoreboard\Problem; |
| 6 | +use App\Entity\Language; |
| 7 | +use App\Entity\Team; |
| 8 | +use App\Entity\TeamAffiliation; |
| 9 | +use App\Entity\TeamCategory; |
| 10 | + |
5 | 11 | class SubmissionRestriction |
6 | 12 | { |
7 | 13 | /** |
8 | | - * @param int|null $rejudgingId ID of a rejudging to filter on |
9 | | - * @param bool|null $verified If true, only return verified submissions |
10 | | - * If false, only return unverified or unjudged submissions |
11 | | - * @param bool|null $judged If true, only return judged submissions |
12 | | - * If false, only return unjudged submissions |
13 | | - * @param bool|null $judging If true, only return submissions currently being judged |
14 | | - * If false, only return submssions which are already judged or still |
15 | | - * need to be judged |
16 | | - * @param bool|null $rejudgingDifference If true, only return judgings that differ from their |
17 | | - * original result in final verdict. Vice versa if false |
18 | | - * @param int|null $teamId ID of a team to filter on |
19 | | - * @param list<int>|null $teamIds ID's of teams to filter on |
20 | | - * @param int|null $categoryId ID of a category to filter on |
21 | | - * @param list<int>|null $categoryIds ID's of categories to filter on |
22 | | - * @param int|null $affiliationId ID of an affiliation to filter on |
23 | | - * @param list<int>|null $affiliationIds ID's of affiliations to filter on |
24 | | - * @param int|null $problemId ID of a problem to filter on |
25 | | - * @param list<int>|null $problemIds ID's of problems to filter on |
26 | | - * @param int|null $languageId ID of a language to filter on |
27 | | - * @param list<int>|null $languageIds ID's of languages to filter on |
28 | | - * @param string|null $judgehost Hostname of a judgehost to filter on |
29 | | - * @param string|null $oldResult Result of old judging to filter on |
30 | | - * @param string|null $result Result of current judging to filter on |
31 | | - * @param list<string>|null $results Results of current judging to filter on |
32 | | - * @param int|null $userId Filter on specific user |
33 | | - * @param bool|null $visible If true, only return submissions from visible teams |
34 | | - * @param bool|null $externalDifference If true, only return results with a difference with an |
35 | | - * external system |
36 | | - * If false, only return results without a difference with an |
37 | | - * external system |
38 | | - * @param string|null $externalResult Result in the external system |
39 | | - * @param bool|null $externallyJudged If true, only return externally judged submissions |
40 | | - * If false, only return externally unjudged submissions |
41 | | - * @param bool|null $externallyVerified If true, only return verified submissions |
42 | | - * If false, only return unverified or unjudged submissions |
43 | | - * @param bool|null $withExternalId If true, only return submissions with an external ID. |
| 14 | + * @param int|null $rejudgingId ID of a rejudging to filter on |
| 15 | + * @param bool|null $verified If true, only return verified submissions |
| 16 | + * If false, only return unverified or unjudged submissions |
| 17 | + * @param bool|null $judged If true, only return judged submissions |
| 18 | + * If false, only return unjudged submissions |
| 19 | + * @param bool|null $judging If true, only return submissions currently being judged |
| 20 | + * If false, only return submssions which are already judged or still |
| 21 | + * need to be judged |
| 22 | + * @param bool|null $rejudgingDifference If true, only return judgings that differ from their |
| 23 | + * original result in final verdict. Vice versa if false |
| 24 | + * @param int|null $teamId ID of a team to filter on |
| 25 | + * @param list<int>|list<Team>|null $teamIds ID's of teams to filter on |
| 26 | + * @param int|null $categoryId ID of a category to filter on |
| 27 | + * @param list<int>|list<TeamCategory>|null $categoryIds ID's of categories to filter on |
| 28 | + * @param int|null $affiliationId ID of an affiliation to filter on |
| 29 | + * @param list<int>|list<TeamAffiliation>|null $affiliationIds ID's of affiliations to filter on |
| 30 | + * @param int|null $problemId ID of a problem to filter on |
| 31 | + * @param list<int>|list<Problem>|null $problemIds ID's of problems to filter on |
| 32 | + * @param int|null $languageId ID of a language to filter on |
| 33 | + * @param list<int>|list<Language>|null $languageIds ID's of languages to filter on |
| 34 | + * @param string|null $judgehost Hostname of a judgehost to filter on |
| 35 | + * @param string|null $oldResult Result of old judging to filter on |
| 36 | + * @param string|null $result Result of current judging to filter on |
| 37 | + * @param list<string>|null $results Results of current judging to filter on |
| 38 | + * @param int|null $userId Filter on specific user |
| 39 | + * @param bool|null $visible If true, only return submissions from visible teams |
| 40 | + * @param bool|null $externalDifference If true, only return results with a difference with an |
| 41 | + * external system |
| 42 | + * If false, only return results without a difference with an |
| 43 | + * external system |
| 44 | + * @param string|null $externalResult Result in the external system |
| 45 | + * @param bool|null $externallyJudged If true, only return externally judged submissions |
| 46 | + * If false, only return externally unjudged submissions |
| 47 | + * @param bool|null $externallyVerified If true, only return verified submissions |
| 48 | + * If false, only return unverified or unjudged submissions |
| 49 | + * @param bool|null $withExternalId If true, only return submissions with an external ID. |
44 | 50 | */ |
45 | 51 | public function __construct( |
46 | 52 | public ?int $rejudgingId = null, |
|
0 commit comments