1 | <?php |
||
17 | class FileDocumentFactory |
||
18 | { |
||
19 | /** |
||
20 | * Provides an instance of FileMetadataAction |
||
21 | * |
||
22 | * @return FileMetadataAction |
||
23 | */ |
||
24 | public function createFileMetadataAction() |
||
28 | |||
29 | /** |
||
30 | * Provides an instance of FileMetadata |
||
31 | * |
||
32 | * @return FileMetadata |
||
33 | */ |
||
34 | public function createFileMataData() |
||
38 | |||
39 | /** |
||
40 | * Provides an instance of FileMetadata |
||
41 | * |
||
42 | * @param string $id Identifier of the file. |
||
43 | * @param int $size Size of the file. |
||
44 | * @param string $filename Name of the file. |
||
45 | * @param string $mimetype Mime-Type of the file. |
||
46 | * @param array $actions List of actions to be executed. |
||
47 | * @param string $additionalInfo Additional file information. |
||
48 | * @param array $additionalProps Additional file properties for example for printing |
||
49 | * |
||
50 | * @return FileMetadata |
||
51 | */ |
||
52 | public function initiateFileMataData( |
||
76 | |||
77 | /** |
||
78 | * Provides an instance of FileLinks |
||
79 | * |
||
80 | * @return FileLinks |
||
81 | */ |
||
82 | public function createFileLink() |
||
86 | |||
87 | /** |
||
88 | * Sets up a FileLinks instance. |
||
89 | * |
||
90 | * @param string $type Type of the reference |
||
91 | * @param string $reference Actual reference |
||
92 | * |
||
93 | * @return FileLinks |
||
94 | */ |
||
95 | public function initializeFileLinks($type, $reference) |
||
104 | } |
||
105 |