Class SimpleFileSystemItem

java.lang.Object
org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
org.nuxeo.drive.adapter.impl.SimpleFileSystemItem
All Implemented Interfaces:
Comparable<FileSystemItem>, FileSystemItem

public class SimpleFileSystemItem extends AbstractFileSystemItem
Simple FileSystemItem just holding data, used for JSON deserialization.
Since:
9.10-HF01, 10.1
  • Field Details

    • downloadURL

      protected String downloadURL
    • digestAlgorithm

      protected String digestAlgorithm
    • digest

      protected String digest
    • size

      protected long size
      Since:
      11.1
    • canUpdate

      protected boolean canUpdate
    • canCreateChild

      protected boolean canCreateChild
    • canScrollDescendants

      protected boolean canScrollDescendants
  • Constructor Details

    • SimpleFileSystemItem

      public SimpleFileSystemItem()
  • Method Details

    • getDownloadURL

      public String getDownloadURL()
    • getDigestAlgorithm

      public String getDigestAlgorithm()
    • getDigest

      public String getDigest()
    • getSize

      public long getSize()
      Since:
      11.1
    • getCanUpdate

      public boolean getCanUpdate()
    • getCanCreateChild

      public boolean getCanCreateChild()
    • getCanScrollDescendants

      public boolean getCanScrollDescendants()
    • setDownloadURL

      public void setDownloadURL(String downloadURL)
    • setDigestAlgorithm

      public void setDigestAlgorithm(String digestAlgorithm)
    • setDigest

      public void setDigest(String digest)
    • setSize

      public void setSize(long size)
      Since:
      11.1
    • setCanUpdate

      public void setCanUpdate(boolean canUpdate)
    • setCanCreateChild

      public void setCanCreateChild(boolean canCreateChild)
    • setCanScrollDescendants

      public void setCanScrollDescendants(boolean canScrollDescendants)
    • rename

      public void rename(String name)
    • delete

      public void delete()
    • canMove

      public boolean canMove(FolderItem dest)
    • move

      public FileSystemItem move(FolderItem dest)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class AbstractFileSystemItem
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractFileSystemItem