@@ -59,53 +59,53 @@ |
||
| 59 | 59 | abstract class AFilesDocument extends IndexDocument { |
| 60 | 60 | |
| 61 | 61 | |
| 62 | - /** |
|
| 63 | - * Returns the owner of the document/file. |
|
| 64 | - * |
|
| 65 | - * @since 15.0.0 |
|
| 66 | - * |
|
| 67 | - * @return string |
|
| 68 | - */ |
|
| 69 | - abstract public function getOwnerId(): string; |
|
| 70 | - |
|
| 71 | - |
|
| 72 | - /** |
|
| 73 | - * Returns the current viewer of the document/file. |
|
| 74 | - * |
|
| 75 | - * @since 15.0.0 |
|
| 76 | - * |
|
| 77 | - * @return string |
|
| 78 | - */ |
|
| 79 | - abstract public function getViewerId(): string; |
|
| 80 | - |
|
| 81 | - |
|
| 82 | - /** |
|
| 83 | - * Returns the type of the document/file. |
|
| 84 | - * |
|
| 85 | - * @since 15.0.0 |
|
| 86 | - * |
|
| 87 | - * @return string \OCP\Files\FileInfo::TYPE_FILE|\OCP\Files\FileInfo::TYPE_FOLDER |
|
| 88 | - */ |
|
| 89 | - abstract public function getType(): string; |
|
| 90 | - |
|
| 91 | - |
|
| 92 | - /** |
|
| 93 | - * Returns the mimetype of the document/file. |
|
| 94 | - * |
|
| 95 | - * @since 15.0.0 |
|
| 96 | - * |
|
| 97 | - * @return string |
|
| 98 | - */ |
|
| 99 | - abstract public function getMimetype(): string; |
|
| 100 | - |
|
| 101 | - /** |
|
| 102 | - * Returns the path of the document/file. |
|
| 103 | - * |
|
| 104 | - * @since 15.0.0 |
|
| 105 | - * |
|
| 106 | - * @return string |
|
| 107 | - */ |
|
| 108 | - abstract public function getPath(): string; |
|
| 62 | + /** |
|
| 63 | + * Returns the owner of the document/file. |
|
| 64 | + * |
|
| 65 | + * @since 15.0.0 |
|
| 66 | + * |
|
| 67 | + * @return string |
|
| 68 | + */ |
|
| 69 | + abstract public function getOwnerId(): string; |
|
| 70 | + |
|
| 71 | + |
|
| 72 | + /** |
|
| 73 | + * Returns the current viewer of the document/file. |
|
| 74 | + * |
|
| 75 | + * @since 15.0.0 |
|
| 76 | + * |
|
| 77 | + * @return string |
|
| 78 | + */ |
|
| 79 | + abstract public function getViewerId(): string; |
|
| 80 | + |
|
| 81 | + |
|
| 82 | + /** |
|
| 83 | + * Returns the type of the document/file. |
|
| 84 | + * |
|
| 85 | + * @since 15.0.0 |
|
| 86 | + * |
|
| 87 | + * @return string \OCP\Files\FileInfo::TYPE_FILE|\OCP\Files\FileInfo::TYPE_FOLDER |
|
| 88 | + */ |
|
| 89 | + abstract public function getType(): string; |
|
| 90 | + |
|
| 91 | + |
|
| 92 | + /** |
|
| 93 | + * Returns the mimetype of the document/file. |
|
| 94 | + * |
|
| 95 | + * @since 15.0.0 |
|
| 96 | + * |
|
| 97 | + * @return string |
|
| 98 | + */ |
|
| 99 | + abstract public function getMimetype(): string; |
|
| 100 | + |
|
| 101 | + /** |
|
| 102 | + * Returns the path of the document/file. |
|
| 103 | + * |
|
| 104 | + * @since 15.0.0 |
|
| 105 | + * |
|
| 106 | + * @return string |
|
| 107 | + */ |
|
| 108 | + abstract public function getPath(): string; |
|
| 109 | 109 | |
| 110 | 110 | |
| 111 | 111 | } |