Class FilteredItemRest

java.lang.Object
org.dspace.app.rest.model.FilteredItemRest

public class FilteredItemRest extends Object
Specialization of ItemRest dedicated to the Filtered Items report. This class adds the owning collection property required to properly display search results without compromising the expected behaviour of standard ItemRest instances, in all other contexts, especially when it comes to embedded contents, a criterion that is widely checked against in several integration tests.
Author:
Jean-François Morin (jean-francois.morin@bibl.ulaval.ca)
  • Field Details

  • Constructor Details

    • FilteredItemRest

      public FilteredItemRest()
  • Method Details

    • getType

      public String getType()
    • getUuid

      public String getUuid()
    • setUuid

      public void setUuid(String uuid)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getHandle

      public String getHandle()
    • setHandle

      public void setHandle(String handle)
    • getMetadata

      public MetadataRest getMetadata()
    • setMetadata

      public void setMetadata(MetadataRest metadata)
    • getInArchive

      public boolean getInArchive()
    • setInArchive

      public void setInArchive(boolean inArchive)
    • getDiscoverable

      public boolean getDiscoverable()
    • setDiscoverable

      public void setDiscoverable(boolean discoverable)
    • getWithdrawn

      public boolean getWithdrawn()
    • setWithdrawn

      public void setWithdrawn(boolean withdrawn)
    • getLastModified

      public Instant getLastModified()
    • setLastModified

      public void setLastModified(Instant lastModified)
    • getEntityType

      public String getEntityType()
    • setEntityType

      public void setEntityType(String entityType)
    • getOwningCollection

      public CollectionRest getOwningCollection()
    • setOwningCollection

      public void setOwningCollection(CollectionRest owningCollection)