Interface TrashedItem

  • All Superinterfaces:
    WorkspaceItem
    All Known Implementing Classes:
    TrashItem

    public interface TrashedItem
    extends WorkspaceItem
    The Interface TrashedItem.
    Author:
    Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Sep 21, 2018
    • Method Detail

      • getOriginalParentId

        String getOriginalParentId()
        Get original parent Id to restore the item.
        Returns:
        the original parent Id to restore the item
      • getDeletedFrom

        String getDeletedFrom()
        Get the path where the item was deleted.
        Returns:
        the path where the item was deleted
      • getDeletedBy

        String getDeletedBy()
        Get the user who deleted the item.
        Returns:
        the user who deleted the item
      • getDeletedTime

        Calendar getDeletedTime()
        Get the date when the item was deleted.
        Returns:
        the date when the item was deleted
      • isFolder

        boolean isFolder()
        Return true if the trash item was a folder.
        Specified by:
        isFolder in interface WorkspaceItem
        Returns:
        true if the trash item was a folder, false otherwise
      • getName

        String getName()
        Get the name of the trashed item.
        Specified by:
        getName in interface WorkspaceItem
        Returns:
        the name of the trashed item