/**
* @return int
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getId() {
return $this->getFileInfo()->getId();
/**
* @return int
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getMTime() {
return $this->getFileInfo()->getMTime();
/**
* @return int
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getSize() {
return $this->getFileInfo()->getSize();
/**
* @return string
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getEtag() {
return $this->getFileInfo()->getEtag();
/**
* @return int
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getPermissions() {
return $this->getFileInfo()->getPermissions();
/**
* @return bool
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function isReadable() {
return $this->getFileInfo()->isReadable();
/**
* @return bool
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function isUpdateable() {
return $this->getFileInfo()->isUpdateable();
/**
* @return bool
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function isDeletable() {
return $this->getFileInfo()->isDeletable();
/**
* @return bool
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function isShareable() {
return $this->getFileInfo()->isShareable();
}
+ /**
+ * @return bool
+ * @throws InvalidPathException
+ * @throws NotFoundException
+ */
public function isCreatable() {
return $this->getFileInfo()->isCreatable();
}
* Get the internal file id for the file or folder
*
* @return int
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getId();
* Get the modified date of the file or folder as unix timestamp
*
* @return int
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getMTime();
* Get the size of the file or folder in bytes
*
* @return int
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getSize();
* every time the file or folder is changed the Etag will change to
*
* @return string
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getEtag();
* - \OCP\Constants::PERMISSION_SHARE
*
* @return int
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function getPermissions();
* Check if the file or folder is readable
*
* @return bool
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function isReadable();
* Check if the file or folder is writable
*
* @return bool
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function isUpdateable();
* Check if the file or folder is deletable
*
* @return bool
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function isDeletable();
* Check if the file or folder is shareable
*
* @return bool
+ * @throws InvalidPathException
+ * @throws NotFoundException
*/
public function isShareable();