Class ServiceImplUtil

java.lang.Object
org.lockss.laaws.rs.impl.ServiceImplUtil

public class ServiceImplUtil extends Object
Utility method used in the service controllers.
  • Constructor Details

    • ServiceImplUtil

      public ServiceImplUtil()
  • Method Details

    • populateArtifacts

      public static void populateArtifacts(Iterator<Artifact> iterator, Integer limit, List<Artifact> artifacts)
      Populates the artifacts to be included in the response.
      Parameters:
      iterator - An Iterator with the artifact source iterator.
      limit - An Integer with the maximum number of artifacts to be included in the response.
      artifacts - A List with the artifacts to be included in the response.