public FindSite(Query<PortalData> siteQuery) {
super(siteQuery);
}
public LazyPageList<PortalData> run(final POMSession session) {
Workspace workspace = session.getWorkspace();
String ownerType = q.getOwnerType();
ObjectType<Site> siteType = ownerType == null ? ObjectType.PORTAL_SITE : Mapper.parseSiteType(ownerType);
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);