1 | <?php |
||
5 | class ImportRequest |
||
6 | { |
||
7 | private $sourceId; |
||
8 | private $sourceProviderId = 'default'; |
||
9 | private $importerId = null; |
||
10 | private $createdBy = null; |
||
11 | private $context; |
||
12 | |||
13 | public static function createWithoutSource($importerId, $createdBy = null) |
||
17 | |||
18 | 1 | public function __construct($sourceId = null, $sourceProviderId = 'default', $importerId = null, $createdBy = null, $context = null) |
|
26 | |||
27 | /** |
||
28 | * @return ImportRequest |
||
29 | */ |
||
30 | public function setImporterId($importerId) |
||
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | 1 | public function getSourceId() |
|
44 | |||
45 | /** |
||
46 | * @return string|null |
||
47 | */ |
||
48 | 1 | public function getSourceProviderId() |
|
52 | |||
53 | /** |
||
54 | * @return string|null |
||
55 | */ |
||
56 | 1 | public function getImporterId() |
|
60 | |||
61 | /** |
||
62 | * @return string|null |
||
63 | */ |
||
64 | 1 | public function getCreatedBy() |
|
68 | |||
69 | 1 | public function hasImporterId() |
|
73 | |||
74 | 1 | public function hasSource() |
|
78 | |||
79 | 1 | public function getContext() |
|
83 | } |
||
84 |