Class ItemConverter

    • Constructor Detail

      • ItemConverter

        public ItemConverter()
    • Method Detail

      • getPermissionFilteredMetadata

        public MetadataValueList getPermissionFilteredMetadata​(org.dspace.core.Context context,
                                                               org.dspace.content.Item obj)
        Retrieves the metadata list filtered according to the hidden metadata configuration When the context is null, it will return the metadatalist as for an anonymous user Overrides the parent method to include virtual metadata
        Overrides:
        getPermissionFilteredMetadata in class DSpaceObjectConverter<org.dspace.content.Item,​ItemRest>
        Parameters:
        context - The context
        obj - The object of which the filtered metadata will be retrieved
        Returns:
        A list of object metadata (including virtual metadata) filtered based on the the hidden metadata configuration
      • supportsModel

        public boolean supportsModel​(org.dspace.discovery.IndexableObject idxo)
        Specified by:
        supportsModel in interface IndexableObjectConverter<org.dspace.content.Item,​ItemRest>
        Parameters:
        idxo - the IndexableObject to check
        Returns:
        true if the actual converter implementation is able to manage the supplied IndexableObject