Uploaded image for project: 'File Manager Application'
  1. File Manager Application
  2. FILEMAN-22

Organize the files in a tree hierarchy of folders

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 2.0-milestone-1
    • 1.1.6
    • None

    Description

      The files should be organized in a tree hierarchy of folders with the following strong requirements:

      • Unlimited depth
      • The leafs (files) can have multiple parents; folders can have only one parent
      • Namespacing (files/folders with the same name but with different parents)
      • Be able to set rights on files (rights on folders is currently not required)

      The following structure satisfies these requirements:

      DriveClass
      id doc.space
      name doc.title
      FolderClass
      id doc.name
      name doc.title
      parent doc.parent
      FileClass
      id doc.name
      name doc.attachmentList.get(0).filename
      parent doc.tags (FolderClass#id)
      description doc.content

      I've used two marker xclasses (i.e. with no real properties, at least for now), FileClass and FolderClass, to be able to distinguish between files and folders.

      As you can see I've mixed parent-child with tags:

      • parent-child for the folder tree structure
      • tags to be able to have multiple parents on files

      Files and folders are grouped in drives. A drive is implemented as an XWiki space. When you install the File Manager application you get by default a single drive, the FileManager space. You should be able to create new drives and 'point' the File Manager to these drives.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: