Class GetEntitiesByVClass


  • public class GetEntitiesByVClass
    extends JsonArrayProducer
    Gets a list of entities that are members of the indicated vClass. If the list is large then we will pass some token indicating that there is more to come. The results are sent back in 250 entity blocks. To get all of the entities for a VClass just keep requesting lists until there are not more continue tokens. If there are more entities the last item on the returned array will be an object with no id property. It will look like this: {"resultGroup":0, "resultKey":"2WEK2306", "nextUrl":"http://caruso.mannlib.cornell.edu:8080/vitro/dataservice?getEntitiesByVClass=1&resultKey=2WEK2306&resultGroup=1&vclassId=null", "entsInVClass":1752, "nextResultGroup":1, "standardReplySize":256}
    • Constructor Detail

      • GetEntitiesByVClass

        protected GetEntitiesByVClass​(VitroRequest vreq)
    • Method Detail

      • process

        protected com.fasterxml.jackson.databind.node.ArrayNode process()
                                                                 throws javax.servlet.ServletException
        Description copied from class: JsonArrayProducer
        Sub-classes implement this method. Given the request, produce a JSON object as the result.
        Specified by:
        process in class JsonArrayProducer
        Throws:
        javax.servlet.ServletException