Package org.lockss.laaws.rs.impl
Class ServiceImplUtil
java.lang.Object
org.lockss.laaws.rs.impl.ServiceImplUtil
Utility method used in the service controllers.
-
Constructor Summary
Constructors -
Method Summary
-
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 Iteratorwith the artifact source iterator. limit- An Integer with the maximum number of artifacts to be included in the response.artifacts- A Listwith the artifacts to be included in the response.
-