Interface ITrashSupport

All Superinterfaces:
Serializable
All Known Subinterfaces:
IFile, IFolder
All Known Implementing Classes:
PortalFile, PortalFolder

public interface ITrashSupport extends Serializable
This class allows to specify which class or interface supports trash.
Since:
1.0
Version:
1.0, 10/09/2012
Author:
vlygeros
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Delete the element from the trash.
    boolean
    Check if the element has been sent to the trash.
    void
    Move the element to the trash.
    void
    Restore the element from the trash.
  • Method Details

    • isInTrash

      boolean isInTrash()
      Check if the element has been sent to the trash.
      Returns:
      true if yes,
      invalid @link
      {@link false
      } otherwise.
    • deleteFromTrash

      void deleteFromTrash()
      Delete the element from the trash.
    • restoreFromTrash

      void restoreFromTrash()
      Restore the element from the trash.
    • moveToTrash

      void moveToTrash()
      Move the element to the trash.