blob: d3b71803f500fc78d92ba5db4db1bb6daa9c4bc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
<?php
/**
* Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCP\Files;
interface Node {
/**
* @param string $targetPath
* @throws \OC\Files\NotPermittedException
* @return \OCP\Files\Node
*/
public function move($targetPath);
public function delete();
/**
* @param string $targetPath
* @return \OCP\Files\Node
*/
public function copy($targetPath);
/**
* @param int $mtime
* @throws \OC\Files\NotPermittedException
*/
public function touch($mtime = null);
/**
* @return \OC\Files\Storage\Storage
* @throws \OC\Files\NotFoundException
*/
public function getStorage();
/**
* @return string
*/
public function getPath();
/**
* @return string
*/
public function getInternalPath();
/**
* @return int
*/
public function getId();
/**
* @return array
*/
public function stat();
/**
* @return int
*/
public function getMTime();
/**
* @return int
*/
public function getSize();
/**
* @return string
*/
public function getEtag();
/**
* @return int
*/
public function getPermissions();
/**
* @return bool
*/
public function isReadable();
/**
* @return bool
*/
public function isUpdateable();
/**
* @return bool
*/
public function isDeletable();
/**
* @return bool
*/
public function isShareable();
/**
* @return Node
*/
public function getParent();
/**
* @return string
*/
public function getName();
}
|