ModuleIterator modules) {
modules.setArchivedIterator( archive );
while (modules.hasNext()) {
ModuleItem packageItem = modules.next();
Module data = new Module();
data.setUuid( packageItem.getUUID() );
data.setName( packageItem.getName() );
data.setArchived( packageItem.isArchived() );
data.setWorkspaces( packageItem.getWorkspaces() );
handleIsModuleListed( archive,
workspace,
filter,
result,
data );