Class ResultList<T>

java.lang.Object
org.craftercms.studio.model.rest.Result
org.craftercms.studio.model.rest.ResultList<T>
Type Parameters:
T - the entity type
Direct Known Subclasses:
GetSandboxItemsByPathResult, PaginatedResultList

public class ResultList<T> extends Result
A Result where the actual result is a list of entities.
Author:
Dejan Brkic, avasquez
  • Constructor Details

    • ResultList

      public ResultList()
  • Method Details

    • getEntities

      public Map<String,List<T>> getEntities()
      Returns the result entities.
    • setEntities

      public void setEntities(String name, List<T> entities)
      Sets the result entities.