final Collection<? extends Site> portals = workspace.getSites(siteType);
final Iterator<? extends Site> iterator = portals.iterator();
ListAccess<PortalData> la = new ListAccess<PortalData>() {
public PortalData[] load(int index, int length) throws Exception {
// Iterator<? extends Site> iterator = portals.iterator();
Mapper mapper = new Mapper(session);
PortalData[] result = new PortalData[length];
for (int i = 0; i < length; i++) {
result[i] = mapper.load(iterator.next());
}
return result;
}
public int getSize() throws Exception {