Package org.dspace.app.rest.model
Class FilteredItemRest
java.lang.Object
org.dspace.app.rest.model.FilteredItemRest
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetName()getType()getUuid()booleanvoidsetDiscoverable(boolean discoverable) voidsetEntityType(String entityType) voidvoidsetInArchive(boolean inArchive) voidsetLastModified(Instant lastModified) voidsetMetadata(MetadataRest metadata) voidvoidsetOwningCollection(CollectionRest owningCollection) voidvoidsetWithdrawn(boolean withdrawn)
-
Field Details
-
NAME
- See Also:
-
CATEGORY
- See Also:
-
OWNING_COLLECTION
- See Also:
-
-
Constructor Details
-
FilteredItemRest
public FilteredItemRest()
-
-
Method Details
-
getType
-
getUuid
-
setUuid
-
getName
-
setName
-
getHandle
-
setHandle
-
getMetadata
-
setMetadata
-
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
-
setLastModified
-
getEntityType
-
setEntityType
-
getOwningCollection
-
setOwningCollection
-