Class AbstractFileSystemItem

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

public abstract class AbstractFileSystemItem extends Object implements FileSystemItem
Base class for FileSystemItem implementations.
Author:
Antoine Taillefer
See Also:
  • Field Details

    • FILE_SYSTEM_ITEM_ID_SEPARATOR

      public static final String FILE_SYSTEM_ITEM_ID_SEPARATOR
      See Also:
    • FILE_SYSTEM_ITEM_PATH_SEPARATOR

      public static final String FILE_SYSTEM_ITEM_PATH_SEPARATOR
      See Also:
    • id

      protected String id
      FileSystemItem attributes
    • parentId

      protected String parentId
    • name

      protected String name
    • folder

      protected boolean folder
    • creator

      protected String creator
    • lastContributor

      protected String lastContributor
    • creationDate

      protected Calendar creationDate
    • lastModificationDate

      protected Calendar lastModificationDate
    • canRename

      protected boolean canRename
    • canDelete

      protected boolean canDelete
    • lockInfo

      protected Lock lockInfo
    • factoryName

      protected String factoryName
      Internal attributes
    • path

      protected String path
    • principal

      protected NuxeoPrincipal principal
    • userName

      protected String userName
      Needed for JSON serialization/deserialization since we don't serialize the principal
  • Constructor Details

    • AbstractFileSystemItem

      protected AbstractFileSystemItem(String factoryName, NuxeoPrincipal principal, boolean relaxSyncRootConstraint)
    • AbstractFileSystemItem

      protected AbstractFileSystemItem()
  • Method Details