Class File

    • Field Detail

      • separator

        public static final String separator
    • Constructor Detail

      • File

        public File()
    • Method Detail

      • getSafeName

        public static final String getSafeName​(String name)
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • setType

        public void setType​(FileType type)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • isShared

        public Boolean isShared()
      • setShared

        public void setShared​(Boolean shared)
      • getOwner

        public User getOwner()
      • setOwner

        public void setOwner​(User user)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • exists

        public boolean exists()
      • exists

        public boolean exists​(User user)
      • delete

        public boolean delete()
      • delete

        public boolean delete​(User user)
      • getPath

        public String getPath()