Details

    • Similar Issues:
      Show 5 results 

      Description

      When handling trashed items we need various information about the entity. In order to be able to ask the actual entity, we need a new interface. This interface should contain the following methods:

      1. isInTrash() - to tell if the entity is in the trash
      2. isInTrashContainer - to tell if the parent of the entity is in the trash (used to determine if the entity can be restored)
      3. isTrashEntry() - to tell if the entity was trashed directly (as opposed to being put there because one of its ancestors was trashed)
      4. getTrashEntry() - to return the trash entry that belongs to the operation that moved this entity to the trash (note that this trash entry might belong to the entity or to any of its ancestors)
      5. getTrashHandler() - a convenience method to return the trash handler for this entity

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Zsolt Berentey (Inactive)
            Reporter:
            Zsolt Berentey (Inactive)
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 48 weeks, 6 days ago

              Development

                Structure Helper Panel