CPD Results

The following document contains the results of PMD's CPD 5.5.1.

Duplications

File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 69
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 66
		addConfig("threads", "Threads: (" + Runtime.getRuntime().availableProcessors() + ") max", ConfigItem.TYPE_INT, 1);
	}

	/** Return our current build status
	 * @return The status
	 */
	public	String	getStatus() {
		StringBuilder sb = new StringBuilder();
		sb.append(buildStep);
		sb.append(": pass=");
		sb.append(pass);
		if (workDoneL || workDoneR)
			sb.append(" ");
		if (workDoneL)
			sb.append("L");
		if (workDoneR)
			sb.append("R");
		if (!buildStep.equals("Calc")) {
			sb.append(" curRow = ");
			sb.append(curRow);
			sb.append(" curCol = ");
			sb.append(curCol);
		}
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	/** Return a semi-static info string
	 * @return "tileRows= y maxCol= x pics=n
	 */
	public String getInfo() {
		return(info);
	}

	protected boolean _build() {
		jobLogEntry.setNote("Setup");
		gd = bi.createGraphics();
		baseX = (Integer)buildParameters.get("baseX");
		baseY = (Integer)buildParameters.get("baseY");
		rateWeight = (Double)buildParameters.get("rateWeight");
		usedWeight = (Double)buildParameters.get("usedWeight");
		reduceStyle = (Integer)buildParameters.get("reduceStyle");
		
		picList = dbf.getPics(this.mosaicSet, tileHeight);
		rateMap = new HashMap<String, Double>();
		for (Pic pic : picList) {
			double d = dbf.getPicRate(pic.getName(), this.mosaicSet, tileHeight);
			rateMap.put(pic.getName(), new Double(d));
			//if (DEBUG)
			//	logger.info("Pic " + pic.getName() + ": rate: " + d);
		}
		if (DEBUG)
			logger.info("Working from " + picList.size() + " pics");
		startRow = 0 - (baseY % tileHeight);
		startRow = baseY % tileHeight;
		if (startRow > 0)
			startRow -= tileHeight;
		maxRow = this.masterPic.getHeight();
		maxCol = this.masterPic.getWidth();
		pixels = bi.getRGB(0, 0, maxCol, maxRow, null, 0, maxCol);
		tileRows = maxRow / tileHeight;
		if (tileRows * tileHeight + startRow < maxRow)
			tileRows++;
		if (tileRows * tileHeight + startRow < maxRow)
			tileRows++;
		curColsL = new int[tileRows];
		curColsR = new int[tileRows];
		for (int i=0; i<tileRows; i++) {
			curColsL[i] = baseX;
			curColsR[i] = baseX;
		}
		rateL = new long[tileRows][picList.size()];		// rate each pic for this location
		rateR = new long[tileRows][picList.size()];		// rate each pic for this location
		used = new int[picList.size()];					// number of times each pic is used
		info = "tileRows=" + tileRows + " startRow=" + startRow + " pics=" + picList.size();
		if (DEBUG)
			logger.info("tileRows=" + tileRows + " rowHeight=" + tileHeight);
		if (baseX > maxCol)
			baseX = maxCol;
		if (baseY > maxRow)
			baseY = maxRow;

	
		BufferedImage mbi;
		workDoneL = true;
		workDoneR = true;
		while (workDoneL || workDoneR) {
			pass++;
			jobLogEntry.setNote("pass: " + pass);
			if (!pmf.isEngineOn())
				return(false);
			buildStep = "Calc";
			for (p=0; p<picList.size(); p++) {
File Line
com/buckosoft/PicMan/business/contact/engine/QuadrantSets.java 34
com/buckosoft/PicMan/business/contact/engine/SequentialSets.java 32
	private int numQuadrants = quadrantRows * quadrantCols;
	private String[] workingQuadrantDirs = new String[numQuadrants];
	private ArrayList<LinkedList<String>> workingQuadrantFiles;
	private LinkedList<String> dirSets;
	private	List<String> picsInContact;
	private	Graphics2D g;
//	private	Font	
	private Contact c;
	private int[] picInRow;
	private	int[] colInRow;
	

	/** Make a contact sheet based on the setup.
	 * @return Success
	 */
	protected	boolean	_makeContact() {

		boolean	success = true;
		
		logger.info("makeContact '" + cName + "'");

//		picsInContact = pmf.getDB().getPicNamesBySet(contactParams.getSetName(), contactParams.getSize());
//		picsInContact = setupPicsList(contactParams, picsInContact);
		picsInContact = this.contactManager.getPicNames(contactParams);
		Collections.sort(picsInContact);
		logger.info("select from " + picsInContact.size() + " filters");
		if (picsInContact.size() == 0) {
			RuntimeException e = new RuntimeException("No pics to make contact " + contactParams.getUuid());
			pmf.addError(e);
			return(false);
		}
		HashMap<String, Integer> dirSetsHash = new HashMap<String, Integer>();
		Pic			pic;
		// figure out all of the dirSets that are available
		for (String s : picsInContact) {
			pic = pmf.getDB().getPic(s);
			Integer x = dirSetsHash.get(pic.getLocation());
			if (x == null)
				x = 0;
			x++;
			dirSetsHash.put(pic.getLocation(), x);
		}
		dirSets = randomize(new LinkedList<String>(dirSetsHash.keySet()));
		
		if (logger.isDebugEnabled()) {
			for (String key : dirSets) {
				logger.debug("dirSet " + key);
			}
		}
		// pick the initial sets to work with, one for each quadrant.
		workingQuadrantFiles = new ArrayList<LinkedList<String>>();
		for (int i=0; i<numQuadrants; i++) {
			workingQuadrantFiles.add(null);
			restock(i);
		}

		BufferedImage bi = new BufferedImage(cWidth, cHeight, BufferedImage.TYPE_3BYTE_BGR);
		g = bi.createGraphics();
		c = new Contact();
		c.setName(cUuid);
		c.setStartTime(new Date());
		c.setCid(chain.getCid());
		int	rowCount = cHeight/tHeight;
		int quadrantRowCount = rowCount / quadrantRows;
		colInRow = new int[rowCount];
		picInRow = new int[rowCount];
		try {
			int curQuadrant = 0;
			int	colWidth = cWidth / quadrantCols;
			for (int qr=0; qr < quadrantRows; qr++) {
				for (int qc=0; qc<quadrantCols; qc++) {
					if (DEBUG)
						logger.debug("qr=" + qr + " qc=" + qc + " curQuadrant=" + curQuadrant);
					fillQuadrant(qr*quadrantRowCount, (qr+1)*quadrantRowCount, (qc+1)*colWidth, curQuadrant);
					curQuadrant++;
				}
File Line
com/buckosoft/PicMan/business/contact/engine/QuadrantSets.java 112
com/buckosoft/PicMan/business/contact/engine/SequentialSets.java 108
			}
			drawContactLabel(g);
		} catch (Exception e) {
			logger.error("Error drawing contact", e);
			pmf.addError(e);
			return(false);
			
		}
		success = writePic(bi, false);
		c.setEndTime(new Date());
		pmf.getDB().addContact(c);
		logger.info("Done with " + cUuid);
		return(success);
	}

	private void fillQuadrant(int curRow, int lrow, int lcol, int curQuadrant) {
		String		tName;
		if (DEBUG)
			logger.debug("curRow=" + curRow + " lrow=" + lrow + " lcol=" + lcol + " curQuadrant=" + curQuadrant);
		while (curRow < lrow) {
			while (colInRow[curRow] < lcol) {
				if (workingQuadrantFiles.get(curQuadrant).isEmpty())
					restock(curQuadrant);
				tName = (String)workingQuadrantFiles.get(curQuadrant).pop();
				if (DEBUG)
					logger.debug(tName + " col/row = " + colInRow[curRow] + "/" + curRow);
				int widthDrawn = drawThumb(g, tName, tHeight, colInRow[curRow], curRow*tHeight);
				c.setPic(tName, curRow, picInRow[curRow]);
				
				colInRow[curRow] += widthDrawn;
				picInRow[curRow]++;
			}
			curRow++;
		}
	}

	private	void	restock(int i) {
		workingQuadrantDirs[i] = dirSets.pop();
		dirSets.add(workingQuadrantDirs[i]);
		workingQuadrantFiles.set(i, fillQuadrantFiles(workingQuadrantDirs[i]));		
	}

	private	LinkedList<String> fillQuadrantFiles(String dir) {
		LinkedList<String> list = new LinkedList<String>();
		for (String s : picsInContact) {
			Pic pic = pmf.getDB().getPic(s);
			if (pic.getLocation().equals(dir))
				list.add(pic.getName());
		}
		Collections.sort(list);
		return(list);
	}
}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 361
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 322
			if (reduceStyle == 1) {
				String name = picList.get(besti).getName();
				double dd = rateMap.get(name) - (rateMap.get(name) * this.usedWeight);
				rateMap.put(name, dd);
			}
			setLastMosaicUpdate();
		}
		return(workDone);
	}

	private boolean _drawRight() {
		boolean workDone = false;
		BufferedImage bi;
		int	x;
		for (curRow=0; curRow<tileRows; curRow++) {
			curCol = curColsR[curRow];
			int cr = curRow * tileHeight + startRow;
			if (curCol >= maxCol)
				continue;
			long best = Long.MAX_VALUE;
			int	besti = 0;
			int	besti2 = 0;
			for (x=0; x<rateR[curRow].length; x++) {
				if (rateR[curRow][x] < best) {
					besti2 = besti;
					best = rateR[curRow][x];
					besti = x;
				}
			}
			//p = besti;
			if (DEBUGDRAW) {
				if (besti == -1)
					logger.info("row=" + curRow + " besti == -1");
				else
					logger.info("besti = " + besti + " (" + picList.get(besti).getName() + ") = " + rateR[curRow][besti]);
				if (besti2 == -1)
					logger.info("row=" + curRow + " besti2 == -1");
				else
					logger.info("besti2 = " + besti2 + " (" + picList.get(besti2).getName() + ") = " + rateR[curRow][besti2]);
			}
			used[besti]++;
			bi = pmf.getMosaicThumbNail(picList.get(besti), tileHeight).getImage();
			if (!mosaic.isBatch()) {
				MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol, cr, maxCol, maxRow);
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 187
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 186
		List<MosaicTile> lmt = pmf.getDB().getMosaicTiles(mosaicId);
		if (DEBUG)
			logger.info("Restoring " + lmt.size() + " tiles");
		boolean workDone = true;
		buildStep = "Restore";
		while (workDone) {
			workDone = false;
			pass++;
			updateRestoreStatus();
			for (curRow=0; curRow<tileRows; curRow++) {
				curCol = curCols[curRow];
				int	cr = curRow * tileHeight;
				Iterator<MosaicTile> iter = lmt.iterator();
				while (iter.hasNext()) {
					MosaicTile mt = iter.next();
					if (mt.getX() == curCol && mt.getY() == cr) {
						int besti = getPicListIndex(mt.getPid());
						if (DEBUG)
							logger.info("restore: besti = " + besti + " (" + picList.get(besti).getName() + ")");
						used[besti]++;
						BufferedImage mbi = pmf.getThumbNail(picList.get(besti), tileHeight).getImage();
						gd.drawImage(mbi, null, curCol, cr);
						curCols[curRow] += mbi.getWidth();
						setLastMosaicUpdate();
						workDone = true;
						break;
					}
				}
			}
		}
	}
	
	private	void updateRestoreStatus() {
		buildStep = "Restore";
	}

	private	int	getPicListIndex(int pid) {
		for (int i=0; i<picList.size(); i++) {
			Pic p = picList.get(i);
			if (p.getPid() == pid)
				return(i);
		}
		return(-1);
	}
}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 135
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 134
	private	void restoreBuild(Graphics2D gd) {
		List<MosaicTile> lmt = pmf.getDB().getMosaicTiles(this.mid);
		if (DEBUG)
			logger.info("Restoring " + lmt.size() + " tiles");
		for (; curRow<maxRow; curRow += tileHeight, curCol=0) {
			for (; curCol<maxCol; ) {
				boolean found = false;
				Iterator<MosaicTile> iter = lmt.iterator();
				while (iter.hasNext()) {
					MosaicTile mt = iter.next();
					if (mt.getX() == curCol && mt.getY() == curRow) {
						int besti = getPicListIndex(mt.getPid());
						if (DEBUG)
							logger.info("restore: besti = " + besti + " (" + picList.get(besti).getName() + ")");
						used[besti]++;
						BufferedImage mbi = pmf.getThumbNail(picList.get(besti), tileHeight).getImage();
						gd.drawImage(mbi, null, curCol, curRow);
						curCol += mbi.getWidth();
						setLastMosaicUpdate();
						found = true;
						break;
					}
				}
				if (!found)
					return;
			}
		}
	}
	
	private	int	getPicListIndex(int pid) {
		for (int i=0; i<picList.size(); i++) {
			Pic p = picList.get(i);
			if (p.getPid() == pid)
				return(i);
		}
		return(-1);
	}
}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 320
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 281
	}

	private boolean _drawLeft() {
		boolean workDone = false;
		BufferedImage bi;
		int	x;
		for (curRow=0; curRow<tileRows; curRow++) {
			curCol = curColsL[curRow];
			int cr = curRow * tileHeight + startRow;
			if (curCol < 0)
				continue;
			long best = Long.MAX_VALUE;
			int	besti = 0;
			int	besti2 = 0;
			for (x=0; x<rateL[curRow].length; x++) {
				if (rateL[curRow][x] < best) {
					besti2 = besti;
					best = rateL[curRow][x];
					besti = x;
				}
			}
			//p = besti;
			if (DEBUGDRAW) {
				if (besti == -1)
					logger.info("row=" + curRow + " besti == -1");
				else
					logger.info("besti = " + besti + " (" + picList.get(besti).getName() + ") = " + rateL[curRow][besti]);
				if (besti2 == -1)
					logger.info("row=" + curRow + " besti2 == -1");
				else
					logger.info("besti2 = " + besti2 + " (" + picList.get(besti2).getName() + ") = " + rateL[curRow][besti2]);
			}
			used[besti]++;
			bi = pmf.getMosaicThumbNail(picList.get(besti), tileHeight).getImage();
			if (!mosaic.isBatch()) {
				MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol-maxCol, cr, maxCol, maxRow);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 225
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 205
						rateL[curRow][p] = -(long)(used[p]*usedWeight);
					else
						rateL[curRow][p] = 0;
					for (x=0; x<mw; x++) {
						y=0;
						if (cr<0)
							y = -startRow;
						for (; y<mh; y++) {
							int mpx = mbi.getRGB(x, y);
							int	ppx;
							if (curCol+x-mw < 0 || y+cr >= maxRow)
								ppx = mpx;
							else
								//ppx = bi.getRGB(x+curCol-mw, y+cr);
								ppx = pixels[x+curCol-mw+((y+cr)*maxCol)];
	//						rate[curRow][p] += Math.abs(((mpx)&0xFF)     - ((ppx)&0xFF))     * 30;
	//						rate[curRow][p] += Math.abs(((mpx>>8)&0xFF)  - ((ppx>>8)&0xFF))  * 59;
	//						rate[curRow][p] += Math.abs(((mpx>>16)&0xFF) - ((ppx>>16)&0xFF)) * 11;
							rateL[curRow][p] += Math.abs(((mpx)&0xFF)     - ((ppx)&0xFF))     * 1;
							rateL[curRow][p] += Math.abs(((mpx>>8)&0xFF)  - ((ppx>>8)&0xFF))  * 1;
							rateL[curRow][p] += Math.abs(((mpx>>16)&0xFF) - ((ppx>>16)&0xFF)) * 1;
						}
					}
					// Portrait always wins over landscape because there is less pixels to go wrong.
					// Give equal weight per pixel column
					rateL[curRow][p] /= mw;
					//rateL[curRow][p] *= ((1+rateWeight) * (9-rateMap.get(curPicName)));
					rateL[curRow][p] *= (1+(rateWeight * (9-rateMap.get(curPicName))));
					//logger.info("rate[" + p + "]=" + rate[p] + " ("+ picList.get(p).getName() + ")");
				}
			}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 287
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 250
						rateR[curRow][p] = -(long)(used[p]*usedWeight);
					else
						rateR[curRow][p] = 0;
					for (x=0; x<mw; x++) {
						y=0;
						if (cr<0)
							y = -startRow;
						for (; y<mh; y++) {
							int mpx = mbi.getRGB(x, y);
							int	ppx;
							if (x+curCol >= maxCol || y+cr >= maxRow)
								ppx = mpx;
							else
								// ppx = bi.getRGB(x+curCol, y+cr);
								ppx = pixels[x+curCol+((y+cr)*maxCol)];
	//						rate[curRow][p] += Math.abs(((mpx)&0xFF)     - ((ppx)&0xFF))     * 30;
	//						rate[curRow][p] += Math.abs(((mpx>>8)&0xFF)  - ((ppx>>8)&0xFF))  * 59;
	//						rate[curRow][p] += Math.abs(((mpx>>16)&0xFF) - ((ppx>>16)&0xFF)) * 11;
							rateR[curRow][p] += Math.abs(((mpx)&0xFF)     - ((ppx)&0xFF))     * 1;
							rateR[curRow][p] += Math.abs(((mpx>>8)&0xFF)  - ((ppx>>8)&0xFF))  * 1;
							rateR[curRow][p] += Math.abs(((mpx>>16)&0xFF) - ((ppx>>16)&0xFF)) * 1;
						}
					}
					// Portrait always wins over landscape because there is less pixels to go wrong.
					// Give equal weight per pixel column
					rateR[curRow][p] /= mw;
					//rateR[curRow][p] *= (1+(rateWeight * rateMap.get(curPicName)));
					rateR[curRow][p] *= (1+(rateWeight * (9-rateMap.get(curPicName))));
				}
			}
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 65
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 78
        oper.setName("getPicListNewerThan");
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        oper.setReturnClass(java.lang.String[].class);
        oper.setReturnQName(new javax.xml.namespace.QName("", "out"));
        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
        oper.setUse(org.apache.axis.constants.Use.LITERAL);
        _operations[2] = oper;
File Line
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 33
com/buckosoft/PicMan/web/PosterDisplayPageController.java 33
public class MosaicDisplayPageController  extends BSAccountPageController {

	private final static boolean DEBUG = false;
	
    /** Logger for this class and subclasses */
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	public DatabaseFacade getDatabase() { return(dbf); }
	

    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {

    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
    	User user = (User)userWebSession.getUser();
		if (DEBUG)
			logger.info("returning hello view with session " + userWebSession);
		
		String now = (new java.util.Date()).toString();

        Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        myModel.put("now", now);
        myModel.put("picMan", getPicMan());
		myModel.put("database", dbf);
		myModel.put("refreshDelay", user.getMosaicDisplayDelay());
		myModel.put("picName", user.getMosaicTestPic());
        return new ModelAndView("MosaicDisplayPage", "model", myModel);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 108
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 108
				for (x=0; x<rate.length; x++) {
					if (rate[x] < best) {
						besti2 = besti;
						best = rate[x];
						besti = x;
					}
				}
				if (DEBUG) {
					logger.info("besti  = " + besti + " (" + picList.get(besti).getName() + ") = " + rate[besti]);
					logger.info("besti2 = " + besti2 + " (" + picList.get(besti2).getName() + ") = " + rate[besti2]);
				}
				used[besti]++;
				BufferedImage mbi = pmf.getThumbNail(picList.get(besti), tileHeight).getImage();
				if (!mosaic.isBatch()) {
					MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol, curRow, mbi.getWidth(), mbi.getHeight());
					pmf.getDB().storeMosaicTile(tile);
				}
				gd.drawImage(mbi, null, curCol, curRow);
				curCol += mbi.getWidth();
				setLastMosaicUpdate();
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 148
com/buckosoft/PicMan/web/MosaicSetupFormController.java 139
		HashMap<String, String> engineConfig = mbatch.getEngineConfig();
		engineConfig.clear();
		String n = msf.getMosaicEngineName();
		if (n != null && n.length() > 0) {
			MosaicEngine mosaicEngine = null;
			try {
				mosaicEngine = (MosaicEngine)Class.forName("com.buckosoft.PicMan.business.mosaic.engine."
								+ n).newInstance();
			} catch (Exception e) {
				Exception ex = new Exception("Can't instantiate Mosaic Engine: " + n, e);
				pmf.addError(ex);
				logger.error(ex);
			}
			if (mosaicEngine != null) {
				HashMap<String, ConfigItem> configMap = mosaicEngine.getConfigMap();
				if (!configMap.isEmpty()) {
					for (String key : configMap.keySet()) {
						//ConfigItem item = configMap.get(key);
						if ((v = request.getParameter(key)) != null) {
							engineConfig.put(key, v);
							logger.info("put k=" + key + " v=" + v);
						}
					}
				}
			}
		}
		pmf.getDB().storeMosaicBatch(mbatch);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 104
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 120
        oper.setName("addFilter");
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "picName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "picFilters"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "PicFilterSOAP"), com.buckosoft.PicMan.PicManService.PicFilterSOAP[].class, false, false);
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 36
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 34
	private	int		curRow = 0;
	private	int[]	curCols;
	private	int		curCol;
	private	int		maxRow;
	private	int		maxCol;
	private	int		p;
	private	List<Pic>	picList;
	private	String	info = "N/A";
	private	int[]	used;
	private	int		tileRows;
	private	String	buildStep = "Idle";
	private	int		pass = -1;
	
	/** Return our current build status
	 * @return The status
	 */
	public	String	getStatus() {
		StringBuilder sb = new StringBuilder();
		sb.append(buildStep);
		sb.append(": pass=");
		sb.append(pass);
		if (!buildStep.equals("Calc")) {
			sb.append(" curRow = ");
			sb.append(curRow);
			sb.append(" curCol = ");
			sb.append(curCol);
		}
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	/** Return a semi-static info string
	 * @return "tileRows= y maxCol= x pics=n
	 */
	public String getInfo() {
		return(info);
	}

	protected boolean _build() {
		Graphics2D	gd = bi.createGraphics();
		
		// 75, pull from this size set even though the size calc should be able to deal with, say, a 50 and figure it out.
		picList = pmf.getDB().getPics(this.mosaicSet, 75);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 195
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 208
        oper.setName("getClientSyncTimestamp");
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "host"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 44
com/buckosoft/PicMan/web/WebEditController.java 40
	}

	/** Spring standard http request handler.
	 * @param request The http request.
	 * @param response The http response.
	 * @return null to return just an http status because we pushed the DOM out the response.
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) {
		String cid = request.getParameter("cid");
		String c = request.getParameter("c");
		String command = request.getParameter("command");
		if (DEBUG) {
			if (!command.equals("PicManStatus"))
				logger.info("XML Request com=" + command + " c=" + c + " cid=" + cid);
		}
		response.setContentType("text/plain");
		response.addHeader("Cache-Control", "max-age=0");
		response.addHeader("Cache-Control", "no-cache");
		response.addHeader("expires", "0");
		response.addHeader("Expires", "Tue, 01 Jan 1980 1:00:00 GMT");
		response.addHeader("Pragma", "no-cache");

		try {
			if (command == null) {
				response.sendError(550, "No command in request");
				return(null);
			}
			else if (command.equals("DeleteMosaicTiles")) {
File Line
com/buckosoft/PicMan/db/PicsDaoJdbc.java 371
com/buckosoft/PicMan/db/PicsDaoJdbc.java 395
			super(ds, "SELECT * from pics ORDER BY cacheDir DESC LIMIT 1");
			compile();			
		}
		protected Object mapRow(ResultSet rs, int rowNum) throws SQLException {
			Pic pic = new Pic();
			pic.setName(rs.getString("name"));
			if (false)
				logger.info("picName=" + pic.getName());
			try {
				pic.getDate().setTime(rs.getTimestamp("timestamp").getTime());
			} catch (Exception e) {}
			pic.setPid(rs.getInt("pid"));
			pic.setWidth(rs.getInt("width"));
			pic.setHeight(rs.getInt("height"));
			pic.setRid(rs.getInt("rid"));
			pic.setCacheDir(rs.getInt("cacheDir"));
			pic.setLocation(rs.getString("location"));
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 32
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 31
	private static final boolean DEBUGDRAW = false;
	private final Log logger = LogFactory.getLog(getClass());

	private	int			curRow = 0;
	private	int[]		curColsL;
	private	int[]		curColsR;
	private	int[]		pixels;		// master pic pixels
	private	int			curCol;
	private	int			maxRow;
	private	int			maxCol;
	private	int			startRow;
	private	int			p;
	private	String		curPicName;
	private	List<Pic>	picList;
	private	HashMap<String, Double>	rateMap;
	private	String		info = "N/A";
	private	int[]		used;
	private	int			tileRows;
	private	String		buildStep = "Idle";
	private	int			pass = -1;
	private	long[][]	rateL;
	private	long[][]	rateR;
	private	Graphics2D	gd;
	private	int 		baseX;
	private	int			baseY;
	private	double		rateWeight = 1.0;
	private	double		usedWeight = 0.0;
	private	boolean		workDoneL = false;
	private	boolean		workDoneR = false;
	private	int			reduceStyle = 0;	// 0 = subtract in the calc, 1 = subtract in the draw

	/** Default constructor	 */
	public FourthRibbon() {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 91
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 104
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 120
        oper.setName("getFiltersForPic");
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "picName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 468
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 502
        _call.setOperationName(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "getPicListNewerThan"));

        setRequestHeaders(_call);
        setAttachments(_call);
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, timestamp});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return (java.lang.String[]) _resp;
            } catch (java.lang.Exception _exception) {
                return (java.lang.String[]) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String[].class);
            }
        }
  } catch (org.apache.axis.AxisFault axisFaultException) {
  throw axisFaultException;
}
    }

    public java.lang.String[] getFilterListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException {
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 249
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 299
					+ "picSelector=?, ratingMin=?, ratingMax=?, showUnused=? WHERE cid = ? LIMIT 1");
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
File Line
com/buckosoft/PicMan/business/mosaic/MosaicManDevelopment.java 73
com/buckosoft/PicMan/business/mosaic/MosaicManDevelopment.java 138
				for (int x=xm*width/depth; x<(xm+1)*width/depth; x++) {
					//if (DEBUG)
					//	logger.info("x=" + x);
					for (int y=ym*height/depth; y<(ym+1)*height/depth; y++) {
					//	if (DEBUG)
					//		logger.info("  y=" + y);
						int rgb = bi.getRGB(x, y);
						sumb += rgb & 0xff;
						sumg += rgb >> 8 & 0xff;
						sumr += rgb >> 16 & 0xff;
						count++;
					}
				}
				int _r = (int)((double)sumr/(double)count);
				int _g = (int)((double)sumg/(double)count);
				int _b = (int)((double)sumb/(double)count);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 180
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 211
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        oper.setReturnClass(java.lang.String.class);
        oper.setReturnQName(new javax.xml.namespace.QName("", "out"));
        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
        oper.setUse(org.apache.axis.constants.Use.LITERAL);
        _operations[9] = oper;
File Line
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 331
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 369
		}
		
		protected Object mapRow(ResultSet rs, int rowNum) throws SQLException {
			Filter f = new Filter();
			f.setPicName(rs.getString("pic"));
//			if (DEBUG)
//				logger.info("picname='" + f.getPicName() + "'");
			try {
				f.getDate().setTime(rs.getTimestamp("date").getTime());
			} catch (Exception e) {}
			Iterator<String> i = filterColumns.iterator();
			String	s;
			while (i.hasNext()) {
				s = (String)i.next();
				if (s.equals("date"))
					continue;
				int	v = rs.getInt(s);
				//logger.info("k: '" + s + "' v:" + v);
				f.addFilter(s, v);
			}
			return(f);
		}
	}

	/**
	 * <code>Filter</code> Query Object.
	 * @author dick
	 *
	 */
	class FilterSetQuery extends MappingSqlQuery {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 43
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 125
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sid"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "description"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 275
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 320
					c.getName(), c.getShortName(),
					c.getDescription(), new Integer(c.isActive() ? 1 : 0),
					c.getEngine(), c.getContactPrefix(),
					c.getContactDirectory(), new Integer(c.getContactCount()),
					new Integer(c.getContactWidth()), new Integer(c.getContactHeight()),
					new Integer(c.getPicSelector()), new Integer(c.getRatingMin()), new Integer(c.getRatingMax()),
					new Integer(c.isShowUnusedSets() ? 1 : 0),
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 45
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 42
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 43
	private	int		tileRows;
	private	String	buildStep = "Idle";
	private	int		pass = -1;
	
	/** Return our current build status
	 * @return The status
	 */
	public	String	getStatus() {
		StringBuilder sb = new StringBuilder();
		sb.append(buildStep);
		sb.append(": pass=");
		sb.append(pass);
		if (!buildStep.equals("Calc")) {
			sb.append(" curRow = ");
			sb.append(curRow);
			sb.append(" curCol = ");
			sb.append(curCol);
		}
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	/** Return a semi-static info string
	 * @return "tileRows= y maxCol= x pics=n
	 */
	public String getInfo() {
		return(info);
	}
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 163
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 158
				if (DEBUG) {
					if (besti == -1)
						logger.info("row=" + curRow + " besti == -1");
					else
						logger.info("besti = " + besti + " (" + picList.get(besti).getName() + ") = " + rate[curRow][besti]);
					if (besti2 == -1)
						logger.info("row=" + curRow + " besti2 == -1");
					else
						logger.info("besti2 = " + besti2 + " (" + picList.get(besti2).getName() + ") = " + rate[curRow][besti2]);
				}
				used[besti]++;
				mbi = pmf.getThumbNail(picList.get(besti), tileHeight).getImage();
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 108
com/buckosoft/PicMan/web/MosaicSetupFormController.java 100
		if (request.getParameter("startBuilding") == null) {
			msf.setStartBuilding(false);
		} else
			msf.setStartBuilding(true);

	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData mosaicForm with session " + userWebSession);

		return myModel;
	}

	protected ModelAndView onSubmit(
			HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)
			throws Exception {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 367
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 574
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return ((java.lang.Integer) _resp).intValue();
            } catch (java.lang.Exception _exception) {
                return ((java.lang.Integer) org.apache.axis.utils.JavaUtils.convert(_resp, int.class)).intValue();
            }
        }
  } catch (org.apache.axis.AxisFault axisFaultException) {
  throw axisFaultException;
}
    }

    public void getSet(java.lang.String auth, javax.xml.rpc.holders.IntHolder sid, javax.xml.rpc.holders.StringHolder name, javax.xml.rpc.holders.StringHolder description, javax.xml.rpc.holders.BooleanHolder active, javax.xml.rpc.holders.BooleanHolder metaSet, javax.xml.rpc.holders.BooleanHolder microSet, javax.xml.rpc.holders.BooleanHolder nanoSet, javax.xml.rpc.holders.CalendarHolder editDate) throws java.rmi.RemoteException {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 111
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 383
  }
  
  public void getSet(java.lang.String auth, javax.xml.rpc.holders.IntHolder sid, javax.xml.rpc.holders.StringHolder name, javax.xml.rpc.holders.StringHolder description, javax.xml.rpc.holders.BooleanHolder active, javax.xml.rpc.holders.BooleanHolder metaSet, javax.xml.rpc.holders.BooleanHolder microSet, javax.xml.rpc.holders.BooleanHolder nanoSet, javax.xml.rpc.holders.CalendarHolder editDate) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 40
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 221
        oper.setName("getSet");
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sid"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 91
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 104
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 120
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 143
        oper.setName("getFiltersForPic");
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "picName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 454
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 520
		final boolean skipNulls = !provider
				.isEnabled(SerializationFeature.WRITE_NULL_MAP_VALUES);

		for (Map.Entry<?, ?> entry : value.entrySet()) {
			Object valueElem = entry.getValue();
			Object keyElem = entry.getKey();

			jgen.writeStartObject();

			jgen.writeFieldName(MAP_KEY_NAME);

			if (keyElem == null) {
				provider.findNullKeySerializer(_keyType, _property).serialize(
						null, jgen, provider);
			} else {
				// [JACKSON-314] skip entries with null values?
				if (skipNulls && valueElem == null)
					continue;
				// One twist: is entry ignorable? If so, skip
				if (ignored != null && ignored.contains(keyElem))
					continue;
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 157
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 224
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "rid"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 413
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 620
                sid.value = ((java.lang.Integer) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "sid")), int.class)).intValue();
            }
            try {
                name.value = (java.lang.String) _output.get(new javax.xml.namespace.QName("", "name"));
            } catch (java.lang.Exception _exception) {
                name.value = (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "name")), java.lang.String.class);
            }
            try {
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 40
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 42
	private	String	info = "N/A";
	private	long[]	used;
	
	/** Return our current build status
	 * @return The status
	 */
	public	String	getStatus() {
		StringBuilder sb = new StringBuilder();
		sb.append("curRow = ");
		sb.append(curRow);
		sb.append(" curCol = ");
		sb.append(curCol);
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	public String getInfo() {
		return(info);
	}

	protected boolean _build() {
		Graphics2D	gd = bi.createGraphics();
		
		// 75, pull from this size set even though the size calc should be able to deal with, say, a 50 and figure it out.
		picList = pmf.getDB().getPics(this.mosaicSet, this.tileHeight);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 710
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 812
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, name, new java.lang.Integer(rid), location, picDate, timestamp, pixelData});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return (java.lang.String) _resp;
            } catch (java.lang.Exception _exception) {
                return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class);
            }
        }
  } catch (org.apache.axis.AxisFault axisFaultException) {
  throw axisFaultException;
}
    }

    public java.lang.String getSetsCRC(java.lang.String auth) throws java.rmi.RemoteException {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 113
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 385
com/buckosoft/PicMan/PicManService/PicManService_PortType.java 20
  public void getSet(java.lang.String auth, javax.xml.rpc.holders.IntHolder sid, javax.xml.rpc.holders.StringHolder name, javax.xml.rpc.holders.StringHolder description, javax.xml.rpc.holders.BooleanHolder active, javax.xml.rpc.holders.BooleanHolder metaSet, javax.xml.rpc.holders.BooleanHolder microSet, javax.xml.rpc.holders.BooleanHolder nanoSet, javax.xml.rpc.holders.CalendarHolder editDate) throws java.rmi.RemoteException{
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 27
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 33
com/buckosoft/PicMan/web/PosterDisplayPageController.java 33
public class FilterReportPageController extends BSAccountPageController {

	private final static boolean DEBUG = false;
	
    /** Logger for this class and subclasses */
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	public DatabaseFacade getDatabase() { return(dbf); }
	

    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {

    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 710
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 744
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 812
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, name, new java.lang.Integer(rid), location, picDate, timestamp, pixelData});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return (java.lang.String) _resp;
            } catch (java.lang.Exception _exception) {
                return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class);
            }
        }
  } catch (org.apache.axis.AxisFault axisFaultException) {
  throw axisFaultException;
}
    }

    public java.lang.String getSetsCRC(java.lang.String auth) throws java.rmi.RemoteException {
File Line
com/buckosoft/PicMan/image/PicReader.java 218
com/buckosoft/PicMan/image/PicReader.java 242
			log.debug("******* rotating 90");
			small = new BufferedImage((int)dH, thumbHeight, BufferedImage.TYPE_INT_BGR);
			BufferedImage bix;
			bix = new BufferedImage(bi.getHeight(), bi.getWidth(), BufferedImage.TYPE_INT_BGR);
			g = bix.createGraphics();
			AffineTransform trans = new AffineTransform(0.0, 1.0, -1.0, 0.0, bi.getHeight(), 0.0);
			g.transform(trans);
			g.drawImage(bi, 0, 0, bi.getWidth(), bi.getHeight(), null);
			bi = bix;		
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 710
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 744
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 812
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 846
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, name, new java.lang.Integer(rid), location, picDate, timestamp, pixelData});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return (java.lang.String) _resp;
            } catch (java.lang.Exception _exception) {
                return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class);
            }
        }
  } catch (org.apache.axis.AxisFault axisFaultException) {
  throw axisFaultException;
}
    }
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 98
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 95
		while (workDone) {
			pass++;
			workDone = false;
			BufferedImage mbi;
			int	x,y;
			buildStep = "Calc";
			for (p=0; p<picList.size(); p++) {
				mbi = pmf.getMosaicThumbNail(picList.get(p), tileHeight).getImage();
				for (curRow=0; curRow<tileRows; curRow++) {
					curCol = curCols[curRow];
					int	cr = curRow * tileHeight;
//					if (DEBUG) {
//						if (curRow == 28 && pass == 4)
//							logger.info("pass 4 row 28");
//					}
					if (curCol < maxCol) {
						workDone = true;
						//BufferedImage mbi = pmf.getThumbNail(null, tileHeight).getImage();
						rate[curRow][p] = used[p];
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 363
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 457
		for (Map.Entry<?, ?> entry : value.entrySet()) {
			Object valueElem = entry.getValue();
			// First, serialize key
			Object keyElem = entry.getKey();
			
			jgen.writeStartObject();
			jgen.writeFieldName(MAP_KEY_NAME);
			
			if (keyElem == null) {
				provider.findNullKeySerializer(_keyType, _property).serialize(
						null, jgen, provider);
			} else {
				// [JACKSON-314] skip entries with null values?
				if (skipNulls && valueElem == null)
					continue;
				// One twist: is entry ignorable? If so, skip
				if (ignored != null && ignored.contains(keyElem))
					continue;

				try {
File Line
com/buckosoft/PicMan/image/PicReader.java 235
com/buckosoft/PicMan/image/PicReader.java 253
			AffineTransform trans = AffineTransform.getScaleInstance(-1, -1);
			trans.translate(-bix.getWidth(), -bix.getHeight());
			AffineTransformOp op = new AffineTransformOp(trans, AffineTransformOp.TYPE_NEAREST_NEIGHBOR);
			bix = op.filter(bi, null);
			g = small.createGraphics();
			g.drawImage(bix.getScaledInstance(-1, thumbHeight, Image.SCALE_SMOOTH), 0, 0, small.getWidth(), small.getHeight(), null);
		} else if (rot == 8) {
File Line
com/buckosoft/PicMan/web/PicFilterWeb.java 94
com/buckosoft/PicMan/web/PicFilterWeb.java 108
		}
		s.append("</tr>" + eol);
		
		// row 3 is the sets
		s.append("<tr>");
		isize = sizes.iterator();
		while (isize.hasNext()) {
			size = ((Integer)(isize.next())).intValue();
			iset = sets.iterator();
			while (iset.hasNext()) {
				set = (Set)iset.next();
				if (set.isActive() && !set.isMetaSet() && !set.isMicroSet())
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 40
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 65
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 78
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 91
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 104
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 120
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 143
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 156
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 195
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 208
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 221
        oper.setName("getSet");
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sid"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 57
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 135
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "editDate"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
        oper.setUse(org.apache.axis.constants.Use.LITERAL);
        _operations[1] = oper;
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 363
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 523
		for (Map.Entry<?, ?> entry : value.entrySet()) {
			Object valueElem = entry.getValue();
			// First, serialize key
			Object keyElem = entry.getKey();
			
			jgen.writeStartObject();
			jgen.writeFieldName(MAP_KEY_NAME);
			
			if (keyElem == null) {
				provider.findNullKeySerializer(_keyType, _property).serialize(
						null, jgen, provider);
			} else {
				// [JACKSON-314] skip entries with null values?
				if (skipNulls && valueElem == null)
					continue;
				// One twist: is entry ignorable? If so, skip
				if (ignored != null && ignored.contains(keyElem))
					continue;
File Line
com/buckosoft/PicMan/web/MosaicDisplayConfigForm.java 25
com/buckosoft/PicMan/web/UserConfigForm.java 29
	public MosaicDisplayConfigForm() {
	}

	public	BSAccountUserWebSession	getUserWebSession() { return(userWebSession); }
	public	void		setUserWebSession(BSAccountUserWebSession us) { userWebSession = us; }

	/**
	 * @return the user
	 */
	public User getUser() {
		return user;
	}

	/**
	 * @param user the user to set
	 */
	public void setUser(User user) {
		this.user = user;
	}

	/** If the Form Controller wants to display a message to the user, it will be here.
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/** Set any message that is to be displayed to the user in the System Setup page
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/** If the Form Controller wants to display an error to the user, it will be here.
	 * @return the errorMessage
	 */
	public String getErrorMessage() {
		return errorMessage;
	}

	/** Set any error message that is to be displayed to the user in the System Setup page.
	 * @param errorMessage the errorMessage to set
	 */
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 169
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 180
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 211
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 238
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "pixelData"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary"), byte[].class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        oper.setReturnClass(java.lang.String.class);
        oper.setReturnQName(new javax.xml.namespace.QName("", "out"));
        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
        oper.setUse(org.apache.axis.constants.Use.LITERAL);
        _operations[8] = oper;
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 65
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 68
		picList = pmf.getDB().getPics(this.mosaicSet, this.tileHeight);
		if (DEBUG)
			logger.info("Working from " + picList.size() + " pics");
		maxRow = this.masterPic.getHeight();
		maxCol = this.masterPic.getWidth();
		//int		rowHeight = maxRow / tileHeight;
		long[]	rate = new long[picList.size()];		// rate each pic for this location
				used = new long[picList.size()];		// number of times each pic is used
		info = "maxRow=" + maxRow + " maxCol=" + maxCol + " pics=" + picList.size();
		if (DEBUG)
			logger.info("maxRow=" + maxRow + " rowHeight=" + tileHeight);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 84
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 87
					for (x=0; x<mbi.getWidth(); x++) {
						for (y=0; y<mbi.getHeight(); y++) {
							int mpx = mbi.getRGB(x, y);
							int	ppx;
							if (x+curCol >= bi.getWidth() || y+curRow >= bi.getHeight())
								ppx = mpx;
							else
								ppx = bi.getRGB(x+curCol, y+ curRow);
//							rate[p] += Math.abs(((mpx)&0xFF)     - ((ppx)&0xFF))     * 30;
//							rate[p] += Math.abs(((mpx>>8)&0xFF)  - ((ppx>>8)&0xFF))  * 59;
//							rate[p] += Math.abs(((mpx>>16)&0xFF) - ((ppx>>16)&0xFF)) * 11;
							rate[p] += Math.abs(((mpx)&0xFF)     - ((ppx)&0xFF))     * 1;
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 81
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 590
  }
  
  public void getPicAttributes(java.lang.String auth, java.lang.String picName, javax.xml.rpc.holders.IntHolder pid, javax.xml.rpc.holders.StringHolder name, javax.xml.rpc.holders.IntHolder rid, javax.xml.rpc.holders.StringHolder location, javax.xml.rpc.holders.CalendarHolder picDate, javax.xml.rpc.holders.CalendarHolder timestamp) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/web/GetThumbNailController.java 170
com/buckosoft/PicMan/web/GetThumbNailController.java 206
		response.setContentType("image/jpeg");
		response.addHeader("Cache-Control", "max-age=0");
		response.addHeader("Cache-Control", "no-cache");
		response.addHeader("expires", "0");
		response.addHeader("Expires", "Tue, 01 Jan 1980 1:00:00 GMT");
		response.addHeader("Pragma", "no-cache");
		ServletOutputStream sos = response.getOutputStream();
		ImageOutputStream ios = ImageIO.createImageOutputStream(sos);
		Iterator<ImageWriter> writers = ImageIO.getImageWritersByFormatName("jpg");
		ImageWriter writer = (ImageWriter)writers.next();
		writer.setOutput(ios);
		BufferedImage small;
File Line
com/buckosoft/PicMan/domain/SyncClient.java 32
com/buckosoft/PicMan/domain/SyncServer.java 40
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the rid
	 */
	public int getRid() {
		return rid;
	}
	/**
	 * @param rid the rid to set
	 */
	public void setRid(int rid) {
		this.rid = rid;
	}
	/**
	 * @return the sid
	 */
	public int getSid() {
		return sid;
	}
	/**
	 * @param sid the sid to set
	 */
	public void setSid(int sid) {
		this.sid = sid;
	}
	/**
	 * @return the serverHost
	 */
	public String getServerHost() {
File Line
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 75
com/buckosoft/PicMan/web/UserConfigFormController.java 75
			logger.info("onBindAndValidate");
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData session " + userWebSession);

		return myModel;
	}

	protected ModelAndView onSubmit(
			HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)
			throws Exception {
		boolean success = true;
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 83
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 592
com/buckosoft/PicMan/PicManService/PicManService_PortType.java 52
  public void getPicAttributes(java.lang.String auth, java.lang.String picName, javax.xml.rpc.holders.IntHolder pid, javax.xml.rpc.holders.StringHolder name, javax.xml.rpc.holders.IntHolder rid, javax.xml.rpc.holders.StringHolder location, javax.xml.rpc.holders.CalendarHolder picDate, javax.xml.rpc.holders.CalendarHolder timestamp) throws java.rmi.RemoteException{
File Line
com/buckosoft/PicMan/web/MosaicSetupFormController.java 99
com/buckosoft/PicMan/web/PosterSetupFormController.java 94
		MosaicSetupForm msf = (MosaicSetupForm)command;
		if (request.getParameter("startBuilding") == null) {
			msf.setStartBuilding(false);
		} else
			msf.setStartBuilding(true);

	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData mosaicForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 29
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 179
        oper.setName("getSetCount");
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 28
com/buckosoft/PicMan/web/WebAjaxController.java 54
public class MosaicAnalyseAjaxController extends BSAccountPageController {
	private static boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Enable debug logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
		DEBUG = debugFlag;
	}

	/** Spring standard http request handler.
	 * @param request The http request.
	 * @param response The http response.
	 * @return null to return just an http status because we pushed the DOM out the response.
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) {
		String cid = request.getParameter("cid");
		String c = request.getParameter("c");
		String command = request.getParameter("command");
File Line
com/buckosoft/PicMan/business/PosterManager.java 91
com/buckosoft/PicMan/business/PosterManager.java 111
		int pixelsPerPageX = (int)(p.getPaperWidth() *p.getDpi()+p.getOverSprayL()+p.getOverSprayR()-p.getMarginL()-p.getMarginR());
		int pixelsPerPageY = (int)(p.getPaperHeight()*p.getDpi()+p.getOverSprayT()+p.getOverSprayB()-p.getMarginT()-p.getMarginB());
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 117
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 113
						rate[curRow][p] = 0;
						for (x=0; x<mbi.getWidth(); x++) {
							for (y=0; y<mbi.getHeight(); y++) {
								int mpx = mbi.getRGB(x, y);
								int	ppx;
								if (x+curCol >= bi.getWidth() || y+cr >= bi.getHeight())
									ppx = mpx;
								else
									ppx = bi.getRGB(x+curCol, y+cr);
File Line
com/buckosoft/PicMan/web/MetaSetFormController.java 98
com/buckosoft/PicMan/web/SetManFormController.java 88
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData SetupSystemForm with session " + userWebSession);

		return myModel;
	}

	protected ModelAndView onSubmit(
			HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)
			throws Exception {
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 108
com/buckosoft/PicMan/web/PosterSetupFormController.java 95
		if (request.getParameter("startBuilding") == null) {
			msf.setStartBuilding(false);
		} else
			msf.setStartBuilding(true);

	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData mosaicForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 76
com/buckosoft/PicMan/web/SystemSetupFormController.java 124
com/buckosoft/PicMan/web/UserConfigFormController.java 76
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData session " + userWebSession);

		return myModel;
	}

	protected ModelAndView onSubmit(
			HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)
			throws Exception {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 66
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 79
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 165
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/business/util/MD5SumUpdater.java 31
com/buckosoft/PicMan/business/util/MlbFilterFixer.java 35
	private	int picProcessing = 0;
	private	PicManFacade	pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public	void setPicMan(PicManFacade pmf) {
		this.pmf = pmf;
	}

	/** Which ordinal picture are we working on?
	 * This is just a status indicator
	 * @return the picProcessing
	 */
	public int getPicProcessing() {
		return picProcessing;
	}

	/** Entry point from BatchManager to run the job
	 */
	public void run() {
		List<Pic> pics = pmf.getDB().getPics();
		Iterator<Pic> iter = pics.iterator();
		int	picCount = pics.size();
		picProcessing = 0;
		JobLogEntry jle = new JobLogEntry();
		jle.setType(JobLogEntry.MD5SUM);
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 32
com/buckosoft/PicMan/web/HomePageController.java 35
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 38
com/buckosoft/PicMan/web/PosterDisplayPageController.java 38
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	public DatabaseFacade getDatabase() { return(dbf); }
	

    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
File Line
com/buckosoft/PicMan/web/ImportPicsPageController.java 35
com/buckosoft/PicMan/web/JobLogReportPageController.java 28
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	//public PicManFacade getPicMan() { return(pmf); }

	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
				throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		
		String now = (new java.util.Date()).toString();

		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
		myModel.put("now", now);
		myModel.put("picMan", pmf);
File Line
com/buckosoft/PicMan/db/logic/MetaSetFilter.java 128
com/buckosoft/PicMan/db/logic/MetaSetFilter.java 189
					filterValue = f.getFilter(rule.getValue(), size);
					switch (rule.getRateOp()) {
					case MetaSet.EQ:
						filterBool = filterValue == rule.getRateVal();
						break;
					case MetaSet.LT:
						filterBool = filterValue < rule.getRateVal();
						break;
					case MetaSet.GT:
						filterBool = filterValue > rule.getRateVal();
						break;
					default:	// case MetaSet.NONE
						filterBool = filterValue > 0 ? true : false;
						break;
					}
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 47
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 54
com/buckosoft/PicMan/web/PosterDisplayPageController.java 54
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		if (DEBUG)
			logger.info("returning hello view with session " + userWebSession);
		
		String now = (new java.util.Date()).toString();

        Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        myModel.put("now", now);
        myModel.put("picMan", getPicMan());
		myModel.put("database", dbf);
File Line
com/buckosoft/PicMan/web/GetThumbNailController.java 189
com/buckosoft/PicMan/web/GetThumbNailController.java 228
			int	picHeight = user.getMosaicPreviewHeight();
			
			double	dW = ((double)picHeight/(double)height) * width;
			int newW = (int)dW;
			int newH = picHeight;
			// logger.info("newW/H = " + newW + " / " + newH );
			small = new BufferedImage(newW, newH, BufferedImage.TYPE_INT_BGR);
			Graphics2D	g;
			g = small.createGraphics();
			g.drawImage(bi.getScaledInstance(-1, newH, Image.SCALE_SMOOTH), null, null);
		}
		writer.write(small);
	}
File Line
com/buckosoft/PicMan/web/FilterReportSummaryPageController.java 53
com/buckosoft/PicMan/web/ImportPicsPageController.java 38
com/buckosoft/PicMan/web/JobLogReportPageController.java 30
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		
		String now = (new java.util.Date()).toString();

        Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        myModel.put("now", now);
		myModel.put("prettyPrint", (request.getParameter("prettyPrint") != null) ? "1" : "0");
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 62
com/buckosoft/PicMan/web/MosaicSetupFormController.java 58
	public MosaicBatchSetupFormController() {
		setSessionForm(true);
		setValidateOnBinding(false);
		setCommandName("mosaicSetupForm");
		setFormView("MosaicSetupForm");
	}

	protected Object formBackingObject(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
    	User user = (User)userWebSession.getUser();
		if (DEBUG)
			logger.info("formBackingObject mosaicForm with session " + userWebSession);

		MosaicSetupForm mf = new MosaicSetupForm();
		mf.setUserWebSession(userWebSession);
		mf.setBatchMode(true);
File Line
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 88
com/buckosoft/PicMan/web/WebAjaxController.java 84
				logger.info("Browser Request Q=" + query);
		}

		User user = null;
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		if (userWebSession != null) 
			user = (User)userWebSession.getUser();

		response.setContentType("text/xml");
		response.addHeader("Cache-Control", "max-age=0");
		response.addHeader("Cache-Control", "no-cache");
		response.addHeader("expires", "0");
		response.addHeader("Expires", "Tue, 01 Jan 1980 1:00:00 GMT");
		response.addHeader("Pragma", "no-cache");
File Line
com/buckosoft/PicMan/web/PicBrowserPageController.java 31
com/buckosoft/PicMan/web/VirginProcessPageController.java 34
public class PicBrowserPageController extends BSAccountPageController {

	/** Spring standard http request handler
	 * @param request The http request
	 * @param response The http response
	 * @return The Spring Model and View
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
				throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		
		String now = (new java.util.Date()).toString();

		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
		myModel.put("now", now);
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 251
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 301
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 252
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 283
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 232
		AnnotationIntrospector intr = ctxt.getAnnotationIntrospector();
		if (intr != null && property != null) {
			String[] moreToIgnore = intr.findPropertiesToIgnore(property
					.getMember());
			if (moreToIgnore != null) {
				ignored = (ignored == null) ? new HashSet<String>()
						: new HashSet<String>(ignored);
				for (String str : moreToIgnore) {
					ignored.add(str);
				}
			}
		}
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 68
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 57
			log.info("XML Import Pics Request");

		response.setContentType("text/xml");
		response.addHeader("Cache-Control", "max-age=0");
		response.addHeader("Cache-Control", "no-cache");
		response.addHeader("expires", "0");
		response.addHeader("Expires", "Tue, 01 Jan 1980 1:00:00 GMT");
		response.addHeader("Pragma", "no-cache");

		User user = null;
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		if (userWebSession != null) 
			user = (User)userWebSession.getUser();
File Line
com/buckosoft/PicMan/web/MetaSetFormController.java 93
com/buckosoft/PicMan/web/RootManFormController.java 65
		return(msf);
	}

	protected void onBindAndValidate(HttpServletRequest request, Object command, BindException errors)
			throws Exception {
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData SetupSystemForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/image/PicReader.java 231
com/buckosoft/PicMan/image/PicReader.java 420
			small = new BufferedImage((int)dW, thumbHeight, BufferedImage.TYPE_INT_BGR);
			BufferedImage bix;
			bix = new BufferedImage(bi.getWidth(), bi.getHeight(), BufferedImage.TYPE_INT_BGR);
			//g = bix.createGraphics();
			AffineTransform trans = AffineTransform.getScaleInstance(-1, -1);
			trans.translate(-bix.getWidth(), -bix.getHeight());
			AffineTransformOp op = new AffineTransformOp(trans, AffineTransformOp.TYPE_NEAREST_NEIGHBOR);
			bix = op.filter(bi, null);
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 70
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 59
com/buckosoft/PicMan/web/WebFilterController.java 58
		response.setContentType("text/xml");
		response.addHeader("Cache-Control", "max-age=0");
		response.addHeader("Cache-Control", "no-cache");
		response.addHeader("expires", "0");
		response.addHeader("Expires", "Tue, 01 Jan 1980 1:00:00 GMT");
		response.addHeader("Pragma", "no-cache");

		User user = null;
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		if (userWebSession != null) 
			user = (User)userWebSession.getUser();
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 358
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 392
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 463
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 497
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 531
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 565
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 599
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 660
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 701
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 735
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 769
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 803
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 837
        _call.setSOAPActionURI("http://PicMan.buckosoft.com/PicManService/getSetCount");
        _call.setEncodingStyle(null);
        _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
        _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
        _call.setOperationName(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "getSetCount"));
File Line
com/buckosoft/PicMan/web/FilterReportSummaryPageController.java 53
com/buckosoft/PicMan/web/ImportPicsPageController.java 38
com/buckosoft/PicMan/web/JobLogReportPageController.java 30
com/buckosoft/PicMan/web/PicBrowserPageController.java 38
com/buckosoft/PicMan/web/VirginProcessPageController.java 41
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		
		String now = (new java.util.Date()).toString();

        Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        myModel.put("now", now);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 145
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 202
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 201
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 144
					if (mt.getX() == curCol && mt.getY() == curRow) {
						int besti = getPicListIndex(mt.getPid());
						if (DEBUG)
							logger.info("restore: besti = " + besti + " (" + picList.get(besti).getName() + ")");
						used[besti]++;
						BufferedImage mbi = pmf.getThumbNail(picList.get(besti), tileHeight).getImage();
						gd.drawImage(mbi, null, curCol, curRow);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 85
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 56
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 54
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 82
			sb.append("R");
		if (!buildStep.equals("Calc")) {
			sb.append(" curRow = ");
			sb.append(curRow);
			sb.append(" curCol = ");
			sb.append(curCol);
		}
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	/** Return a semi-static info string
	 * @return "tileRows= y maxCol= x pics=n
	 */
	public String getInfo() {
		return(info);
	}

	protected boolean _build() {
File Line
com/buckosoft/PicMan/web/DatabaseConverterFormController.java 110
com/buckosoft/PicMan/web/SpinContactsFormController.java 81
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
//		if (DEBUG)
//			logger.info("referenceData ChainManForm with session " + userWebSession);

		return myModel;
	}

	protected ModelAndView onSubmit(
			HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)
			throws Exception {
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 29
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 35
com/buckosoft/PicMan/web/PosterDisplayPageController.java 35
com/buckosoft/PicMan/web/SpinContactsFormController.java 33
	private final static boolean DEBUG = false;
	
    /** Logger for this class and subclasses */
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	public DatabaseFacade getDatabase() { return(dbf); }
	

    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 68
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 81
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 238
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        oper.setReturnClass(java.lang.String[].class);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 29
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 40
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 65
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 78
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 91
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 104
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 120
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 143
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 156
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 179
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 195
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 208
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 221
        oper.setName("getSetCount");
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 76
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 78
		restoreBuild(gd);
		for (; curRow<maxRow; curRow += tileHeight, curCol=0) {
			for (; curCol<maxCol; ) {
				int	x,y;
				for (p=0; p<picList.size(); p++) {
					BufferedImage mbi = pmf.getMosaicThumbNail(picList.get(p), tileHeight).getImage();
					//BufferedImage mbi = pmf.getThumbNail(null, tileHeight).getImage();
					rate[p] = used[p]*1;
File Line
com/buckosoft/PicMan/db/SetsDaoJdbc.java 250
com/buckosoft/PicMan/db/SetsDaoJdbc.java 307
			super(ds, "UPDATE sets SET name=?, description=?, active=?, metaSet=?, microSet=?, nanoSet=?, editDate=? WHERE sid = ? LIMIT 1");
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TIMESTAMP));
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 41
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 66
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 79
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 92
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 105
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 107
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 121
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 123
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 144
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 157
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 159
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 163
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 196
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 209
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 222
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 226
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 228
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sid"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 45
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 47
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 127
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 131
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "description"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 45
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 226
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "description"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 47
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 228
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "description"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "active"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 127
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 159
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "rid"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 131
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 163
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "location"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "picDate"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 133
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 165
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "picDate"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 165
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 167
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "picDate"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 774
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 808
        _call.setOperationName(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "getClientSyncTimestamp"));

        setRequestHeaders(_call);
        setAttachments(_call);
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, host});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return (java.util.Calendar) _resp;
File Line
com/buckosoft/PicMan/domain/SyncClient.java 100
com/buckosoft/PicMan/domain/SyncServer.java 87
	}
	/**
	 * @return the active
	 */
	public boolean isActive() {
		return active;
	}
	/**
	 * @param active the active to set
	 */
	public void setActive(boolean active) {
		this.active = active;
	}
	/**
	 * @return the allowPush
	 */
	public boolean isAllowPush() {
		return allowPush;
	}
	/**
	 * @param allowPush the allowPush to set
	 */
	public void setAllowPush(boolean allowPush) {
		this.allowPush = allowPush;
	}
	/**
	 * @return the allowPull
	 */
	public boolean isAllowPull() {
		return allowPull;
	}
	/**
	 * @param allowPull the allowPull to set
	 */
	public void setAllowPull(boolean allowPull) {
		this.allowPull = allowPull;
	}
File Line
com/buckosoft/PicMan/web/DatabaseConverterFormController.java 89
com/buckosoft/PicMan/web/MetaSetFormController.java 93
com/buckosoft/PicMan/web/RootManFormController.java 65
		return(dcf);
	}

	protected void onBindAndValidate(HttpServletRequest request, Object command, BindException errors)
			throws Exception {

/*
		AccountForm accountForm = (AccountForm) command;
		Account account = accountForm.getAccount();

		if (request.getParameter("account.listOption") == null) {
			account.setListOption(false);
		}
		if (request.getParameter("account.bannerOption") == null) {
			account.setBannerOption(false);
		}

		errors.setNestedPath("account");
		getValidator().validate(account, errors);
		errors.setNestedPath("");
*/
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
File Line
com/buckosoft/PicMan/web/HomePageController.java 35
com/buckosoft/PicMan/web/SpinContactsFormController.java 34
	protected final Log logger = LogFactory.getLog(getClass());
	
	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	/** Set the reference to the PicMan API
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	/** bean getter so Spring AOP can determine the type
	 * @return The PicManFacade
	 */
	public PicManFacade getPicMan() { return(pmf); }

	/** Set the reference to the PicMan database
	 * @param dbf The DatabaseFacade
	 */
	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	/** bean getter so Spring AOP can determine the type
	 * @return The DatabaseFacade
	 */
	public DatabaseFacade getDatabase() { return(dbf); }

	/** Build the model that spring outputs to the browser
	 * @param request The http request
	 * @param response The http response
	 */
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 85
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 53
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 82
			sb.append("R");
		if (!buildStep.equals("Calc")) {
			sb.append(" curRow = ");
			sb.append(curRow);
			sb.append(" curCol = ");
			sb.append(curCol);
		}
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	/** Return a semi-static info string
	 * @return "tileRows= y maxCol= x pics=n
	 */
	public String getInfo() {
		return(info);
	}
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 300
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 320
		jgen.writeStartArray();
		if (!value.isEmpty()) {
			if (provider
					.isEnabled(SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS)) {
				value = _orderEntries(value);
			}
			if (_valueSerializer != null) {
				serializeFieldsUsing(value, jgen, provider, _valueSerializer);
			} else {
				serializeFields(value, jgen, provider);
			}
		}
		jgen.writeEndArray();
File Line
com/buckosoft/PicMan/web/MosaicSetupForm.java 58
com/buckosoft/PicMan/web/PosterSetupForm.java 50
	@SuppressWarnings("unused")
	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	
	public	BSAccountUserWebSession	getUserWebSession() { return(userWebSession); }
	public	void		setUserWebSession(BSAccountUserWebSession us) { userWebSession = us; }

	
	/**
	 * @return the masterPic
	 */
	public String getMasterPic() {
		return masterPic;
	}
	/**
	 * @param masterPic the masterPic to set
	 */
	public void setMasterPic(String masterPic) {
		this.masterPic = masterPic;
	}
	/**
	 * @return the mosaic
	 */
	public Mosaic getMosaic() {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 43
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 125
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 224
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sid"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 49
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 51
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 53
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 55
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "active"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "metaSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 49
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 230
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "active"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "metaSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 51
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 232
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "metaSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "microSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 53
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 234
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "microSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "nanoSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 55
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 236
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "nanoSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "editDate"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 125
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 129
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "pid"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 129
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 161
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "rid"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "location"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 161
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 224
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "rid"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "location"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 230
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 232
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 234
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 236
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "active"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "metaSet"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 363
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 740
        _call.setOperationName(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "getSetCount"));

        setRequestHeaders(_call);
        setAttachments(_call);
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return ((java.lang.Integer) _resp).intValue();
File Line
com/buckosoft/PicMan/image/PicReader.java 151
com/buckosoft/PicMan/image/PicReader.java 349
				return(getXThumb(thumbHeight));
			}
			reader.setInput(iis, true);
			bi = reader.read(0);
			iis.close();
		} catch (IllegalStateException ise) {
			if (DEBUG)
				log.info("caught IllegalStateException");
			reader.dispose();
			bi = null;
			if (iis != null) {
				try {
					iis.close();
				} catch (Exception e) {}
File Line
com/buckosoft/PicMan/web/GetPicController.java 87
com/buckosoft/PicMan/web/GetThumbNailController.java 110
		s = request.getParameter("importPic");
		if (s != null) {
			pic = new Pic(true, s);
		}
		if (pic == null) {
			s = request.getParameter("pic");
			if (s == null) {
				PrintWriter out = response.getWriter();
				out.print("No pic in request");
				return(null);
			}
File Line
com/buckosoft/PicMan/business/SyncManager_Old.java 336
com/buckosoft/PicMan/business/SyncManager_Old.java 378
							try {
								pmsp.putSet(auth, mySet.getSid(), mySet.getName(), mySet.getDescription(),
										mySet.isActive(), mySet.isMetaSet(), mySet.isMicroSet(), mySet.isNanoSet(),
										cal);
							} catch (RemoteException e) {
								setDown(e, "putSet: " + set.getName());
File Line
com/buckosoft/PicMan/business/contact/engine/QuadrantSets.java 110
com/buckosoft/PicMan/business/contact/engine/Ribbon.java 75
				if (isAbort())
					break;
			}
			drawContactLabel(g);
		} catch (Exception e) {
			logger.error("Error drawing contact", e);
			pmf.addError(e);
			return(false);
			
		}
		success = writePic(bi, false);
		c.setEndTime(new Date());
		pmf.getDB().addContact(c);
File Line
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 321
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 370
			curColsL[curRow] -= bi.getWidth();
			if (reduceStyle == 1) {
				String name = picList.get(besti).getName();
				double dd = rateMap.get(name) - (rateMap.get(name) * this.usedWeight);
				rateMap.put(name, dd);
			}
			setLastMosaicUpdate();
		}
		return(workDone);
	}
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 49
com/buckosoft/PicMan/web/JobLogReportPageController.java 33
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 56
com/buckosoft/PicMan/web/PosterDisplayPageController.java 56
			logger.info("returning hello view with session " + userWebSession);
		
		String now = (new java.util.Date()).toString();

        Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        myModel.put("now", now);
        myModel.put("picMan", getPicMan());
		myModel.put("database", dbf);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 536
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 604
        _call.setOperationName(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "getFiltersForPic"));

        setRequestHeaders(_call);
        setAttachments(_call);
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, picName});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 350
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 399
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 311
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 360
					logger.info("besti2 = " + besti2 + " (" + picList.get(besti2).getName() + ") = " + rateL[curRow][besti2]);
			}
			used[besti]++;
			bi = pmf.getMosaicThumbNail(picList.get(besti), tileHeight).getImage();
			if (!mosaic.isBatch()) {
				MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol-maxCol, cr, maxCol, maxRow);
File Line
com/buckosoft/PicMan/business/util/MD5SumUpdater.java 29
com/buckosoft/PicMan/business/util/PicSizeUpdater.java 32
	protected final static Log log = LogFactory.getLog(MD5SumUpdater.class);

	private	int picProcessing = 0;
	private	PicManFacade	pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public	void setPicMan(PicManFacade pmf) {
		this.pmf = pmf;
	}

	/** Which ordinal picture are we working on?
	 * This is just a status indicator
	 * @return the picProcessing
	 */
	public int getPicProcessing() {
		return picProcessing;
	}

	/** Entry point from BatchManager to run the job
	 */
	public void run() {
		List<Pic> pics = pmf.getDB().getPics();
		Iterator<Pic> iter = pics.iterator();
File Line
com/buckosoft/PicMan/web/SpinContactsFormController.java 69
com/buckosoft/PicMan/web/SpinContactsFormController.java 102
		i = -1;
		if ((v = request.getParameter("cid")) != null) {
			try {
				i = java.lang.Integer.parseInt(v);
			} catch ( NumberFormatException e) { }
		}
		if (i != -1)
			chain = dbf.getChain(i);
		scf.setChain(chain);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 456
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 490
    public java.lang.String[] getPicListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException {
        if (super.cachedEndpoint == null) {
            throw new org.apache.axis.NoEndPointException();
        }
        org.apache.axis.client.Call _call = createCall();
        _call.setOperation(_operations[2]);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 762
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 796
    public java.util.Calendar getClientSyncTimestamp(java.lang.String auth, java.lang.String host) throws java.rmi.RemoteException {
        if (super.cachedEndpoint == null) {
            throw new org.apache.axis.NoEndPointException();
        }
        org.apache.axis.client.Call _call = createCall();
        _call.setOperation(_operations[10]);
File Line
com/buckosoft/PicMan/business/SyncManager_Old.java 250
com/buckosoft/PicMan/business/SyncManager_Old.java 260
		SyncLogEntry sle = new SyncLogEntry(SyncLogEntry.FAILED, where);
		sle.setColor(SyncLogEntry.COLOR_BAD);
		sle.setMessage(rex.getLocalizedMessage());
		pmf.addSyncToLog(sle);
		if (DEBUG)
			logger.info("rex:" + this.getSyncStateAsText() + " : " + rex.getLocalizedMessage());
	}

	private void setDown(Exception rex, String where) {
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 288
com/buckosoft/PicMan/db/PostersDaoJdbc.java 252
            super(ds, "SELECT * from mosaicConfigs where mid=?");
			declareParameter(new SqlParameter(Types.INTEGER));
            compile();
        }
 
        protected Object mapRow(ResultSet rs, int rowNum) throws SQLException {
        	KeyValue k = new KeyValue();
        	k.key = rs.getString("key");
        	k.value = rs.getString("value");
        	return(k);
        }
	}

	/**
	 * <code>MetaSet</code> Delete Object.
	 */
	protected class MosaicConfigsDelete extends SqlUpdate {
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 37
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 43
com/buckosoft/PicMan/web/PosterDisplayPageController.java 43
com/buckosoft/PicMan/web/SyncStatusPageController.java 46
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	public DatabaseFacade getDatabase() { return(dbf); }
	

    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {

    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
File Line
com/buckosoft/PicMan/web/ImportPicsPageController.java 41
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 50
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		
		String now = (new java.util.Date()).toString();

		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
		myModel.put("now", now);
		myModel.put("picMan", pmf);
		myModel.put("importsToDo", pmf.getDB().getSystem().getImportsToDo());
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 63
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 54
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	/** Return a semi-static info string
	 * @return "tileRows= y maxCol= x pics=n
	 */
	public String getInfo() {
		return(info);
	}

	protected boolean _build() {
		Graphics2D	gd = bi.createGraphics();
		
		// 75, pull from this size set even though the size calc should be able to deal with, say, a 50 and figure it out.
		picList = pmf.getDB().getPics(this.mosaicSet, 75);
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 219
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 254
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TIMESTAMP));
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 93
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 692
  }
  
  public java.lang.String putPic(java.lang.String auth, java.lang.String name, int rid, java.lang.String location, java.util.Calendar picDate, java.util.Calendar timestamp, byte[] pixelData) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 117
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 828
  }
  
  public java.lang.String putSet(java.lang.String auth, int sid, java.lang.String name, java.lang.String description, boolean active, boolean metaSet, boolean microSet, boolean nanoSet, java.util.Calendar editDate) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 30
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 180
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 198
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 211
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 360
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 409
			curColsL[curRow] -= maxCol;
			if (reduceStyle == 1) {
				String name = picList.get(besti).getName();
				double dd = rateMap.get(name) - (rateMap.get(name) * this.usedWeight);
				rateMap.put(name, dd);
			}
			setLastMosaicUpdate();
		}
		return(workDone);
	}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 410
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 371
			if (reduceStyle == 1) {
				String name = picList.get(besti).getName();
				double dd = rateMap.get(name) - (rateMap.get(name) * this.usedWeight);
				rateMap.put(name, dd);
			}
			setLastMosaicUpdate();
		}
		return(workDone);
	}
}
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 288
com/buckosoft/PicMan/db/PostersDaoJdbc.java 252
com/buckosoft/PicMan/db/UsersDaoJdbc.java 137
            super(ds, "SELECT * from mosaicConfigs where mid=?");
			declareParameter(new SqlParameter(Types.INTEGER));
            compile();
        }
 
        protected Object mapRow(ResultSet rs, int rowNum) throws SQLException {
        	KeyValue k = new KeyValue();
        	k.key = rs.getString("key");
        	k.value = rs.getString("value");
        	return(k);
        }
	}
File Line
com/buckosoft/PicMan/db/PicsDaoJdbc.java 494
com/buckosoft/PicMan/db/PicsDaoJdbc.java 527
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TIMESTAMP));
File Line
com/buckosoft/PicMan/image/PicReader.java 222
com/buckosoft/PicMan/image/PicReader.java 246
com/buckosoft/PicMan/image/PicReader.java 404
			g = bix.createGraphics();
			AffineTransform trans = new AffineTransform(0.0, 1.0, -1.0, 0.0, bi.getHeight(), 0.0);
			g.transform(trans);
			g.drawImage(bi, 0, 0, bi.getWidth(), bi.getHeight(), null);
			bi = bix;		
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 111
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 75
com/buckosoft/PicMan/web/MosaicSetupFormController.java 103
com/buckosoft/PicMan/web/PosterSetupFormController.java 98
com/buckosoft/PicMan/web/UserConfigFormController.java 75
			msf.setStartBuilding(true);

	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData mosaicForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/web/SetManFormController.java 87
com/buckosoft/PicMan/web/SystemSetupFormController.java 123
		}
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData SetupSystemForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 52
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 63
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	public String getInfo() {
		return(info);
	}

	protected boolean _build() {
		Graphics2D	gd = bi.createGraphics();
		
		// 75, pull from this size set even though the size calc should be able to deal with, say, a 50 and figure it out.
		picList = pmf.getDB().getPics(this.mosaicSet, this.tileHeight);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 361
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 371
			if (reduceStyle == 1) {
				String name = picList.get(besti).getName();
				double dd = rateMap.get(name) - (rateMap.get(name) * this.usedWeight);
				rateMap.put(name, dd);
			}
			setLastMosaicUpdate();
		}
		return(workDone);
	}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 410
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 322
			if (reduceStyle == 1) {
				String name = picList.get(besti).getName();
				double dd = rateMap.get(name) - (rateMap.get(name) * this.usedWeight);
				rateMap.put(name, dd);
			}
			setLastMosaicUpdate();
		}
		return(workDone);
	}
File Line
com/buckosoft/PicMan/business/util/MlbFilterFixer.java 35
com/buckosoft/PicMan/business/util/PicSizeUpdater.java 34
	private	int	changedCount = 0;
	private	PicManFacade	pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public	void setPicMan(PicManFacade pmf) {
		this.pmf = pmf;
	}

	/** Which ordinal picture are we working on?
	 * This is just a status indicator
	 * @return the picProcessing
	 */
	public int getPicProcessing() {
		return picProcessing;
	}

	/** Entry point from BatchManager to run the job
	 */
	public void run() {
		List<Pic> pics = pmf.getDB().getPics();
		Iterator<Pic> iter = pics.iterator();
File Line
com/buckosoft/PicMan/db/SetsDaoJdbc.java 62
com/buckosoft/PicMan/db/SetsDaoJdbc.java 79
        SetsQuery sq = new SetsQuery(ds);
    	@SuppressWarnings("unchecked")
        List<Set> l = sq.execute();
		l.add(0, new Set(Set.FUNC_SID_DATE, Set.FUNC_NAME_DATE));
		l.add(0, new Set(Set.FUNC_SID_ROOT, Set.FUNC_NAME_ROOT));
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 115
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 77
				dom = MosaicManDom.createDocument(pmf, user);
			OutputStream stream = response.getOutputStream();
			OutputFormat outformat = OutputFormat.createPrettyPrint();
			outformat.setEncoding("ISO-8859-1");
			XMLWriter writer = new XMLWriter(stream, outformat);
			writer.write(dom);
			writer.flush();
		} catch (UnsupportedEncodingException e) {
File Line
com/buckosoft/PicMan/web/MetaSetFormController.java 98
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 113
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 76
com/buckosoft/PicMan/web/MosaicSetupFormController.java 105
com/buckosoft/PicMan/web/PosterSetupFormController.java 100
com/buckosoft/PicMan/web/RootManFormController.java 70
com/buckosoft/PicMan/web/SetManFormController.java 88
com/buckosoft/PicMan/web/SystemSetupFormController.java 124
com/buckosoft/PicMan/web/UserConfigFormController.java 76
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        if (DEBUG)
        	logger.info("referenceData SetupSystemForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/web/SyncSetupPageController.java 46
com/buckosoft/PicMan/web/SyncStatusPageController.java 43
	public void setPicMan(PicManFacade pmf) { 
		this.pmf = pmf;
		this.dbf = pmf.getDB();
	}
	/** bean getter so Spring AOP can determine the type
	 * @return The PicManFacade
	 */
	public PicManFacade getPicMan() { return(pmf); }

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	/** bean getter so Spring AOP can determine the type
	 * @return The DatabaseFacade
	 */
	public DatabaseFacade getDatabase() { return(dbf); }

	/**
	 * @return the compressJS
	 */
	public boolean isCompressJS() {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 30
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 94
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 180
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 198
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 211
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 84
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 118
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 114
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 87
					for (x=0; x<mbi.getWidth(); x++) {
						for (y=0; y<mbi.getHeight(); y++) {
							int mpx = mbi.getRGB(x, y);
							int	ppx;
							if (x+curCol >= bi.getWidth() || y+curRow >= bi.getHeight())
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 79
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 77
		picList = pmf.getDB().getPics(this.mosaicSet, 75);
		if (DEBUG)
			logger.info("Working from " + picList.size() + " pics");
		maxRow = this.masterPic.getHeight();
		maxCol = this.masterPic.getWidth();
		tileRows = maxRow / tileHeight;
		if (tileRows * tileHeight < maxRow)
			tileRows++;
		curCols = new int[tileRows];
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 253
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 303
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 219
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 72
com/buckosoft/PicMan/web/WebEditController.java 80
				pmf.getDB().deleteMosaicTiles(Integer.parseInt(c));
			}
			else {
				response.sendError(551, "Unknown command '" + command + "' in request");
			}
		} catch (NumberFormatException e) {
			logger.info(e);
			pmf.addError(e);
		} catch (IOException e) {
			logger.info(e);
			pmf.addError(e);
		}

		return null;
	}
File Line
com/buckosoft/PicMan/business/contact/engine/Ribbon.java 77
com/buckosoft/PicMan/business/contact/engine/SequentialSets.java 108
			}
			drawContactLabel(g);
		} catch (Exception e) {
			logger.error("Error drawing contact", e);
			pmf.addError(e);
			return(false);
			
		}
		success = writePic(bi, false);
		c.setEndTime(new Date());
		pmf.getDB().addContact(c);
File Line
com/buckosoft/PicMan/dom/PicsInContactDom.java 41
com/buckosoft/PicMan/dom/PicsInDirDom.java 47
				Element ele = DocumentHelper.createElement("Pic");
				ele.addElement("row").addText(((Integer)row).toString());
				ele.addElement("col").addText(((Integer)col).toString());
				ele.addElement("name").addText(arow.get(col));
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 43
com/buckosoft/PicMan/web/MosaicSetupFormController.java 39
com/buckosoft/PicMan/web/PosterSetupFormController.java 38
public class MosaicBatchSetupFormController extends BSAccountSimpleFormController {
	private	final static boolean DEBUG = true;
    protected final Log logger = LogFactory.getLog(getClass());

	private DatabaseFacade dbf;
	private PicManFacade pmf;

	/** Set the reference to the PicMan Database
	 * @param dbf The DatabaseFacade
	 */
	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	//public DatabaseFacade getDatabase() { return(dbf); }

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	//public PicManFacade getPicMan() { return(pmf); }

	public MosaicBatchSetupFormController() {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 95
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 694
com/buckosoft/PicMan/PicManService/PicManService_PortType.java 62
  public java.lang.String putPic(java.lang.String auth, java.lang.String name, int rid, java.lang.String location, java.util.Calendar picDate, java.util.Calendar timestamp, byte[] pixelData) throws java.rmi.RemoteException{
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 119
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 830
com/buckosoft/PicMan/PicManService/PicManService_PortType.java 77
  public java.lang.String putSet(java.lang.String auth, int sid, java.lang.String name, java.lang.String description, boolean active, boolean metaSet, boolean microSet, boolean nanoSet, java.util.Calendar editDate) throws java.rmi.RemoteException{
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 41
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 45
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 47
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 66
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 79
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 92
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 105
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 107
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 121
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 123
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 127
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 131
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 144
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 157
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 159
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 163
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 196
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 209
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 222
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 226
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 228
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sid"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 71
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 84
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 97
        oper.setReturnClass(java.lang.String[].class);
        oper.setReturnQName(new javax.xml.namespace.QName("", "out"));
        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
        oper.setUse(org.apache.axis.constants.Use.LITERAL);
        _operations[2] = oper;
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 133
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 167
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "picDate"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 162
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 221
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 220
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 161
	}
	
	private	int	getPicListIndex(int pid) {
		for (int i=0; i<picList.size(); i++) {
			Pic p = picList.get(i);
			if (p.getPid() == pid)
				return(i);
		}
		return(-1);
	}
}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 227
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 289
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 207
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 252
						rateL[curRow][p] = 0;
					for (x=0; x<mw; x++) {
						y=0;
						if (cr<0)
							y = -startRow;
						for (; y<mh; y++) {
							int mpx = mbi.getRGB(x, y);
							int	ppx;
							if (curCol+x-mw < 0 || y+cr >= maxRow)
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 337
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 386
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 298
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 347
					best = rateL[curRow][x];
					besti = x;
				}
			}
			//p = besti;
			if (DEBUGDRAW) {
				if (besti == -1)
					logger.info("row=" + curRow + " besti == -1");
				else
					logger.info("besti = " + besti + " (" + picList.get(besti).getName() + ") = " + rateL[curRow][besti]);
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 34
com/buckosoft/PicMan/web/HomePageController.java 37
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 40
com/buckosoft/PicMan/web/PosterDisplayPageController.java 40
com/buckosoft/PicMan/web/SpinContactsForm.java 28
com/buckosoft/PicMan/web/SpinContactsFormController.java 36
	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	public DatabaseFacade getDatabase() { return(dbf); }
	

    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 49
com/buckosoft/PicMan/web/ImportPicsPageController.java 41
com/buckosoft/PicMan/web/JobLogReportPageController.java 33
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 50
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 56
com/buckosoft/PicMan/web/PosterDisplayPageController.java 56
			logger.info("returning hello view with session " + userWebSession);
		
		String now = (new java.util.Date()).toString();

        Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        myModel.put("now", now);
        myModel.put("picMan", getPicMan());
File Line
com/buckosoft/PicMan/web/GetPicController.java 138
com/buckosoft/PicMan/web/MosaicAnalysePicController.java 104
		}
		response.setContentType("image/jpeg");
		ServletOutputStream sos = response.getOutputStream();
		ImageOutputStream ios = ImageIO.createImageOutputStream(sos);
		Iterator<ImageWriter> writers = ImageIO.getImageWritersByFormatName("jpg");
		ImageWriter writer = (ImageWriter)writers.next();
		writer.setOutput(ios);
		writer.write(bi);
File Line
com/buckosoft/PicMan/web/JobLogReportPageController.java 24
com/buckosoft/PicMan/web/ShowErrorPageController.java 27
public class JobLogReportPageController extends BSAccountPageController {
	private PicManFacade	pmf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }

	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
				throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 351
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 728
    public int getSetCount(java.lang.String auth) throws java.rmi.RemoteException {
        if (super.cachedEndpoint == null) {
            throw new org.apache.axis.NoEndPointException();
        }
        org.apache.axis.client.Call _call = createCall();
        _call.setOperation(_operations[0]);
File Line
com/buckosoft/PicMan/web/GetPicController.java 139
com/buckosoft/PicMan/web/GetThumbNailController.java 157
com/buckosoft/PicMan/web/MosaicAnalysePicController.java 105
		response.setContentType("image/jpeg");
		ServletOutputStream sos = response.getOutputStream();
		ImageOutputStream ios = ImageIO.createImageOutputStream(sos);
		Iterator<ImageWriter> writers = ImageIO.getImageWritersByFormatName("jpg");
		ImageWriter writer = (ImageWriter)writers.next();
		writer.setOutput(ios);
		writer.write(bi);
File Line
com/buckosoft/PicMan/web/SyncSetupPageController.java 73
com/buckosoft/PicMan/web/SyncStatusPageController.java 56
	}

	/** Build the model that spring outputs to the browser
	 * @param request The http request
	 * @param response The http response
	 */
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {

	   	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
	    Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
		myModel.put("compressJS", compressJS);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 33
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 71
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 84
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 97
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 172
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 183
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 201
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 214
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 241
        oper.setReturnClass(int.class);
        oper.setReturnQName(new javax.xml.namespace.QName("", "out"));
        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
        oper.setUse(org.apache.axis.constants.Use.LITERAL);
        _operations[0] = oper;
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 184
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 178
				if (!workDoneL && !workDoneR)
					break;
			}
			buildStep = "Draw";
			if (workDoneL)
				workDoneL = _drawLeft();
			if (workDoneR)
				workDoneR = _drawRight();
			if (!mosaic.isBatch())
				dbf.storeMosaic(mosaic);
		}

		buildStep = "Done";
		return(false);
	}
File Line
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 471
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 508
		JsonToken t = jp.getCurrentToken();
		if (t == JsonToken.START_OBJECT) {
			t = jp.nextToken();
		}
		final JsonDeserializer<Object> valueDes = _valueDeserializer;
		final TypeDeserializer typeDeser = _valueTypeDeserializer;
		for (; t == JsonToken.FIELD_NAME; t = jp.nextToken()) {
			// Must point to field name
			String fieldName = jp.getCurrentName();
File Line
com/buckosoft/PicMan/web/FilterEditPageController.java 51
com/buckosoft/PicMan/web/FilterReportPageController.java 49
com/buckosoft/PicMan/web/FilterReportSummaryPageController.java 56
com/buckosoft/PicMan/web/ImportPicsPageController.java 41
com/buckosoft/PicMan/web/JobLogReportPageController.java 33
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 50
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 56
com/buckosoft/PicMan/web/PosterDisplayPageController.java 56
		User user = (User)userWebSession.getUser();
		
		String now = (new java.util.Date()).toString();

		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
		myModel.put("now", now);
		myModel.put("user", user);
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 96
com/buckosoft/PicMan/web/MosaicSetupFormController.java 90
		MosaicConfig mc = MosaicSetupForm.getConfigs(list1);
		mf.setMosaicConfigs(mc.mosaicConfig);
		mf.setMosaicEngineConfig(mc.engineConfig);
		mf.setEngines(mc.engines);
		return(mf);
	}

	protected void onBindAndValidate(HttpServletRequest request, Object command, BindException errors)
			throws Exception {
		MosaicSetupForm msf = (MosaicSetupForm)command;
       if (DEBUG)
File Line
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 47
com/buckosoft/PicMan/web/UserConfigFormController.java 47
		setFormView("MosaicDisplayConfigForm");
	}

	protected Object formBackingObject(HttpServletRequest request) throws Exception {
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		User user = null;
		if (userWebSession != null)
			user = (User)userWebSession.getUser();
		if (DEBUG)
			logger.info("formBackingObject session " + userWebSession);
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 89
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 87
		float[][]	rate = new float[tileRows][picList.size()];		// rate each pic for this location
					used = new int[picList.size()];		// number of times each pic is used
		info = "tileRows=" + tileRows + " maxCol=" + maxCol + " pics=" + picList.size();
		if (DEBUG)
			logger.info("tileRows=" + tileRows + " rowHeight=" + tileHeight);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 43
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 125
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 129
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 161
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 224
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sid"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 49
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 232
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 234
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 236
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "active"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "metaSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 51
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 53
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 55
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 230
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "metaSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "microSet"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
File Line
com/buckosoft/PicMan/business/PicManImpl.java 181
com/buckosoft/PicMan/business/PicManImpl.java 193
		if (this.mosaicThumbCache != null && height <= this.mosaicThumbCache.getCachedHeight()) {
			Thumbnail tn = this.mosaicThumbCache.getThumbNail(pic, height);
			if (tn != null)
				return(tn);
		}
		return(picReader.getThumbNail(pic, height, null));
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 402
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 169
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 363
			bi = pmf.getMosaicThumbNail(picList.get(besti), tileHeight).getImage();
			if (!mosaic.isBatch()) {
				MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol, cr, maxCol, maxRow);
File Line
com/buckosoft/PicMan/db/SystemDaoJdbc.java 136
com/buckosoft/PicMan/db/UsersDaoJdbc.java 138
            super(ds, "SELECT * from system");
            compile();
        }
 
        protected Object mapRow(ResultSet rs, int rowNum) throws SQLException {
        	KeyValue k = new KeyValue();
        	k.key = rs.getString("key");
        	k.value = rs.getString("value");
        	return(k);
        }
	}

	/**
	 * <code>System</code> Update Object.
	 */
	private class SystemUpdate extends SqlUpdate {
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 111
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 75
com/buckosoft/PicMan/web/MosaicSetupFormController.java 103
com/buckosoft/PicMan/web/PosterSetupFormController.java 98
com/buckosoft/PicMan/web/ScanForNewPicsFormController.java 54
com/buckosoft/PicMan/web/SpinContactsFormController.java 80
com/buckosoft/PicMan/web/UserConfigFormController.java 75
			msf.setStartBuilding(true);

	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
File Line
com/buckosoft/PicMan/image/PicReader.java 253
com/buckosoft/PicMan/image/PicReader.java 423
			trans = AffineTransform.getScaleInstance(-1, -1);
			trans.translate(-bix.getWidth(), -bix.getHeight());
			AffineTransformOp op = new AffineTransformOp(trans, AffineTransformOp.TYPE_NEAREST_NEIGHBOR);
			bix = op.filter(bi, null);
File Line
com/buckosoft/PicMan/web/ChainManFormController.java 178
com/buckosoft/PicMan/web/SpinContactsFormController.java 126
			a = (String)e.nextElement();
			if (DEBUG)
				logger.info("Check isPic '" + a + "'");
			if (a.startsWith("x_")) {
				String name = a.substring(2);
				if (DEBUG)
					logger.info("Got setSize '" + name + "'");
File Line
com/buckosoft/PicMan/web/DatabaseConverterFormController.java 110
com/buckosoft/PicMan/web/MetaSetFormController.java 98
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 113
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 76
com/buckosoft/PicMan/web/MosaicSetupFormController.java 105
com/buckosoft/PicMan/web/PosterSetupFormController.java 100
com/buckosoft/PicMan/web/RootManFormController.java 70
com/buckosoft/PicMan/web/ScanForNewPicsFormController.java 55
com/buckosoft/PicMan/web/SetManFormController.java 88
com/buckosoft/PicMan/web/SpinContactsFormController.java 81
com/buckosoft/PicMan/web/SystemSetupFormController.java 124
com/buckosoft/PicMan/web/UserConfigFormController.java 76
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
File Line
com/buckosoft/PicMan/web/HomePageController.java 43
com/buckosoft/PicMan/web/SyncStatusPageController.java 46
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	/** bean getter so Spring AOP can determine the type
	 * @return The PicManFacade
	 */
	public PicManFacade getPicMan() { return(pmf); }

	/** Set the reference to the PicMan database
	 * @param dbf The DatabaseFacade
	 */
	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	/** bean getter so Spring AOP can determine the type
	 * @return The DatabaseFacade
	 */
	public DatabaseFacade getDatabase() { return(dbf); }

	/** Build the model that spring outputs to the browser
	 * @param request The http request
	 * @param response The http response
	 */
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 77
com/buckosoft/PicMan/web/MosaicSetupFormController.java 73
		mf.setBatchMode(true);
		mf.setMosaic(new Mosaic());
		mf.setMasterPic(user.getMosaicTestPic());
		mf.setMosaicHeight(user.getMosaicTileHeight());
		mf.setMosaicOutputFile(user.getMosaicOutputFile());
		mf.setSets(dbf.getSets());
//		mf.setMosaicSetName(user.getMosaicSetName());
		List<MosaicBatch> list = dbf.getMosaicBatches();
File Line
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 78
com/buckosoft/PicMan/web/WebFilterController.java 118
			OutputStream stream = response.getOutputStream();
			OutputFormat outformat = OutputFormat.createPrettyPrint();
			outformat.setEncoding("ISO-8859-1");
			XMLWriter writer = new XMLWriter(stream, outformat);
			writer.write(dom);
			writer.flush();
		} catch (UnsupportedEncodingException e) {
			logger.warn(e);
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 80
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 87
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 78
		if (DEBUG)
			logger.info("Working from " + picList.size() + " pics");
		maxRow = this.masterPic.getHeight();
		maxCol = this.masterPic.getWidth();
		tileRows = maxRow / tileHeight;
		if (tileRows * tileHeight < maxRow)
			tileRows++;
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 342
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 405
			super(ds, "DELETE FROM chains WHERE cid = (?) LIMIT 1");
			declareParameter(new SqlParameter(Types.INTEGER));
			compile();
		}
		
		protected void delete(Chain c) {
			Object[] objs = new Object[] {
					new Integer(c.getCid())};
			super.update(objs);
		}
	}
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 216
com/buckosoft/PicMan/db/RootsDaoJdbc.java 267
			super(ds, "INSERT INTO mosaics VALUES(?,?,?,?,?,?,?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 289
com/buckosoft/PicMan/db/PostersDaoJdbc.java 253
com/buckosoft/PicMan/db/SystemDaoJdbc.java 136
			declareParameter(new SqlParameter(Types.INTEGER));
            compile();
        }
 
        protected Object mapRow(ResultSet rs, int rowNum) throws SQLException {
        	KeyValue k = new KeyValue();
        	k.key = rs.getString("key");
        	k.value = rs.getString("value");
        	return(k);
        }
	}
File Line
com/buckosoft/PicMan/domain/ContactParams.java 54
com/buckosoft/PicMan/domain/ContactParams.java 80
	public	boolean equals(ContactParams other) {
		if (DEBUG)
			logger.info("equals: " + this.setName + "/" + this.size + "/" + this.contactNumber + " : " + other.setName + "/" + other.size + "/" + other.contactNumber);
		if (this.cid != other.cid)
File Line
com/buckosoft/PicMan/web/DatabaseConverterForm.java 31
com/buckosoft/PicMan/web/ScanForNewPicsForm.java 23
	public DatabaseConverterForm() {
	}

	public	BSAccountUserWebSession	getUserWebSession() { return(userWebSession); }
	public	void		setUserWebSession(BSAccountUserWebSession us) { userWebSession = us; }

	public System		getSystem() { return(system); }
	public void			setSystem(System sys) { system = sys; }

	/**
	 * @return the newName
	 */
	public String getNewName() {
File Line
com/buckosoft/PicMan/web/FilterEditPageController.java 51
com/buckosoft/PicMan/web/FilterReportPageController.java 49
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 50
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 56
com/buckosoft/PicMan/web/PicBrowserPageController.java 41
com/buckosoft/PicMan/web/PosterDisplayPageController.java 56
com/buckosoft/PicMan/web/VirginProcessPageController.java 44
		User user = (User)userWebSession.getUser();
		
		String now = (new java.util.Date()).toString();

		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
		myModel.put("now", now);
File Line
com/buckosoft/PicMan/PicManService/PicFilterSOAP.java 170
com/buckosoft/PicMan/PicManService/PicFilterSOAP.java 182
        elemField.setXmlName(new javax.xml.namespace.QName("", "picName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("timeStamp");
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 43
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 125
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 157
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sid"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 66
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 79
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 133
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 385
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 830
    public void getSet(java.lang.String auth, javax.xml.rpc.holders.IntHolder sid, javax.xml.rpc.holders.StringHolder name, javax.xml.rpc.holders.StringHolder description, javax.xml.rpc.holders.BooleanHolder active, javax.xml.rpc.holders.BooleanHolder metaSet, javax.xml.rpc.holders.BooleanHolder microSet, javax.xml.rpc.holders.BooleanHolder nanoSet, javax.xml.rpc.holders.CalendarHolder editDate) throws java.rmi.RemoteException {
        if (super.cachedEndpoint == null) {
            throw new org.apache.axis.NoEndPointException();
        }
        org.apache.axis.client.Call _call = createCall();
        _call.setOperation(_operations[1]);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 456
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 490
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 592
    public java.lang.String[] getPicListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException {
        if (super.cachedEndpoint == null) {
            throw new org.apache.axis.NoEndPointException();
        }
        org.apache.axis.client.Call _call = createCall();
        _call.setOperation(_operations[2]);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 524
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 653
    public com.buckosoft.PicMan.PicManService.PicFilterSOAP[] getFiltersForPic(java.lang.String auth, java.lang.String picName) throws java.rmi.RemoteException {
        if (super.cachedEndpoint == null) {
            throw new org.apache.axis.NoEndPointException();
        }
        org.apache.axis.client.Call _call = createCall();
        _call.setOperation(_operations[4]);
File Line
com/buckosoft/PicMan/business/PicManImpl.java 180
com/buckosoft/PicMan/business/PicManImpl.java 202
	public	Thumbnail	getThumbNail(Pic pic, int height) {
		if (this.mosaicThumbCache != null && height <= this.mosaicThumbCache.getCachedHeight()) {
			Thumbnail tn = this.mosaicThumbCache.getThumbNail(pic, height);
			if (tn != null)
				return(tn);
File Line
com/buckosoft/PicMan/business/contact/ContactEngine.java 145
com/buckosoft/PicMan/business/mosaic/MosaicEngine.java 174
		File file = new File(cPath + ".jpg");
		logger.info("Writing jpg to '" + file.getPath() + "'");
		try {
			ImageOutputStream oos = ImageIO.createImageOutputStream(file);
			writer.setOutput(oos);
			writer.write(bi);
			oos.close();
		} catch (Exception e) {
File Line
com/buckosoft/PicMan/business/contact/PosterEngine.java 170
com/buckosoft/PicMan/business/contact/PosterEngine.java 236
		int cWidth  = bi.getWidth();
		int cHeight = bi.getHeight();
		int	lMargin = p.getMarginL();
		int	tMargin = p.getMarginT();
		int	rMargin = p.getMarginR();
		int	bMargin = p.getMarginB();
		g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 353
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 169
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 314
			bi = pmf.getMosaicThumbNail(picList.get(besti), tileHeight).getImage();
			if (!mosaic.isBatch()) {
				MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol-maxCol, cr, maxCol, maxRow);
File Line
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 423
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 477
			for (t = jp.nextToken(); t == JsonToken.FIELD_NAME; t = jp.nextToken()) {
				// Must point to field name
				String fieldName = jp.getCurrentName();
				t = jp.nextToken();
				if (_ignorableProperties != null
						&& _ignorableProperties.contains(fieldName)) {
					jp.skipChildren();
					continue;
				}
File Line
com/buckosoft/PicMan/util/FilterUtil.java 65
com/buckosoft/PicMan/util/FilterUtil.java 80
		for (String key : f.getFilters().keySet()) {
			int i = key.indexOf('_');
			if (i == -1) {
				Set set = pmf.getDB().getSet(key);
				if (set.isMicroSet()) {
File Line
com/buckosoft/PicMan/web/HtmlUtils.java 28
com/buckosoft/PicMan/web/PicFilterWeb.java 22
public class HtmlUtils {
	protected final Log logger = LogFactory.getLog(getClass());
	static private final String eol = "\r\n";

	private	DatabaseFacade	dbf;

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	public DatabaseFacade getDatabase() { return(dbf); }

	public List<String> getFilterColumnsAsHtml(List<String> in) {
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 43
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 30
com/buckosoft/PicMan/web/WebAjaxController.java 56
	protected final Log log = LogFactory.getLog(getClass());

	private PicManFacade pmf;
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Enable debug logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
		DEBUG = debugFlag;
	}

	/** Spring standard http request handler.
	 * @param request The http request.
	 * @param response The http response.
	 * @return null to return just an http status because we pushed the DOM out the response.
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request,
			HttpServletResponse response) {
		String v;
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 116
com/buckosoft/PicMan/web/WebFilterController.java 118
			OutputStream stream = response.getOutputStream();
			OutputFormat outformat = OutputFormat.createPrettyPrint();
			outformat.setEncoding("ISO-8859-1");
			XMLWriter writer = new XMLWriter(stream, outformat);
			writer.write(dom);
			writer.flush();
		} catch (UnsupportedEncodingException e) {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 351
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 385
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 456
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 490
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 524
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 558
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 592
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 653
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 694
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 728
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 762
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 796
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 830
    public int getSetCount(java.lang.String auth) throws java.rmi.RemoteException {
        if (super.cachedEndpoint == null) {
            throw new org.apache.axis.NoEndPointException();
        }
        org.apache.axis.client.Call _call = createCall();
        _call.setOperation(_operations[0]);
File Line
com/buckosoft/PicMan/business/PosterManager.java 70
com/buckosoft/PicMan/dom/PosterSetupDom.java 60
		Poster p = pp.getPoster();
		Mosaic m = pmf.getDB().getMosaic(p.getMasterMid());
		if (m != null) {
			Pic pic = pmf.getDB().getPic(m.getMasterPic());
			if (pic != null) {
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 252
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 302
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 217
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 253
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 255
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 305
com/buckosoft/PicMan/db/PicsDaoJdbc.java 493
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TINYINT));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 259
com/buckosoft/PicMan/db/SetsDaoJdbc.java 252
com/buckosoft/PicMan/db/SetsDaoJdbc.java 309
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/dom/EngineReportDom.java 159
com/buckosoft/PicMan/domain/ContactParams.java 112
		}
		public String getSetName() {
			return setName;
		}
		public void setSetName(String setName) {
			this.setName = setName;
		}
		public int getSize() {
			return size;
		}
		public void setSize(int size) {
			this.size = size;
		}
		public String getChainShortName() {
File Line
com/buckosoft/PicMan/image/PicReader.java 227
com/buckosoft/PicMan/image/PicReader.java 239
			g = small.createGraphics();
			g.drawImage(bix.getScaledInstance(-1, thumbHeight, Image.SCALE_SMOOTH), 0, 0, small.getWidth(), small.getHeight(), null);
		} else if (rot == 3) {
File Line
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 488
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 543
			Object value;
			if (t == JsonToken.VALUE_NULL) {
				value = null;
			} else if (typeDeser == null) {
				value = valueDes.deserialize(jp, ctxt);
			} else {
				value = valueDes.deserializeWithType(jp, ctxt, typeDeser);
			}
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 49
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 56
com/buckosoft/PicMan/web/PosterDisplayPageController.java 56
com/buckosoft/PicMan/web/SlideShowPageController.java 60
			logger.info("returning hello view with session " + userWebSession);
		
		String now = (new java.util.Date()).toString();

        Map<String, Object> myModel = new HashMap<String, Object>();
        myModel.put("userWebSession", userWebSession);
        myModel.put("now", now);
File Line
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 132
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 157
			for (int i=cachedOffset; i<end; i++)
				if (cachedPics[i].label == null)
					cachedPics[i].label = df.format(pmf.getDB().getPicRate(cachedPics[i].name, cachedMetaSet, 75));
		}
File Line
com/buckosoft/PicMan/web/ShowErrorPageController.java 31
com/buckosoft/PicMan/web/SyncStatusPageController.java 56
	public PicManFacade getPicMan() { return(pmf); }

	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
				throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		
		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("now", new java.util.Date().toString());
File Line
com/buckosoft/PicMan/web/WebAjaxController.java 147
com/buckosoft/PicMan/web/WebFilterController.java 116
			dom = HomeStatusDom.createDocument(pmf, user);
		try {
			OutputStream stream = response.getOutputStream();
			OutputFormat outformat = OutputFormat.createPrettyPrint();
			outformat.setEncoding("ISO-8859-1");
			XMLWriter writer = new XMLWriter(stream, outformat);
			writer.write(dom);
			writer.flush();
		} catch (SocketException e) {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 30
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 146
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 180
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 198
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 211
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 30
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 110
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        oper.setReturnClass(int.class);
        oper.setReturnQName(new javax.xml.namespace.QName("", "out"));
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 30
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 30
public class FirstRibbon extends MosaicEngine {
	private static final boolean DEBUG = true;
	private final Log logger = LogFactory.getLog(getClass());
	
	private	int		curRow = 0;
	private	int		curCol = 0;
	private	int		maxRow;
	private	int		maxCol;
	private	int		p;
	private	List<Pic>	picList;
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 52
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 61
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 54
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	public String getInfo() {
		return(info);
	}

	protected boolean _build() {
		Graphics2D	gd = bi.createGraphics();
		
		// 75, pull from this size set even though the size calc should be able to deal with, say, a 50 and figure it out.
		picList = pmf.getDB().getPics(this.mosaicSet, this.tileHeight);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 220
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 200
				int curCol = curColsL[curRow];
				int	cr = curRow * tileHeight + startRow;
				if (curCol > 0) {
					workDone = true;
					if (reduceStyle == 0)
						rateL[curRow][p] = -(long)(used[p]*usedWeight);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 282
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 245
				int curCol = curColsR[curRow];
				int	cr = curRow * tileHeight + startRow;
				if (curCol < maxCol) {
					workDone = true;
					if (reduceStyle == 0)
						rateR[curRow][p] = -(long)(used[p]*usedWeight);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 346
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 395
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 167
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 162
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 307
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 356
					logger.info("besti = " + besti + " (" + picList.get(besti).getName() + ") = " + rateL[curRow][besti]);
				if (besti2 == -1)
					logger.info("row=" + curRow + " besti2 == -1");
				else
					logger.info("besti2 = " + besti2 + " (" + picList.get(besti2).getName() + ") = " + rateL[curRow][besti2]);
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 249
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 299
com/buckosoft/PicMan/db/RootsDaoJdbc.java 217
					+ "picSelector=?, ratingMin=?, ratingMax=?, showUnused=? WHERE cid = ? LIMIT 1");
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 249
com/buckosoft/PicMan/db/PicsDaoJdbc.java 492
			super(ds, "INSERT INTO contacts VALUES(?,?,?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/RootsDaoJdbc.java 115
com/buckosoft/PicMan/db/RootsDaoJdbc.java 130
	public	Root	getRoot(int rid) throws DataAccessException {
		if (rootsCache == null)
			getRoots();
		Iterator<Root> iter = rootsCache.iterator();
		while (iter.hasNext()) {
			Root root = (Root)iter.next();
			if (root.getRid() == rid)
File Line
com/buckosoft/PicMan/web/GetPicController.java 43
com/buckosoft/PicMan/web/GetThumbNailController.java 48
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 45
com/buckosoft/PicMan/web/MosaicSetupFormController.java 41
com/buckosoft/PicMan/web/PosterSetupFormController.java 40
	protected final Log logger = LogFactory.getLog(getClass());
	
	private DatabaseFacade dbf;
	private PicManFacade pmf;

	/** Set the reference to the PicMan Database
	 * @param dbf The DatabaseFacade
	 */
	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	
	/** Spring standard http request handler, returns an image/jpeg
	 * @param request The http request
	 * @param response The http response
	 * @return null
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
File Line
com/buckosoft/PicMan/web/HtmlUtils.java 29
com/buckosoft/PicMan/web/PicFilterWeb.java 24
com/buckosoft/PicMan/web/SetSizeWebTable.java 27
	protected final Log logger = LogFactory.getLog(getClass());
	static private final String eol = "\r\n";

	private	DatabaseFacade	dbf;

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	public DatabaseFacade getDatabase() { return(dbf); }
File Line
com/buckosoft/PicMan/web/ShowErrorPageController.java 31
com/buckosoft/PicMan/web/SyncSetupPageController.java 73
	public PicManFacade getPicMan() { return(pmf); }

	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
				throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		
		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("now", new java.util.Date().toString());
File Line
com/buckosoft/PicMan/web/SystemSetupForm.java 38
com/buckosoft/PicMan/web/UserConfigForm.java 47
	public void			setSystem(System system) { this.system = system; }

	/** If the Form Controller wants to display a message to the user, it will be here.
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/** Set any message that is to be displayed to the user in the System Setup page
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/** If the Form Controller wants to display an error to the user, it will be here.
	 * @return the errorMessage
	 */
	public String getErrorMessage() {
		return errorMessage;
	}

	/** Set any error message that is to be displayed to the user in the System Setup page.
	 * @param errorMessage the errorMessage to set
	 */
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	/** Did the user click on the Delete Cache link?
	 * If so, then display the "Are you sure?" page
	 * @return the clickedDeleteCache
	 */
	public boolean isClickedDeleteCache() {
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 120
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 402
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 169
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 363
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 120
				BufferedImage mbi = pmf.getThumbNail(picList.get(besti), tileHeight).getImage();
				if (!mosaic.isBatch()) {
					MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol, curRow, mbi.getWidth(), mbi.getHeight());
File Line
com/buckosoft/PicMan/db/PicsDaoJdbc.java 430
com/buckosoft/PicMan/db/PicsDaoJdbc.java 437
		PicNameQuery(DataSource ds, String column, String operator, String operand) {
			super(ds, "SELECT name FROM pics WHERE " +  column + " " + operator + " \"" + operand + "\"");
			compile();
			if (DEBUG)
				logger.info("PicNameQuery() WHERE " +  column + " " + operator + " \"" + operand + "\"");

		}
File Line
com/buckosoft/PicMan/domain/MosaicTile.java 68
com/buckosoft/PicMan/domain/XY.java 26
	}

	/**
	 * @return the x
	 */
	public int getX() {
		return x;
	}

	/**
	 * @param x the x to set
	 */
	public void setX(int x) {
		this.x = x;
	}

	/**
	 * @return the y
	 */
	public int getY() {
		return y;
	}

	/**
	 * @param y the y to set
	 */
	public void setY(int y) {
		this.y = y;
	}
File Line
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 443
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 489
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 544
					if (t == JsonToken.VALUE_NULL) {
						value = null;
					} else if (typeDeser == null) {
						value = valueDes.deserialize(jp, ctxt);
					} else {
						value = valueDes.deserializeWithType(jp, ctxt,
								typeDeser);
					}
File Line
com/buckosoft/PicMan/web/FilterEditPageController.java 51
com/buckosoft/PicMan/web/FilterReportSummaryPageController.java 56
com/buckosoft/PicMan/web/ImportPicsPageController.java 41
com/buckosoft/PicMan/web/JobLogReportPageController.java 33
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 50
com/buckosoft/PicMan/web/PicBrowserPageController.java 41
com/buckosoft/PicMan/web/SlideShowPageController.java 60
com/buckosoft/PicMan/web/VirginProcessPageController.java 44
		User user = (User)userWebSession.getUser();
		
		String now = (new java.util.Date()).toString();

		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
		myModel.put("now", now);
File Line
com/buckosoft/PicMan/web/GetPicController.java 139
com/buckosoft/PicMan/web/GetThumbNailController.java 157
com/buckosoft/PicMan/web/GetThumbNailController.java 175
com/buckosoft/PicMan/web/GetThumbNailController.java 211
com/buckosoft/PicMan/web/MosaicAnalysePicController.java 105
		response.setContentType("image/jpeg");
		ServletOutputStream sos = response.getOutputStream();
		ImageOutputStream ios = ImageIO.createImageOutputStream(sos);
		Iterator<ImageWriter> writers = ImageIO.getImageWritersByFormatName("jpg");
		ImageWriter writer = (ImageWriter)writers.next();
		writer.setOutput(ios);
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 68
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 57
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 94
com/buckosoft/PicMan/web/WebAjaxController.java 90
			log.info("XML Import Pics Request");

		response.setContentType("text/xml");
		response.addHeader("Cache-Control", "max-age=0");
		response.addHeader("Cache-Control", "no-cache");
		response.addHeader("expires", "0");
		response.addHeader("Expires", "Tue, 01 Jan 1980 1:00:00 GMT");
		response.addHeader("Pragma", "no-cache");
File Line
com/buckosoft/PicMan/web/ImportPicsPageController.java 29
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 33
public class ImportPicsPageController extends BSAccountPageController {
	private PicManFacade	pmf;
	
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	//public PicManFacade getPicMan() { return(pmf); }

	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
				throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		
		String now = (new java.util.Date()).toString();
File Line
com/buckosoft/PicMan/web/MosaicAnalysePicController.java 39
com/buckosoft/PicMan/web/SystemSetupFormController.java 35
	protected final Log logger = LogFactory.getLog(getClass());
	
	private PicManFacade pmf;
	private DatabaseFacade dbf;
	
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
//	public PicManFacade getPicMan() { return(pmf); }

	/** Set the reference to the PicMan Database
	 * @param dbf The DatabaseFacade
	 */
	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
File Line
com/buckosoft/PicMan/web/MosaicDisplayConfigForm.java 43
com/buckosoft/PicMan/web/SystemSetupForm.java 38
	}

	/** If the Form Controller wants to display a message to the user, it will be here.
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/** Set any message that is to be displayed to the user in the System Setup page
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/** If the Form Controller wants to display an error to the user, it will be here.
	 * @return the errorMessage
	 */
	public String getErrorMessage() {
		return errorMessage;
	}

	/** Set any error message that is to be displayed to the user in the System Setup page.
	 * @param errorMessage the errorMessage to set
	 */
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
File Line
com/buckosoft/PicMan/web/MosaicSetupFormController.java 112
com/buckosoft/PicMan/web/PosterSetupFormController.java 107
        	logger.info("referenceData mosaicForm with session " + userWebSession);

		return myModel;
	}

	protected ModelAndView onSubmit(
			HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)
			throws Exception {

    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
    	User user = (User)userWebSession.getUser();
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 30
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 107
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 123
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 159
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 163
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 180
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 226
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 228
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 41
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 66
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 79
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 92
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 94
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 105
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 121
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 144
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 157
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 196
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 198
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 209
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 211
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 222
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 57
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 133
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 135
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "editDate"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 68
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 81
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 165
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 167
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 238
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 94
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 146
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "picName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "PicFilterSOAP"));
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 120
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 353
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 314
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 120
				BufferedImage mbi = pmf.getThumbNail(picList.get(besti), tileHeight).getImage();
				if (!mosaic.isBatch()) {
					MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol, curRow, mbi.getWidth(), mbi.getHeight());
File Line
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 184
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 171
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			compile();
		}

		protected void insert(MetaSetRule msr) {
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 116
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 78
com/buckosoft/PicMan/web/WebAjaxController.java 149
			OutputStream stream = response.getOutputStream();
			OutputFormat outformat = OutputFormat.createPrettyPrint();
			outformat.setEncoding("ISO-8859-1");
			XMLWriter writer = new XMLWriter(stream, outformat);
			writer.write(dom);
			writer.flush();
		} catch (UnsupportedEncodingException e) {
File Line
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 96
com/buckosoft/PicMan/web/WebAjaxController.java 92
com/buckosoft/PicMan/web/WebFilterController.java 58
		response.setContentType("text/xml");
		response.addHeader("Cache-Control", "max-age=0");
		response.addHeader("Cache-Control", "no-cache");
		response.addHeader("expires", "0");
		response.addHeader("Expires", "Tue, 01 Jan 1980 1:00:00 GMT");
		response.addHeader("Pragma", "no-cache");
File Line
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 136
com/buckosoft/PicMan/web/WebAjaxController.java 147
com/buckosoft/PicMan/web/WebFilterController.java 116
		dom = PicBrowserDom.createDocument(pmf, user, cachedPics, cachedOffset);
		try {
			OutputStream stream = response.getOutputStream();
			OutputFormat outformat = OutputFormat.createPrettyPrint();
			outformat.setEncoding("ISO-8859-1");
			XMLWriter writer = new XMLWriter(stream, outformat);
			writer.write(dom);
			writer.flush();
File Line
com/buckosoft/PicMan/web/RootManFormController.java 107
com/buckosoft/PicMan/web/SetManFormController.java 141
			dbf.storeRoot(rmf.getEditRoot());
		}
		if (success) {
			response.sendRedirect("home.do");
			return(null);
		}
		else
			return super.onSubmit(request, response, command, errors);
	}

	private	void	checkActiveFlags(HttpServletRequest request) {
		int		count = dbf.getRootCount();
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 84
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 118
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 113
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 114
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 87
					for (x=0; x<mbi.getWidth(); x++) {
						for (y=0; y<mbi.getHeight(); y++) {
							int mpx = mbi.getRGB(x, y);
							int	ppx;
File Line
com/buckosoft/PicMan/db/DatabaseImpl.java 448
com/buckosoft/PicMan/db/DatabaseImpl.java 464
		if (!s.isMetaSet() && !s.isMicroSet() && !s.isNanoSet()) {
			List<Integer> l = getSizes();
			Iterator<Integer> it = l.iterator();
			while (it.hasNext()) {
				Integer i = (Integer)it.next();
				filtersDao.addSet(s.getName(), i.intValue());
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 232
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 272
				new Integer(m.isBatch() ? 1 : 0), m.getName(),
				m.getEngine(), m.getMasterPic(), m.getOutPic(),
				new Integer(m.getSid()), new Integer(m.getTileHeight()),
				m.getStartTime()
File Line
com/buckosoft/PicMan/db/SetsDaoJdbc.java 131
com/buckosoft/PicMan/db/SetsDaoJdbc.java 146
	public	Set	getSet(int sid) throws DataAccessException {
		if (setsCache == null)
			getSets();
		Iterator<Set> iter = setsCache.iterator();
		while (iter.hasNext()) {
			Set set = iter.next();
			if (set.getSid() == sid)
File Line
com/buckosoft/PicMan/image/PicReader.java 227
com/buckosoft/PicMan/image/PicReader.java 257
			g = small.createGraphics();
			g.drawImage(bix.getScaledInstance(-1, thumbHeight, Image.SCALE_SMOOTH), 0, 0, small.getWidth(), small.getHeight(), null);
		} else if (rot == 3) {
File Line
com/buckosoft/PicMan/image/PicReader.java 345
com/buckosoft/PicMan/image/ThumbCache.java 161
			iis = ImageIO.createImageInputStream(f);
			//if (DEBUG)
			//	log.info("iis = " + iis);
			if (iis == null) {
				return(null);
			}
			reader.setInput(iis, true);
			bi = reader.read(0);
			iis.close();
		} catch (IllegalStateException ise) {
			if (DEBUG)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 401
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 608
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 669
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, new java.lang.Integer(sid.value)});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            java.util.Map _output;
            _output = _call.getOutputParams();
            try {
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 142
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 199
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 198
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 141
				Iterator<MosaicTile> iter = lmt.iterator();
				while (iter.hasNext()) {
					MosaicTile mt = iter.next();
					if (mt.getX() == curCol && mt.getY() == curRow) {
File Line
com/buckosoft/PicMan/db/DatabaseImpl.java 448
com/buckosoft/PicMan/db/DatabaseImpl.java 464
com/buckosoft/PicMan/db/DatabaseImpl.java 480
		if (!s.isMetaSet() && !s.isMicroSet() && !s.isNanoSet()) {
			List<Integer> l = getSizes();
			Iterator<Integer> it = l.iterator();
			while (it.hasNext()) {
				Integer i = (Integer)it.next();
				filtersDao.addSet(s.getName(), i.intValue());
File Line
com/buckosoft/PicMan/domain/SetSize.java 49
com/buckosoft/PicMan/domain/SetSize.java 55
		int i = setSize.indexOf('_');
		if (i != -1) {
			setSetName(setSize.substring(0,i));
			setSize(Integer.parseInt(setSize.substring(i+1,setSize.length())));
			return;
		}
File Line
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 50
com/buckosoft/PicMan/web/SlideShowPageController.java 53
com/buckosoft/PicMan/web/UserConfigFormController.java 50
	protected Object formBackingObject(HttpServletRequest request) throws Exception {
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		User user = null;
		if (userWebSession != null)
			user = (User)userWebSession.getUser();
		if (DEBUG)
			logger.info("formBackingObject session " + userWebSession);
File Line
com/buckosoft/PicMan/web/SlideShowPageController.java 37
com/buckosoft/PicMan/web/WebEditController.java 33
	private static final boolean DEBUG = false;
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Spring standard http request handler
	 * @param request The http request
	 * @param response The http response
	 * @return The Spring Model and View
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
File Line
com/buckosoft/PicMan/web/SpinContactsFormController.java 31
com/buckosoft/PicMan/web/SystemSetupFormController.java 32
public class SpinContactsFormController extends BSAccountSimpleFormController {
	
	private static final boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 64
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 62
	public FourthRibbon() {
		addConfig("baseX", "X offset of the base point", ConfigItem.TYPE_INT, 0);
		addConfig("baseY", "Y offset of the base point", ConfigItem.TYPE_INT, 0);
		addConfig("usedWeight", "Multiplier to reduce used pics", ConfigItem.TYPE_DOUBLE, 1.0);
		addConfig("reduceStyle", "Reduce: 0=calc, 1=draw", ConfigItem.TYPE_INT, 1);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 342
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 391
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 163
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 158
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 303
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 352
			if (DEBUGDRAW) {
				if (besti == -1)
					logger.info("row=" + curRow + " besti == -1");
				else
					logger.info("besti = " + besti + " (" + picList.get(besti).getName() + ") = " + rateL[curRow][besti]);
File Line
com/buckosoft/PicMan/db/SystemDaoJdbc.java 282
com/buckosoft/PicMan/db/UsersDaoJdbc.java 294
			super(ds, "INSERT INTO system VALUES(?,?)");
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
		}

		protected void insert(KeyValue kv) {
			Object[] objs = new Object[] {
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 602
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 615
			PropertySerializerMap map, Class<?> type,
			SerializerProvider provider) throws JsonMappingException {
		PropertySerializerMap.SerializerAndMapResult result = map
				.findAndAddSerializer(type, provider, _property);
		// did we get a new map of serializers? If so, start using it
		if (map != result.map) {
			_dynamicValueSerializers = result.map;
		}
		return result.serializer;
	}
File Line
com/buckosoft/PicMan/web/DatabaseConverterForm.java 31
com/buckosoft/PicMan/web/ScanForNewPicsForm.java 23
com/buckosoft/PicMan/web/SystemSetupForm.java 28
	public DatabaseConverterForm() {
	}

	public	BSAccountUserWebSession	getUserWebSession() { return(userWebSession); }
	public	void		setUserWebSession(BSAccountUserWebSession us) { userWebSession = us; }

	public System		getSystem() { return(system); }
	public void			setSystem(System sys) { system = sys; }
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 116
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 78
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 138
			OutputStream stream = response.getOutputStream();
			OutputFormat outformat = OutputFormat.createPrettyPrint();
			outformat.setEncoding("ISO-8859-1");
			XMLWriter writer = new XMLWriter(stream, outformat);
			writer.write(dom);
			writer.flush();
File Line
com/buckosoft/PicMan/web/ImportPicsPageController.java 30
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 34
com/buckosoft/PicMan/web/SlideShowPageController.java 40
	private PicManFacade	pmf;
	
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	//public PicManFacade getPicMan() { return(pmf); }

	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
				throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
File Line
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 38
com/buckosoft/PicMan/web/WebEditController.java 33
	private final static boolean DEBUGLOTS	= false;
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }


	/** Spring standard http request handler, outputs a {@link MosaicManDom}
	 * @param request The http request
	 * @param response The http response
	 * @return null
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request,
			HttpServletResponse response) {
File Line
com/buckosoft/PicMan/web/PicFilterWeb.java 86
com/buckosoft/PicMan/web/PicFilterWeb.java 95
com/buckosoft/PicMan/web/PicFilterWeb.java 109
		s.append("</td></tr>" + eol);

		// row 2 is the sizes
		s.append("<tr>");
		isize = sizes.iterator();
		while (isize.hasNext()) {
			size = ((Integer)(isize.next())).intValue();
File Line
com/buckosoft/PicMan/PicManService/PicFilterSOAP.java 204
com/buckosoft/PicMan/PicManService/PicFilterSOAP.java 216
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           @SuppressWarnings("rawtypes") java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 397
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 842
        _call.setOperationName(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "getSet"));

        setRequestHeaders(_call);
        setAttachments(_call);
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, new java.lang.Integer(sid.value)});
File Line
com/buckosoft/PicMan/business/PicManImpl.java 193
com/buckosoft/PicMan/business/PicManImpl.java 203
		if (this.mosaicThumbCache != null && height <= this.mosaicThumbCache.getCachedHeight()) {
			Thumbnail tn = this.mosaicThumbCache.getThumbNail(pic, height);
			if (tn != null)
				return(tn);
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 252
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 302
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 253
com/buckosoft/PicMan/db/RootsDaoJdbc.java 268
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 254
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 304
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 184
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 220
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 255
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 309
com/buckosoft/PicMan/db/SetsDaoJdbc.java 252
com/buckosoft/PicMan/db/SetsDaoJdbc.java 309
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
File Line
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 175
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 341
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 378
		Iterator<String> i = filterColumns.iterator();
		String	s;
		while (i.hasNext()) {
			s = (String)i.next();
			if (s.equals("date"))
				continue;
File Line
com/buckosoft/PicMan/web/GetPicController.java 56
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 39
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	
	/** Spring standard http request handler, returns an image/jpeg
	 * @param request The http request
	 * @param response The http response
	 * @return null
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);

		String s;
File Line
com/buckosoft/PicMan/web/HtmlUtils.java 106
com/buckosoft/PicMan/web/SpinContactsForm.java 70
			String	setName = set.getName();
//			sx.append("<input type=\"hidden\" id=\"set_");
//			sx.append(i++);
//			sx.append("\" value=\"");
//			sx.append(setName);
//			sx.append("\" />");
//			sx.append(eol);
			for (int sizesIndex=0; sizesIndex<sizes.length; sizesIndex++) {
				int	size = sizes[sizesIndex];
				if (chain.hasSetSize(setName, size)) {
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 30
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 42
com/buckosoft/PicMan/web/WebAjaxController.java 56
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Enable debug logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
		DEBUG = debugFlag;
	}
File Line
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 38
com/buckosoft/PicMan/web/SlideShowPageController.java 37
	private final static boolean DEBUGLOTS	= false;
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }


	/** Spring standard http request handler, outputs a {@link MosaicManDom}
	 * @param request The http request
	 * @param response The http response
	 * @return null
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request,
			HttpServletResponse response) {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 75
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 556
  }
  
  public int addFilter(java.lang.String auth, java.lang.String picName, com.buckosoft.PicMan.PicManService.PicFilterSOAP[] picFilters) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 25
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 191
    private static void _initOperationDesc1(){
        org.apache.axis.description.OperationDesc oper;
        org.apache.axis.description.ParameterDesc param;
        oper = new org.apache.axis.description.OperationDesc();
        oper.setName("getSetCount");
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 254
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 304
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 171
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 220
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 255
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/web/GetPicController.java 56
com/buckosoft/PicMan/web/ImportPicsPageController.java 35
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	
	/** Spring standard http request handler, returns an image/jpeg
	 * @param request The http request
	 * @param response The http response
	 * @return null
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);

		String s;
File Line
com/buckosoft/PicMan/web/GetThumbNailController.java 45
com/buckosoft/PicMan/web/MetaSetFormController.java 38
public class GetThumbNailController extends BSAccountPageController {
	
	private static boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());
	
	private DatabaseFacade dbf;
	private PicManFacade pmf;

	/** Set the reference to the PicMan Database
	 * @param dbf The DatabaseFacade
	 */
	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
File Line
com/buckosoft/PicMan/web/GetThumbNailController.java 170
com/buckosoft/PicMan/web/GetThumbNailController.java 206
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 70
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 59
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 59
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 96
com/buckosoft/PicMan/web/WebAjaxController.java 92
com/buckosoft/PicMan/web/WebEditController.java 56
com/buckosoft/PicMan/web/WebFilterController.java 58
		response.setContentType("image/jpeg");
		response.addHeader("Cache-Control", "max-age=0");
		response.addHeader("Cache-Control", "no-cache");
		response.addHeader("expires", "0");
		response.addHeader("Expires", "Tue, 01 Jan 1980 1:00:00 GMT");
		response.addHeader("Pragma", "no-cache");
File Line
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 39
com/buckosoft/PicMan/web/WebEditController.java 34
com/buckosoft/PicMan/web/WebFilterController.java 43
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }


	/** Spring standard http request handler, outputs a {@link MosaicManDom}
	 * @param request The http request
	 * @param response The http response
	 * @return null
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request,
			HttpServletResponse response) {
File Line
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 145
com/buckosoft/PicMan/web/WebFilterController.java 123
			stream.close();
		} catch (UnsupportedEncodingException e) {
			logger.info(e);
			pmf.addError(e);
		} catch (IOException e) {
			logger.info(e);
			pmf.addError(e);
		}
File Line
com/buckosoft/PicMan/web/RootManFormController.java 31
com/buckosoft/PicMan/web/SetManFormController.java 36
public class RootManFormController extends BSAccountSimpleFormController {
	private	final static boolean DEBUG = false;
    protected final Log logger = LogFactory.getLog(getClass());

	private DatabaseFacade dbf;
	
	/** Set the reference to the PicMan Database
	 * @param dbf The DatabaseFacade
	 */
	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
//	public DatabaseFacade getDatabase() { return(dbf); }

	public RootManFormController() {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 68
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 81
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 169
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 180
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 211
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        oper.setReturnClass(java.lang.String[].class);
File Line
com/buckosoft/PicMan/business/MetaSetChangeAuditor.java 48
com/buckosoft/PicMan/db/DatabaseImpl.java 517
				MetaSet ms = pmf.getDB().getMetaSet(set.getSid());
				for (MetaSetRule msr : ms.getRules()) {
					if (msr.getType() == MetaSet.NAME) {
						if (msr.getValue().equals(ss.getSetName())) {
File Line
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 100
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 93
			logger.info("tileRows=" + tileRows + " rowHeight=" + tileHeight);
		boolean workDone = true;
		while (workDone) {
			pass++;
			workDone = false;
			BufferedImage mbi;
			int	x,y;
			buildStep = "Calc";
			for (p=0; p<picList.size(); p++) {
File Line
com/buckosoft/PicMan/db/DatabaseImpl.java 958
com/buckosoft/PicMan/db/DatabaseImpl.java 983
			return(this.metaSetFilter.getListOfPicNamesInMetaSet(set, size, MetaSet.NONE, 0));
		if (set.isMicroSet() || set.isNanoSet())
			return(this.getMicroSetPicNamesInSet(set.getSid()));
		return(this.filtersDao.getPicNamesBySet(set, size));
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 258
com/buckosoft/PicMan/db/PicsDaoJdbc.java 531
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TIMESTAMP));
			declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
		}
		/**
		 * Method to update the <code>Set</code>'s data.
		 * @param List sets The sets that should be stored
		 * @return 0
		 */

		protected int update(Mosaic m) {
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 330
com/buckosoft/PicMan/db/PostersDaoJdbc.java 294
			super(ds, "INSERT INTO mosaicConfigs VALUES(?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
		}

		protected void insert(int sid, String key, String value) {
File Line
com/buckosoft/PicMan/service/support/MapDeserializersExt.java 19
com/buckosoft/PicMan/service/support/MapDeserializersExt.java 29
	public JsonDeserializer<?> findMapDeserializer(MapType type,
			DeserializationConfig config, BeanDescription beanDesc,
			KeyDeserializer keyDeserializer,
			TypeDeserializer elementTypeDeserializer,
			JsonDeserializer<?> elementDeserializer)
			throws JsonMappingException {
		return createMapDeserializer(type, config, beanDesc, keyDeserializer, elementTypeDeserializer, elementDeserializer);
	}

	@Override
File Line
com/buckosoft/PicMan/web/GetPicController.java 56
com/buckosoft/PicMan/web/SlideShowPageController.java 45
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	
	/** Spring standard http request handler, returns an image/jpeg
	 * @param request The http request
	 * @param response The http response
	 * @return null
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
File Line
com/buckosoft/PicMan/web/GetThumbNailController.java 171
com/buckosoft/PicMan/web/GetThumbNailController.java 207
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 71
com/buckosoft/PicMan/web/MetaSetFormController.java 113
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 60
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 60
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 97
com/buckosoft/PicMan/web/WebAjaxController.java 93
com/buckosoft/PicMan/web/WebEditController.java 57
com/buckosoft/PicMan/web/WebFilterController.java 59
		response.addHeader("Cache-Control", "max-age=0");
		response.addHeader("Cache-Control", "no-cache");
		response.addHeader("expires", "0");
		response.addHeader("Expires", "Tue, 01 Jan 1980 1:00:00 GMT");
		response.addHeader("Pragma", "no-cache");
File Line
com/buckosoft/PicMan/web/ScanForNewPicsFormController.java 40
com/buckosoft/PicMan/web/SpinContactsFormController.java 49
		setFormView("ScanForNewPicsForm");
	}
	
	protected void onBindAndValidate(HttpServletRequest request, Object command, BindException errors)
	throws Exception {
	}
	
	protected Object formBackingObject(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
File Line
com/buckosoft/PicMan/web/SlideShowPageController.java 38
com/buckosoft/PicMan/web/WebFilterController.java 43
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Spring standard http request handler
	 * @param request The http request
	 * @param response The http response
	 * @return The Spring Model and View
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 250
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 300
com/buckosoft/PicMan/db/RootsDaoJdbc.java 218
com/buckosoft/PicMan/db/SetsDaoJdbc.java 307
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 253
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 299
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 303
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 218
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 219
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 254
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 255
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 305
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 250
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 221
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 256
com/buckosoft/PicMan/db/PicsDaoJdbc.java 493
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 256
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 306
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 165
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 166
com/buckosoft/PicMan/db/PicsDaoJdbc.java 494
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TINYINT));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 259
com/buckosoft/PicMan/db/SetsDaoJdbc.java 253
com/buckosoft/PicMan/db/SetsDaoJdbc.java 310
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 260
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 309
com/buckosoft/PicMan/db/SetsDaoJdbc.java 252
com/buckosoft/PicMan/db/SetsDaoJdbc.java 309
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 251
com/buckosoft/PicMan/db/MosaicBatchesDaoJdbc.java 169
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
		}
		
		protected void insert(Frag f) {
File Line
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 127
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 146
		if (filterColumns == null)
			getFilterColumns();
		String s = "filters." + set.getName() + "_" + size;
		if (DEBUG)
			logger.info("getPicNamesBySet '" + s + "'");
		if (sql_getPicNamesBySetQUERY == null)
File Line
com/buckosoft/PicMan/db/FiltersMicroSetsDaoJdbc.java 166
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 167
			super(ds, "INSERT INTO filtersMicroSets VALUES(?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			compile();
		}

		protected void insert(int sid, int pid, int value) {
File Line
com/buckosoft/PicMan/db/MosaicBatchesDaoJdbc.java 197
com/buckosoft/PicMan/db/PostersDaoJdbc.java 223
			super(ds, "UPDATE mosaicBatches SET mid=?, sizes=? WHERE mbid = ? LIMIT 1");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			compile();
		}
		/**
		 * Method to update the <code>Set</code>'s data.
		 * @param List sets The sets that should be stored
		 * @return 0
		 */

		protected int update(MosaicBatch mb) {
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 32
com/buckosoft/PicMan/db/PostersDaoJdbc.java 32
public class MosaicsDaoJdbc implements MosaicsDao {
	private static final boolean DEBUG = true;
	protected final Log logger = LogFactory.getLog(getClass());

	private DataSource ds;
	
	/** Set the reference to the JDBC datasource.
	 * @param ds The datasource as configured by Spring.
	 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/WebContent/WEB-INF/picManDatabase/picManDatabase.xml">picManDatabase.xml</a>
	 */ 
	public void setDataSource(DataSource ds) {
		this.ds = ds;
	}

	/* (non-Javadoc)
	 * @see com.buckosoft.PicMan.db.MosaicsDao#getMosaic(int)
	 */
	public Mosaic getMosaic(int mid) {
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 330
com/buckosoft/PicMan/db/PostersDaoJdbc.java 294
com/buckosoft/PicMan/db/UsersDaoJdbc.java 293
			super(ds, "INSERT INTO mosaicConfigs VALUES(?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
		}

		protected void insert(int sid, String key, String value) {
File Line
com/buckosoft/PicMan/image/PicReader.java 169
com/buckosoft/PicMan/image/PicReader.java 367
				log.info("caught Exception");
			reader.dispose();
			bi = null;
			if (iis != null) {
				try {
					iis.close();
				} catch (Exception ex) {}
			}
			return(getXThumb(thumbHeight));
File Line
com/buckosoft/PicMan/web/EngineReportPageController.java 33
com/buckosoft/PicMan/web/FilterReportSummaryPageController.java 51
	protected final Log logger = LogFactory.getLog(getClass());
	
//	private PicManFacade pmf;
//	private DatabaseFacade dbf;
	
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
//	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
//	public PicManFacade getPicMan() { return(pmf); }

	/** Set the reference to the PicMan Database
	 * @param dbf The DatabaseFacade
	 */
//	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
//	public DatabaseFacade getDatabase() { return(dbf); }


	/** Spring standard http request handler
	 * @param request The http request
	 * @param response The http response
	 * @return The Spring Model and View
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
	throws ServletException, IOException {
		
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
File Line
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 31
com/buckosoft/PicMan/web/SlideShowPageController.java 36
public class MosaicDisplayConfigFormController extends BSAccountSimpleFormController {

	private static final boolean DEBUG = false;
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	public MosaicDisplayConfigFormController() {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 69
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 522
  }
  
  public com.buckosoft.PicMan.PicManService.PicFilterSOAP[] getFiltersForPic(java.lang.String auth, java.lang.String picName) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 413
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 620
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 630
                sid.value = ((java.lang.Integer) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "sid")), int.class)).intValue();
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 428
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 433
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 438
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 443
                active.value = ((java.lang.Boolean) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "active")), boolean.class)).booleanValue();
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 472
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 506
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 710
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 744
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 812
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 846
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, timestamp});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return (java.lang.String[]) _resp;
File Line
com/buckosoft/PicMan/business/ContactManager.java 411
com/buckosoft/PicMan/business/ContactManager.java 428
		Iterator<ContactParams> iter = list.iterator();
		while (iter.hasNext()) {
			ContactParams cpl = iter.next();
			if (cpl.equals(cp))
				return(true);
		}
		return(false);
	}
	/** Is this contact specififed on the spin list?
	 * @param cid The chainId
	 * @param setName The setName
	 * @param size The size
	 * @param contactNumber The contact sequence number
	 * @return true if this is a user specified spin request (on the spin list)
	 */
	private	boolean	isSpin(int cid, String setName, int size, int contactNumber) {
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 52
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 92
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 89
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 54
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	public String getInfo() {
		return(info);
	}

	protected boolean _build() {
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 65
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 77
		picList = pmf.getDB().getPics(this.mosaicSet, this.tileHeight);
		if (DEBUG)
			logger.info("Working from " + picList.size() + " pics");
		maxRow = this.masterPic.getHeight();
		maxCol = this.masterPic.getWidth();
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 249
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 253
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 303
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 218
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 219
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 254
com/buckosoft/PicMan/db/RootsDaoJdbc.java 217
					+ "picSelector=?, ratingMin=?, ratingMax=?, showUnused=? WHERE cid = ? LIMIT 1");
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.TINYINT));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 250
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 300
com/buckosoft/PicMan/db/RootsDaoJdbc.java 218
com/buckosoft/PicMan/db/SetsDaoJdbc.java 250
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 256
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 306
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 164
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 165
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 166
com/buckosoft/PicMan/db/PicsDaoJdbc.java 494
com/buckosoft/PicMan/db/PicsDaoJdbc.java 527
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TINYINT));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 298
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 183
com/buckosoft/PicMan/db/SetsDaoJdbc.java 306
			super(ds, "INSERT INTO chains VALUES(?,?,?, ?,?,?, ?,?,?, ?,?,?, ?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 249
com/buckosoft/PicMan/db/PicsDaoJdbc.java 492
com/buckosoft/PicMan/db/PicsDaoJdbc.java 496
com/buckosoft/PicMan/db/PicsDaoJdbc.java 529
com/buckosoft/PicMan/db/PostersDaoJdbc.java 192
			super(ds, "INSERT INTO contacts VALUES(?,?,?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/FiltersMicroSetsDaoJdbc.java 29
com/buckosoft/PicMan/db/PicsDaoJdbc.java 37
public class FiltersMicroSetsDaoJdbc implements FiltersMicroSetsDao {
	private final static boolean DEBUG = false;
	private final Log logger = LogFactory.getLog(getClass());
	
	private DataSource ds;
	
	/** Set the reference to the JDBC datasource.
	 * @param ds The datasource as configured by Spring.
	 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/WebContent/WEB-INF/picManDatabase/picManDatabase.xml">picManDatabase.xml</a>
	 */ 
	public void setDataSource(DataSource ds) {
		this.ds = ds;
	}
File Line
com/buckosoft/PicMan/db/FiltersMicroSetsDaoJdbc.java 141
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 173
			super(ds, "SELECT * from filtersMicroSets where sid = ? AND value >= ?");
            declareParameter(new SqlParameter(Types.INTEGER));
            declareParameter(new SqlParameter(Types.INTEGER));
			compile();
		}

		protected Object mapRow(ResultSet rs, int rowNum) throws SQLException {
File Line
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 182
com/buckosoft/PicMan/db/PicsDaoJdbc.java 495
com/buckosoft/PicMan/db/PicsDaoJdbc.java 528
			super(ds, "INSERT INTO metaSets VALUES(?,?,?,?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/MosaicVectorsDaoJdbc.java 68
com/buckosoft/PicMan/db/MosaicVectorsDaoJdbc.java 160
		for (d=1; d<=MosaicVector.MAXDEPTH; d++) {
			for (y=0; y<d; y++) {
				for (x=0; x<d; x++) {
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 407
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 546
			}

			jgen.writeFieldName(MAP_VALUE_NAME);
			
			// And then value
			if (valueElem == null) {
				provider.defaultSerializeNull(jgen);
			} else {
				Class<?> cc = valueElem.getClass();
				JsonSerializer<Object> serializer = serializers
File Line
com/buckosoft/PicMan/web/ChainManForm.java 96
com/buckosoft/PicMan/web/MetaSetForm.java 55
	}
	
	private	Integer[] rateSelectors = {
		9,8,7,6,5,4,3,2,1
	};

	/** Get an array of Integers that are the possible rates.
	 * @return Returns the rateSelectors.
	 */
	public Integer[] getRateSelectors() {
		return rateSelectors;
	}

	/** Get the name of the engine to build this chain.  If there is no engine, pick a reasonable default.
	 * @return the contactEngineName or 
	 */
	public String getContactEngineName() {
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 29
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 35
com/buckosoft/PicMan/web/PosterDisplayPageController.java 35
com/buckosoft/PicMan/web/SystemSetupFormController.java 34
	private final static boolean DEBUG = false;
	
    /** Logger for this class and subclasses */
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 37
com/buckosoft/PicMan/web/HomePageController.java 43
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 43
com/buckosoft/PicMan/web/PosterDisplayPageController.java 43
com/buckosoft/PicMan/web/SpinContactsForm.java 31
com/buckosoft/PicMan/web/SpinContactsFormController.java 39
com/buckosoft/PicMan/web/SyncSetupPageController.java 49
com/buckosoft/PicMan/web/SyncStatusPageController.java 46
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }

	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }
	public DatabaseFacade getDatabase() { return(dbf); }
	

    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 43
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 42
	protected final Log log = LogFactory.getLog(getClass());

	private PicManFacade pmf;
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Enable debug logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
		DEBUG = debugFlag;
	}
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 77
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 558
com/buckosoft/PicMan/PicManService/PicManService_PortType.java 47
  public int addFilter(java.lang.String auth, java.lang.String picName, com.buckosoft.PicMan.PicManService.PicFilterSOAP[] picFilters) throws java.rmi.RemoteException{
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 41
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 43
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 45
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 47
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 49
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 51
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 53
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 55
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 66
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 79
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 92
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 105
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 107
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 121
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 123
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 125
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 127
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 129
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 131
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 133
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 144
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 157
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 159
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 161
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 163
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 165
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 167
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 196
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 209
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 222
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 224
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 226
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 228
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 230
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 232
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 234
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 236
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sid"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 57
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 68
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 81
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 135
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 238
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "editDate"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
        oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 418
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 423
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 625
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 635
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 681
                name.value = (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "name")), java.lang.String.class);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 448
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 640
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 645
                editDate.value = (java.util.Calendar) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "editDate")), java.util.Calendar.class);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 65
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 79
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 77
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 68
		picList = pmf.getDB().getPics(this.mosaicSet, this.tileHeight);
		if (DEBUG)
			logger.info("Working from " + picList.size() + " pics");
		maxRow = this.masterPic.getHeight();
		maxCol = this.masterPic.getWidth();
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 245
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 307
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 127
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 225
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 270
							rateL[curRow][p] += Math.abs(((mpx>>16)&0xFF) - ((ppx>>16)&0xFF)) * 1;
						}
					}
File Line
com/buckosoft/PicMan/db/PicsDaoJdbc.java 40
com/buckosoft/PicMan/db/VirginsDaoJdbc.java 39
	private final Log logger = LogFactory.getLog(getClass());
	
	private DataSource ds;
	
	/** Set the reference to the JDBC datasource.
	 * @param ds The datasource as configured by Spring.
	 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/WebContent/WEB-INF/picManDatabase/picManDatabase.xml">picManDatabase.xml</a>
	 */ 
	public void setDataSource(DataSource ds) {
		this.ds = ds;
	}
	
	/** Get a List of all the pics in the database
	 * @return The (probably big) List
	 */
	@SuppressWarnings("unchecked")
	public List<Pic> getPics() {
File Line
com/buckosoft/PicMan/image/PicReader.java 356
com/buckosoft/PicMan/image/PicReader.java 367
				log.info("caught IllegalStateException");
			reader.dispose();
			bi = null;
			if (iis != null) {
				try {
					iis.close();
				} catch (Exception ex) {}
			}
			return(null);
		} catch (Exception e) {
File Line
com/buckosoft/PicMan/service/support/MapSerializersExt.java 19
com/buckosoft/PicMan/service/support/MapSerializersExt.java 29
			MapType type, BeanDescription beanDesc,
			JsonSerializer<Object> keySerializer,
			TypeSerializer elementTypeSerializer,
			JsonSerializer<Object> elementValueSerializer) {
		return createMapSerializer(config, type, beanDesc, keySerializer,
				elementTypeSerializer, elementValueSerializer);
	}
File Line
com/buckosoft/PicMan/web/ChainManFormController.java 54
com/buckosoft/PicMan/web/DatabaseConverterFormController.java 54
		this.pmf = pmf;
	}

	public void setDatabase(DatabaseFacade dbf) {
		this.dbf = dbf;
	}

	protected Object formBackingObject(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
File Line
com/buckosoft/PicMan/web/DatabaseConverterFormController.java 112
com/buckosoft/PicMan/web/MetaSetFormController.java 100
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 115
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 78
com/buckosoft/PicMan/web/MosaicSetupFormController.java 107
com/buckosoft/PicMan/web/PosterSetupFormController.java 102
com/buckosoft/PicMan/web/RootManFormController.java 72
com/buckosoft/PicMan/web/ScanForNewPicsFormController.java 58
com/buckosoft/PicMan/web/SetManFormController.java 90
com/buckosoft/PicMan/web/SpinContactsFormController.java 83
com/buckosoft/PicMan/web/SyncSetupPageController.java 80
com/buckosoft/PicMan/web/SyncStatusPageController.java 63
com/buckosoft/PicMan/web/SystemSetupFormController.java 126
com/buckosoft/PicMan/web/UserConfigFormController.java 78
	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
File Line
com/buckosoft/PicMan/web/FilterEditPageController.java 47
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 50
com/buckosoft/PicMan/web/PosterDisplayPageController.java 50
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
				throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		User user = (User)userWebSession.getUser();
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 129
com/buckosoft/PicMan/web/MosaicSetupFormController.java 121
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
    	User user = (User)userWebSession.getUser();
		MosaicSetupForm msf = (MosaicSetupForm)command;
		boolean userSettingsModified = false;
		boolean success = true;
File Line
com/buckosoft/PicMan/web/WebAjaxController.java 70
com/buckosoft/PicMan/web/WebEditController.java 40
	}

	/** Spring standard http request handler.
	 * @param request The http request.
	 * @param response The http response.
	 * @return null to return just an http status because we pushed the DOM out the response.
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) {
		String cid = request.getParameter("cid");
		String c = request.getParameter("c");
		String command = request.getParameter("dom");
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 34
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 72
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 85
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 98
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 114
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 150
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 173
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 184
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 202
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 215
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 242
        oper.setReturnQName(new javax.xml.namespace.QName("", "out"));
        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
        oper.setUse(org.apache.axis.constants.Use.LITERAL);
        _operations[0] = oper;
File Line
com/buckosoft/PicMan/business/PicImporterImpl.java 94
com/buckosoft/PicMan/business/PicImporterImpl.java 131
			try {
				success = fromFile.delete();
			} catch (Exception e) {
				return(ImportPicsDom.createDocument(iname, 1, "Failed to delete file: " + e.getLocalizedMessage()));		
			}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 66
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 87
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 69
		if (DEBUG)
			logger.info("Working from " + picList.size() + " pics");
		maxRow = this.masterPic.getHeight();
		maxCol = this.masterPic.getWidth();
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 97
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 127
							rate[p] += Math.abs(((mpx>>16)&0xFF) - ((ppx>>16)&0xFF)) * 1;
						}
					}
					// Portrait always wins over landscape because there is less pixels to go wrong.
					// Give equal weight per pixel column
					rate[p] /= mbi.getWidth();
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 155
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 150
				for (x=0; x<rate.length; x++) {
					if (rate[curRow][x] < best) {
						besti2 = besti;
						best = rate[curRow][x];
						besti = x;
					}
				}
File Line
com/buckosoft/PicMan/business/util/MD5SumUpdater.java 57
com/buckosoft/PicMan/business/util/MlbFilterFixer.java 61
		jle.setType(JobLogEntry.MD5SUM);
		pmf.addJobToLog(jle);
		Pic pic;
		while (iter.hasNext()) {
			picProcessing++;
			int cp = picProcessing * 100 / picCount;
			jle.setName("" + cp + "%");
File Line
com/buckosoft/PicMan/business/util/MD5SumUpdater.java 80
com/buckosoft/PicMan/web/GetPicController.java 141
			ImageOutputStream ios = ImageIO.createImageOutputStream(out);
			Iterator<ImageWriter> writers = ImageIO.getImageWritersByFormatName("jpg");
			ImageWriter writer = (ImageWriter)writers.next();
			writer.setOutput(ios);
			writer.write(bi);
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 133
com/buckosoft/PicMan/db/DatabaseImpl.java 820
		cssd.delete(c);
		Iterator<SetSize> iter = c.getSetSizes().iterator();
		while (iter.hasNext()) {
			SetSize ss = (SetSize)iter.next();
File Line
com/buckosoft/PicMan/db/DatabaseFacade.java 154
com/buckosoft/PicMan/db/FiltersDao.java 25
	int				getFilterCount();

	/** Get a list of the {@link com.buckosoft.PicMan.domain.Filter} column names from the database.
	 * @return The List.
	 */
	List<String>	getFilterColumns();

	/** Get a list of all of the {@link com.buckosoft.PicMan.domain.Filter}s in the database.
	 * @return The List.
	 */
	List<Filter>	getFilters();

	/** Get a list of all of the {@link com.buckosoft.PicMan.domain.Filter}s for this set/size.
	 * @param setName The name of the Set to query.
	 * @param size The thumbnail size to query.
	 * @return A List of the <code>Filter</code>s that match this query
	 */
	List<Filter>	getFiltersBySet(String setName, int size);

	/** Get a List of the Pic Names of the {@link com.buckosoft.PicMan.domain.Filter}s that match this query.
	 * @param setName The name of the Set to query
	 * @param size The thumbnail size to query
	 * @return A List of the Pic Names that match this query
	 */ 
	List<String>	getPicNamesBySet(String setName, int size);
File Line
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 289
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 324
			super(ds, "SELECT * from filters where pic = ?");
			declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
			if (filterColumns == null) {
				FilterColumnsQuery fcq = new FilterColumnsQuery(ds);
				fcq.execute();
			}
		}
File Line
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 290
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 301
			declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
			if (filterColumns == null) {
				FilterColumnsQuery fcq = new FilterColumnsQuery(ds);
				fcq.execute();
			}
		}

		FilterQuery(DataSource ds, String s, int size) {
File Line
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 531
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 556
						result = (Map<Object, Object>) creator.build(ctxt,
								buffer);
					} catch (Exception e) {
						wrapAndThrow(e, _mapType.getRawClass());
						return null;
					}
File Line
com/buckosoft/PicMan/web/GetThumbNailController.java 61
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 49
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 37
com/buckosoft/PicMan/web/WebAjaxController.java 63
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	
	/** Enable logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
		DEBUG = debugFlag;
	}

	/** Spring standard http request handler, returns an image/jpeg
	 * @param request The http request
	 * @param response The http response
	 * @return null
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
File Line
com/buckosoft/PicMan/web/MetaSetFormController.java 148
com/buckosoft/PicMan/web/MetaSetFormController.java 164
						errors.reject("X", "Failed to parse func rate operator " + i);
						return(showForm(request, response, errors));
					}
					int rateOp = Integer.parseInt(v);
					msr.setRateOp(rateOp);
					v = request.getParameter("text_" + i); 
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 29
com/buckosoft/PicMan/web/WebAjaxController.java 55
com/buckosoft/PicMan/web/WebEditController.java 33
	private static boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Enable debug logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
File Line
com/buckosoft/PicMan/web/WebEditController.java 97
com/buckosoft/PicMan/web/WebFilterController.java 65
		User user = null;
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		if (userWebSession != null) 
			user = (User)userWebSession.getUser();
		if (user == null) {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 34
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 59
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 72
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 85
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 98
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 114
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 137
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 150
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 173
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 184
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 202
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 215
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 242
        oper.setReturnQName(new javax.xml.namespace.QName("", "out"));
        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
        oper.setUse(org.apache.axis.constants.Use.LITERAL);
        _operations[0] = oper;
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 472
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 506
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 710
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 744
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 778
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 846
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, timestamp});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return (java.lang.String[]) _resp;
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 536
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 570
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 604
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 665
        _call.setOperationName(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "getFiltersForPic"));

        setRequestHeaders(_call);
        setAttachments(_call);
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, picName});
File Line
com/buckosoft/PicMan/business/contact/PosterEngine.java 217
com/buckosoft/PicMan/business/contact/PosterEngine.java 222
			g.drawLine(cWidth-x, y, cWidth-x-stepWidth, y);
			g.drawString("" + y, (int)(cWidth-x-(stepWidth/2)-frect.getCenterX()), (int)(y+frect.getHeight() + 3));
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 244
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 306
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 126
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 224
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 269
							rateL[curRow][p] += Math.abs(((mpx>>8)&0xFF)  - ((ppx>>8)&0xFF))  * 1;
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 98
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 102
		while (workDone) {
			pass++;
			workDone = false;
			BufferedImage mbi;
			int	x,y;
			buildStep = "Calc";
			for (p=0; p<picList.size(); p++) {
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 145
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 140
			}
			buildStep = "Draw";
			for (curRow=0; curRow<tileRows; curRow++) {
				curCol = curCols[curRow];
				int cr = curRow * tileHeight;
				if (curCol >= maxCol)
					continue;
File Line
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 32
com/buckosoft/PicMan/db/SetTimestampsDaoJdbc.java 34
	private static final boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());

	private DataSource ds;
	
	/** Set the reference to the JDBC datasource.
	 * @param ds The datasource as configured by Spring.
	 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/WebContent/WEB-INF/picManDatabase/picManDatabase.xml">picManDatabase.xml</a>
	 */ 
	public void setDataSource(DataSource ds) {
		this.ds = ds;
	}

	/* (non-Javadoc)
	 * @see com.buckosoft.PicMan.db.MosaicTilesDao#deleteMosaicTiles(int)
	 */
	public void deleteMosaicTiles(int mid) {
File Line
com/buckosoft/PicMan/db/logic/MetaSetFilter.java 31
com/buckosoft/PicMan/web/RootManFormController.java 32
com/buckosoft/PicMan/web/SetManFormController.java 37
	private	static final boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());

	private	DatabaseFacade	dbf;
	
	/** Set the reference to the Database
	 * @param dbf A reference to the database
	 */
	public	void setDatabase(DatabaseFacade dbf) {
		this.dbf = dbf;
	}
	
	/** Get a List of picNames for this MetaSet set and size
	 * @param set the set 
	 * @param size the size
	 * @param rateOp An index into the MetaSet rateOps table.  i.e. NONE, =, !=, &lt;, &gt;.
	 * @param rateVal The value to apply with the rateOp against this set
	 * @return A list of picNames
	 */
	public	List<String>	getListOfPicNamesInMetaSet(Set set, int size, int rateOp, int rateVal) {
File Line
com/buckosoft/PicMan/dom/HomeStatusDom.java 47
com/buckosoft/PicMan/dom/MosaicManDom.java 47
		return document;
	}
	
	private static void getDateElement(Element ele) {
		Date now = new Date();
		ele.addElement("date").addText(now.toString());
	}
File Line
com/buckosoft/PicMan/web/HomePageController.java 32
com/buckosoft/PicMan/web/MosaicAnalysePicController.java 37
public class HomePageController extends BSAccountHomePageController {
	
//	private final static boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());
	
	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	/** Set the reference to the PicMan API
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	/** bean getter so Spring AOP can determine the type
	 * @return The PicManFacade
	 */
	public PicManFacade getPicMan() { return(pmf); }
File Line
com/buckosoft/PicMan/web/MetaSetFormController.java 62
com/buckosoft/PicMan/web/SetManFormController.java 49
		setFormView("MetaSetForm");
	}

	protected Object formBackingObject(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		if (DEBUG)
			logger.info("formBackingObject SetupSystemForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 29
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 33
com/buckosoft/PicMan/web/SlideShowPageController.java 37
com/buckosoft/PicMan/web/WebAjaxController.java 55
com/buckosoft/PicMan/web/WebEditController.java 33
	private static boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Enable debug logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 77
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 146
com/buckosoft/PicMan/web/WebEditController.java 85
com/buckosoft/PicMan/web/WebFilterController.java 124
		} catch (NumberFormatException e) {
			logger.info(e);
			pmf.addError(e);
		} catch (IOException e) {
			logger.info(e);
			pmf.addError(e);
		}
File Line
com/buckosoft/PicMan/web/MosaicAnalysePicController.java 37
com/buckosoft/PicMan/web/SyncStatusPageController.java 32
public class MosaicAnalysePicController extends BSAccountPageController {
//	private final static boolean DEBUG = true;
	protected final Log logger = LogFactory.getLog(getClass());
	
	private PicManFacade pmf;
	private DatabaseFacade dbf;
	
	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
File Line
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 41
com/buckosoft/PicMan/web/UserConfigFormController.java 33
	private static boolean DEBUG = true;
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Enable debug logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 57
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 454
  }
  
  public java.lang.String[] getPicListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 59
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 65
  public java.lang.String[] getPicListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
      _initPicManServiceProxy();
    return picManService_PortType.getPicListNewerThan(auth, timestamp);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 63
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 488
  }
  
  public java.lang.String[] getFilterListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 71
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 524
com/buckosoft/PicMan/PicManService/PicManService_PortType.java 42
  public com.buckosoft.PicMan.PicManService.PicFilterSOAP[] getFiltersForPic(java.lang.String auth, java.lang.String picName) throws java.rmi.RemoteException{
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 87
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 651
  }
  
  public byte[] getPicPic(java.lang.String auth, javax.xml.rpc.holders.StringHolder picName) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 101
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 107
  public java.util.Calendar getClientSyncTimestamp(java.lang.String auth, java.lang.String host) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
      _initPicManServiceProxy();
    return picManService_PortType.getClientSyncTimestamp(auth, host);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 397
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 468
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 502
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 536
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 570
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 604
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 665
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 706
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 774
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 808
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 842
        _call.setOperationName(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "getSet"));

        setRequestHeaders(_call);
        setAttachments(_call);
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth, new java.lang.Integer(sid.value)});
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 448
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 788
                editDate.value = (java.util.Calendar) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "editDate")), java.util.Calendar.class);
            }
        }
  } catch (org.apache.axis.AxisFault axisFaultException) {
  throw axisFaultException;
}
    }

    public java.lang.String[] getPicListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException {
File Line
com/buckosoft/PicMan/business/PicImporterImpl.java 95
com/buckosoft/PicMan/business/PicImporterImpl.java 132
com/buckosoft/PicMan/business/PicImporterImpl.java 140
				success = fromFile.delete();
			} catch (Exception e) {
				return(ImportPicsDom.createDocument(iname, 1, "Failed to delete file: " + e.getLocalizedMessage()));		
			}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 96
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 126
							rate[p] += Math.abs(((mpx>>8)&0xFF)  - ((ppx>>8)&0xFF))  * 1;
							rate[p] += Math.abs(((mpx>>16)&0xFF) - ((ppx>>16)&0xFF)) * 1;
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 97
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 245
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 307
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 225
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 270
							rate[p] += Math.abs(((mpx>>16)&0xFF) - ((ppx>>16)&0xFF)) * 1;
						}
					}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 122
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 132
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 122
					MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol, curRow, mbi.getWidth(), mbi.getHeight());
					pmf.getDB().storeMosaicTile(tile);
				}
				gd.drawImage(mbi, null, curCol, curRow);
File Line
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 232
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 277
				rateL[curRow][p] *= (1+(rateWeight * (9-rateMap.get(curPicName))));
				//logger.info("rate[" + p + "]=" + rate[p] + " ("+ picList.get(p).getName() + ")");
			}
		}
		return(workDone);
	}

	private boolean _calcRight(BufferedImage mbi) {
File Line
com/buckosoft/PicMan/business/util/MD5SumUpdater.java 80
com/buckosoft/PicMan/web/GetThumbNailController.java 159
com/buckosoft/PicMan/web/MosaicAnalysePicController.java 107
			ImageOutputStream ios = ImageIO.createImageOutputStream(out);
			Iterator<ImageWriter> writers = ImageIO.getImageWritersByFormatName("jpg");
			ImageWriter writer = (ImageWriter)writers.next();
			writer.setOutput(ios);
			writer.write(bi);
File Line
com/buckosoft/PicMan/image/PicReader.java 151
com/buckosoft/PicMan/image/ThumbCache.java 163
				return(getXThumb(thumbHeight));
			}
			reader.setInput(iis, true);
			bi = reader.read(0);
			iis.close();
		} catch (IllegalStateException ise) {
			if (DEBUG)
File Line
com/buckosoft/PicMan/image/PicReader.java 169
com/buckosoft/PicMan/image/PicReader.java 356
				log.info("caught Exception");
			reader.dispose();
			bi = null;
			if (iis != null) {
				try {
					iis.close();
				} catch (Exception ex) {}
			}
			return(getXThumb(thumbHeight));
File Line
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 410
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 468
	protected final void _readAndBind(JsonParser jp,
			DeserializationContext ctxt, Map<Object, Object> result)
			throws IOException, JsonProcessingException {
		JsonToken t = jp.getCurrentToken();
		if (t == JsonToken.START_ARRAY) {
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 431
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 502
				} catch (Exception e) {
					// [JACKSON-55] Need to add reference information
					String keyDesc = "" + keyElem;
					wrapAndThrow(provider, e, value, keyDesc);
				}
			}
			
			jgen.writeEndObject();
		}
	}

	/**
	 * Method called to serialize fields, when the value type is statically
	 * known, so that value serializer is passed and does not need to be fetched
	 * from provider.
	 */
	protected void serializeFieldsUsing(Map<?, ?> value, JsonGenerator jgen,
File Line
com/buckosoft/PicMan/web/ChainManFormController.java 90
com/buckosoft/PicMan/web/DatabaseConverterFormController.java 89
com/buckosoft/PicMan/web/MetaSetFormController.java 93
com/buckosoft/PicMan/web/RootManFormController.java 65
		return(cmf);
	}

	protected void onBindAndValidate(HttpServletRequest request, Object command, BindException errors)
			throws Exception {

/*
		AccountForm accountForm = (AccountForm) command;
		Account account = accountForm.getAccount();

		if (request.getParameter("account.listOption") == null) {
			account.setListOption(false);
		}
		if (request.getParameter("account.bannerOption") == null) {
			account.setBannerOption(false);
		}

		errors.setNestedPath("account");
		getValidator().validate(account, errors);
		errors.setNestedPath("");
*/
	}

	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
File Line
com/buckosoft/PicMan/web/FilterEditPageController.java 47
com/buckosoft/PicMan/web/GetThumbNailController.java 167
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 50
com/buckosoft/PicMan/web/PosterDisplayPageController.java 50
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
				throws ServletException, IOException {

		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		User user = (User)userWebSession.getUser();
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 32
com/buckosoft/PicMan/web/MosaicAnalysePicController.java 39
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 38
com/buckosoft/PicMan/web/PosterDisplayPageController.java 38
com/buckosoft/PicMan/web/SpinContactsFormController.java 34
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }
File Line
com/buckosoft/PicMan/web/GetPicController.java 43
com/buckosoft/PicMan/web/MetaSetFormController.java 40
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 45
com/buckosoft/PicMan/web/MosaicSetupFormController.java 41
com/buckosoft/PicMan/web/PosterSetupFormController.java 40
	protected final Log logger = LogFactory.getLog(getClass());
	
	private DatabaseFacade dbf;
	private PicManFacade pmf;

	/** Set the reference to the PicMan Database
	 * @param dbf The DatabaseFacade
	 */
	public void setDatabase(DatabaseFacade dbf) { this.dbf = dbf; }

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
File Line
com/buckosoft/PicMan/web/HomePageController.java 35
com/buckosoft/PicMan/web/SystemSetupFormController.java 35
	protected final Log logger = LogFactory.getLog(getClass());
	
	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	/** Set the reference to the PicMan API
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	/** bean getter so Spring AOP can determine the type
	 * @return The PicManFacade
	 */
	public PicManFacade getPicMan() { return(pmf); }
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 30
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 45
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 47
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 94
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 127
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 131
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 180
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 198
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 211
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 41
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 66
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 79
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 92
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 105
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 107
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 121
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 123
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 144
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 146
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 157
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 159
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 163
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 196
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 209
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 222
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 226
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 228
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "auth"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 57
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 135
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 165
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 167
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "editDate"), org.apache.axis.description.ParameterDesc.OUT, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 68
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 81
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 133
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 238
        param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "timestamp"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"), java.util.Calendar.class, false, false);
        oper.addParameter(param);
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 363
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 397
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 468
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 502
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 536
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 570
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 604
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 665
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 706
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 740
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 774
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 808
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 842
        _call.setOperationName(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "getSetCount"));

        setRequestHeaders(_call);
        setAttachments(_call);
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth});
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 367
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 472
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 506
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 540
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 574
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 710
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 744
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 778
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 812
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 846
 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {auth});

        if (_resp instanceof java.rmi.RemoteException) {
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            extractAttachments(_call);
            try {
                return ((java.lang.Integer) _resp).intValue();
File Line
com/buckosoft/PicMan/business/BatchManager.java 186
com/buckosoft/PicMan/business/BatchManager.java 200
com/buckosoft/PicMan/business/BatchManager.java 214
					this.picSizeUpdater.run();
				} catch (Exception e) {
					pmf.addError(e);
					e.printStackTrace();
				}
				pmf.getDB().getSystem().setUpdatePicSize(false);
File Line
com/buckosoft/PicMan/business/ContactManager.java 403
com/buckosoft/PicMan/dom/EngineReportDom.java 97
				logger.info("addSpin: cp cid=" + cp.getCid() + " ss= " + cp.getSetName() + "_" + cp.getSize() + " cn=" + cp.getContactNumber());
			if (!isOnList(spinList, cp)) {
File Line
com/buckosoft/PicMan/business/PicImporterImpl.java 141
com/buckosoft/PicMan/business/PicImporterImpl.java 154
			} catch (Exception e) {
				return(ImportPicsDom.createDocument(iname, 1, "Failed to delete file: " + e.getLocalizedMessage()));
			}
			
		}
		if (!success) {
File Line
com/buckosoft/PicMan/business/contact/ContactEngine.java 142
com/buckosoft/PicMan/business/mosaic/MosaicEngine.java 170
	protected boolean writePic(BufferedImage bi, boolean makeBackup) {
		Iterator<ImageWriter> writers = ImageIO.getImageWritersByFormatName("jpg");
		ImageWriter writer = (ImageWriter)writers.next();
		File file = new File(cPath + ".jpg");
File Line
com/buckosoft/PicMan/business/contact/PosterEngine.java 215
com/buckosoft/PicMan/business/contact/PosterEngine.java 220
			g.drawLine(x, y, x+stepWidth, y);
			g.drawString("" + y, (int)(x+(stepWidth/2)-frect.getCenterX()), (int)(y+frect.getHeight() + 3));
File Line
com/buckosoft/PicMan/business/contact/engine/QuadrantSets.java 60
com/buckosoft/PicMan/business/contact/engine/Ribbon.java 43
com/buckosoft/PicMan/business/contact/engine/SequentialSets.java 58
		if (picsInContact.size() == 0) {
			RuntimeException e = new RuntimeException("No pics to make contact " + contactParams.getUuid());
			pmf.addError(e);
			return(false);
		}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 75
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 52
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 49
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 50
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 72
	public	String	getStatus() {
		StringBuilder sb = new StringBuilder();
		sb.append(buildStep);
		sb.append(": pass=");
		sb.append(pass);
		if (workDoneL || workDoneR)
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 91
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 98
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 89
		info = "tileRows=" + tileRows + " maxCol=" + maxCol + " pics=" + picList.size();
		if (DEBUG)
			logger.info("tileRows=" + tileRows + " rowHeight=" + tileHeight);
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 311
com/buckosoft/PicMan/db/PostersDaoJdbc.java 275
			super(ds, "DELETE FROM mosaicConfigs WHERE mid = (?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			compile();
		}
		
		protected void delete(int sid) {
			super.update(sid);
		}
	}
	/**
	 * <code>MosaicConfigs</code> Insert Object.
	 */
	protected class MosaicConfigsInsert extends SqlUpdate {
File Line
com/buckosoft/PicMan/dom/SetManDom.java 35
com/buckosoft/PicMan/dom/SetsInChainDom.java 32
		List<Set> sets = pmf.getDB().getSets();
		Iterator<Set> iter = sets.iterator();
		while (iter.hasNext()) {
			Set set = iter.next();
			root.add(getSetElement(set));
File Line
com/buckosoft/PicMan/domain/Chain.java 137
com/buckosoft/PicMan/domain/Chain.java 160
		Iterator<SetSize> iter = this.setSizes.iterator();
		while (iter.hasNext()) {
			SetSize ss = (SetSize)iter.next();
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 430
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 566
					serializer.serialize(valueElem, jgen, provider);
				} catch (Exception e) {
					// [JACKSON-55] Need to add reference information
					String keyDesc = "" + keyElem;
					wrapAndThrow(provider, e, value, keyDesc);
				}
			}
			
			jgen.writeEndObject();
		}
	}
File Line
com/buckosoft/PicMan/web/DatabaseConverterFormController.java 112
com/buckosoft/PicMan/web/MetaSetFormController.java 100
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 115
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 78
com/buckosoft/PicMan/web/MosaicSetupFormController.java 107
com/buckosoft/PicMan/web/PosterSetupFormController.java 102
com/buckosoft/PicMan/web/RootManFormController.java 72
com/buckosoft/PicMan/web/ScanForNewPicsFormController.java 58
com/buckosoft/PicMan/web/SetManFormController.java 90
com/buckosoft/PicMan/web/ShowErrorPageController.java 34
com/buckosoft/PicMan/web/SpinContactsFormController.java 83
com/buckosoft/PicMan/web/SystemSetupFormController.java 126
com/buckosoft/PicMan/web/UserConfigFormController.java 78
	protected Map<String, Object> referenceData(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
File Line
com/buckosoft/PicMan/web/HomePageController.java 32
com/buckosoft/PicMan/web/SyncStatusPageController.java 32
public class HomePageController extends BSAccountHomePageController {
	
//	private final static boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());
	
	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	/** Set the reference to the PicMan API
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
File Line
com/buckosoft/PicMan/web/MetaSetFormController.java 74
com/buckosoft/PicMan/web/SetManFormController.java 59
		msf.setMaxRules(MetaSet.MAX_RULES);
		String	v;
		if ((v = request.getParameter("s")) != null) {
			Set set = dbf.getSet(Integer.parseInt(v)).clone();
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 29
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 38
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 33
com/buckosoft/PicMan/web/WebAjaxController.java 55
	private static boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Enable debug logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 54
com/buckosoft/PicMan/web/WebAjaxController.java 80
com/buckosoft/PicMan/web/WebEditController.java 51
		String command = request.getParameter("command");
		if (DEBUG) {
			if (!command.equals("PicManStatus"))
				logger.info("XML Request com=" + command + " c=" + c + " cid=" + cid);
		}
File Line
com/buckosoft/PicMan/web/PicFilterWeb.java 69
com/buckosoft/PicMan/web/PicFilterWeb.java 103
com/buckosoft/PicMan/web/PicFilterWeb.java 117
		while (iset.hasNext()) {
			set = (Set)iset.next();
			if (set.isActive() && !set.isMetaSet()) {
File Line
com/buckosoft/PicMan/web/SetManFormController.java 81
com/buckosoft/PicMan/web/SetManFormController.java 114
				errors.reject("", "Can't have an empty set name");
		}
		if (smf.getNewSet().getName() != null && smf.getNewSet().getName().length() > 0) {
File Line
com/buckosoft/PicMan/PicManService/PicFilterSOAP.java 171
com/buckosoft/PicMan/PicManService/PicFilterSOAP.java 177
com/buckosoft/PicMan/PicManService/PicFilterSOAP.java 183
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("timeStamp");
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 99
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 760
  }
  
  public java.util.Calendar getClientSyncTimestamp(java.lang.String auth, java.lang.String host) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 105
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 794
  }
  
  public java.lang.String setClientSyncTimestamp(java.lang.String auth, java.lang.String host) throws java.rmi.RemoteException{
    if (picManService_PortType == null)
File Line
com/buckosoft/PicMan/business/contact/PosterEngine.java 216
com/buckosoft/PicMan/business/contact/PosterEngine.java 218
			g.drawString("" + y, (int)(x+(stepWidth/2)-frect.getCenterX()), (int)(y+frect.getHeight() + 3));
			g.drawLine(cWidth-x, y, cWidth-x-stepWidth, y);
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 52
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 60
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 54
		sb.append(" p=");
		sb.append(p);
		return(sb.toString());
	}

	public String getInfo() {
		return(info);
	}
File Line
com/buckosoft/PicMan/business/mosaic/engine/FirstRibbon.java 96
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 244
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 306
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 224
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 269
							rate[p] += Math.abs(((mpx>>8)&0xFF)  - ((ppx>>8)&0xFF))  * 1;
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 175
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 132
				MosaicTile	tile = new MosaicTile(mosaicId, picList.get(besti).getPid(), curCol, cr, mbi.getWidth(), mbi.getHeight());
				pmf.getDB().storeMosaicTile(tile);
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 256
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 306
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 167
com/buckosoft/PicMan/db/PicsDaoJdbc.java 494
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 259
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 310
com/buckosoft/PicMan/db/SetsDaoJdbc.java 252
com/buckosoft/PicMan/db/SetsDaoJdbc.java 309
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 299
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 219
com/buckosoft/PicMan/db/RootsDaoJdbc.java 269
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 250
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 185
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 172
com/buckosoft/PicMan/db/PicsDaoJdbc.java 493
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 251
com/buckosoft/PicMan/db/PicsDaoJdbc.java 495
com/buckosoft/PicMan/db/PicsDaoJdbc.java 528
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 280
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 290
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 301
			super(ds, "SELECT * from filters");
			compile();
			if (filterColumns == null) {
				FilterColumnsQuery fcq = new FilterColumnsQuery(ds);
				fcq.execute();
			}
		}
		
		FilterQuery(DataSource ds, String pic) {
File Line
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 31
com/buckosoft/PicMan/db/UsersDaoJdbc.java 36
public class MosaicTilesDaoJdbc implements MosaicTilesDao {
	private static final boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());

	private DataSource ds;
	
	/** Set the reference to the JDBC datasource.
	 * @param ds The datasource as configured by Spring.
	 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/WebContent/WEB-INF/picManDatabase/picManDatabase.xml">picManDatabase.xml</a>
	 */ 
	public void setDataSource(DataSource ds) {
File Line
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 32
com/buckosoft/PicMan/db/SetTimestampsDaoJdbc.java 34
com/buckosoft/PicMan/db/VirginsDaoJdbc.java 37
	private static final boolean DEBUG = false;
	protected final Log logger = LogFactory.getLog(getClass());

	private DataSource ds;
	
	/** Set the reference to the JDBC datasource.
	 * @param ds The datasource as configured by Spring.
	 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/WebContent/WEB-INF/picManDatabase/picManDatabase.xml">picManDatabase.xml</a>
	 */ 
	public void setDataSource(DataSource ds) {
		this.ds = ds;
	}
File Line
com/buckosoft/PicMan/db/PicsDaoJdbc.java 496
com/buckosoft/PicMan/db/PicsDaoJdbc.java 529
com/buckosoft/PicMan/db/PostersDaoJdbc.java 223
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/logic/MetaSetFilter.java 124
com/buckosoft/PicMan/db/logic/MetaSetFilter.java 175
			while (iter.hasNext()) {
				MetaSetRule rule = iter.next();
				if (rule.getType() == MetaSet.NAME) {
					boolean	filterBool;
File Line
com/buckosoft/PicMan/domain/Chain.java 162
com/buckosoft/PicMan/web/SetSizeWebTable.java 86
			SetSize ss = (SetSize)iter.next();
			if (ss.getSetName().equals(setName) && ss.getSize() == size)
				return(true);
		}
		return(false);
	}
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 502
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 567
				} catch (Exception e) {
					// [JACKSON-55] Need to add reference information
					String keyDesc = "" + keyElem;
					wrapAndThrow(provider, e, value, keyDesc);
				}
			}

			jgen.writeEndObject();
		}
	}
File Line
com/buckosoft/PicMan/web/FilterReportPageController.java 32
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 38
com/buckosoft/PicMan/web/PosterDisplayPageController.java 38
com/buckosoft/PicMan/web/SpinContactsFormController.java 34
com/buckosoft/PicMan/web/SyncStatusPageController.java 35
com/buckosoft/PicMan/web/SystemSetupFormController.java 35
    protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade	pmf;
	private DatabaseFacade	dbf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
File Line
com/buckosoft/PicMan/web/MetaSetFormController.java 153
com/buckosoft/PicMan/web/MetaSetFormController.java 162
					v = request.getParameter("text_" + i); 
					if (v == null) {
						errors.reject("X", "Failed to parse rate operator " + i);
						return(showForm(request, response, errors));
					}
File Line
com/buckosoft/PicMan/web/ScanForNewPicsFormController.java 26
com/buckosoft/PicMan/web/WebFilterController.java 42
public class ScanForNewPicsFormController extends BSAccountSimpleFormController {
	
	/** Logger for this class and subclasses */
	protected final Log logger = LogFactory.getLog(getClass());
	
	private PicManFacade pmf;
	
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }
	public PicManFacade getPicMan() { return(pmf); }
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 448
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 645
                editDate.value = (java.util.Calendar) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "editDate")), java.util.Calendar.class);
            }
        }
  } catch (org.apache.axis.AxisFault axisFaultException) {
  throw axisFaultException;
}
    }

    public java.lang.String[] getPicListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException {
File Line
com/buckosoft/PicMan/business/ContactManager.java 403
com/buckosoft/PicMan/business/ContactManager.java 438
com/buckosoft/PicMan/dom/EngineReportDom.java 97
				logger.info("addSpin: cp cid=" + cp.getCid() + " ss= " + cp.getSetName() + "_" + cp.getSize() + " cn=" + cp.getContactNumber());
File Line
com/buckosoft/PicMan/business/contact/engine/QuadrantSets.java 92
com/buckosoft/PicMan/business/contact/engine/Ribbon.java 52
com/buckosoft/PicMan/business/contact/engine/SequentialSets.java 90
		c = new Contact();
		c.setName(cUuid);
		c.setStartTime(new Date());
		c.setCid(chain.getCid());
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 73
com/buckosoft/PicMan/business/mosaic/engine/SampleMaker.java 77
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 61
	}

	protected boolean _build() {
		Graphics2D	gd = bi.createGraphics();
		
		// 75, pull from this size set even though the size calc should be able to deal with, say, a 50 and figure it out.
		picList = pmf.getDB().getPics(this.mosaicSet, 75);
File Line
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 316
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 365
				MosaicTile	tile = new MosaicTile(this.mid, picList.get(besti).getPid(), curCol-bi.getWidth(), cr, bi.getWidth(), bi.getHeight());
				dbf.storeMosaicTile(tile);
			}
			gd.drawImage(bi, null, curCol-bi.getWidth(), cr);
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 249
com/buckosoft/PicMan/db/RootsDaoJdbc.java 217
com/buckosoft/PicMan/db/RootsDaoJdbc.java 269
					+ "picSelector=?, ratingMin=?, ratingMax=?, showUnused=? WHERE cid = ? LIMIT 1");
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 256
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 306
com/buckosoft/PicMan/db/FiltersMicroSetsDaoJdbc.java 166
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 164
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 165
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 166
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 167
com/buckosoft/PicMan/db/PicsDaoJdbc.java 494
com/buckosoft/PicMan/db/PicsDaoJdbc.java 527
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 298
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 183
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 330
com/buckosoft/PicMan/db/PostersDaoJdbc.java 294
com/buckosoft/PicMan/db/SetsDaoJdbc.java 306
com/buckosoft/PicMan/db/UsersDaoJdbc.java 293
			super(ds, "INSERT INTO chains VALUES(?,?,?, ?,?,?, ?,?,?, ?,?,?, ?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 317
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 338
		protected void insert(Chain c) {
			Object[] objs = new Object[] {
				new Integer(c.getCid()),
				c.getName(), c.getShortName(),
File Line
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 249
com/buckosoft/PicMan/db/MosaicBatchesDaoJdbc.java 197
com/buckosoft/PicMan/db/PicsDaoJdbc.java 492
com/buckosoft/PicMan/db/PicsDaoJdbc.java 496
com/buckosoft/PicMan/db/PicsDaoJdbc.java 529
com/buckosoft/PicMan/db/PostersDaoJdbc.java 192
com/buckosoft/PicMan/db/PostersDaoJdbc.java 223
			super(ds, "INSERT INTO contacts VALUES(?,?,?,?,?)");
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
File Line
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 251
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 182
com/buckosoft/PicMan/db/MosaicBatchesDaoJdbc.java 169
com/buckosoft/PicMan/db/PicsDaoJdbc.java 495
com/buckosoft/PicMan/db/PicsDaoJdbc.java 528
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 62
com/buckosoft/PicMan/db/FiltersDaoJdbc.java 73
		if (DEBUG)
			logger.info(s);
		SqlUpdate sf = new SqlUpdate(ds, s);
		sf.update();
		filterColumns = null;
	}

	public void renameSet(String oldName, String newName, int size) {
File Line
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 138
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 142
        		msr.setType(MetaSet.NAME);
        		msr.setRateOp(rs.getInt("rateOp"));
        		msr.setRateVal(rs.getInt("rateVal"));
        	} else if (s.equals(s_FUNC)) {
File Line
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 33
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 34
com/buckosoft/PicMan/db/PostersDaoJdbc.java 34
com/buckosoft/PicMan/db/SetTimestampsDaoJdbc.java 35
	protected final Log logger = LogFactory.getLog(getClass());

	private DataSource ds;
	
	/** Set the reference to the JDBC datasource.
	 * @param ds The datasource as configured by Spring.
	 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/WebContent/WEB-INF/picManDatabase/picManDatabase.xml">picManDatabase.xml</a>
	 */ 
	public void setDataSource(DataSource ds) {
		this.ds = ds;
	}

	/* (non-Javadoc)
	 * @see com.buckosoft.PicMan.db.MosaicTilesDao#deleteMosaicTiles(int)
	 */
	public void deleteMosaicTiles(int mid) {
File Line
com/buckosoft/PicMan/db/PostersDaoJdbc.java 193
com/buckosoft/PicMan/db/PostersDaoJdbc.java 222
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
File Line
com/buckosoft/PicMan/dom/DirsInDirDom.java 24
com/buckosoft/PicMan/dom/FilesInDirCountDom.java 19
public class DirsInDirDom {
	/** Create a DOM of the dirs in this directory
	 * @param rid The root id to look under
	 * @param dir The subdirectory to look under.  "" means look under the top directory.
	 * @return A DOM of dirNames
	 */
	static public Document createDocument(PicManFacade pmf, int rid, String dir) {
		Document document = DocumentHelper.createDocument();
		Element root = document.addElement("DirsInDir");
File Line
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 365
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 410
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 468
	public Map<Object, Object> deserialize(JsonParser jp,
			DeserializationContext ctxt, Map<Object, Object> result)
			throws IOException, JsonProcessingException {
		// Ok: must point to START_ARRAY or START_OBJECT
		JsonToken t = jp.getCurrentToken();
		if (t != JsonToken.START_ARRAY && t != JsonToken.START_OBJECT) {
File Line
com/buckosoft/PicMan/web/ChainManFormController.java 78
com/buckosoft/PicMan/web/MosaicSetupForm.java 340
		List<String> classes = new LinkedList<String>();
		for (i=0; i<cl.length; i++) {
			if (cl[i].indexOf('$') != -1)
				continue;
File Line
com/buckosoft/PicMan/web/EngineReportPageController.java 64
com/buckosoft/PicMan/web/FilterEditPageController.java 53
com/buckosoft/PicMan/web/FilterReportPageController.java 51
com/buckosoft/PicMan/web/FilterReportSummaryPageController.java 58
com/buckosoft/PicMan/web/ImportPicsPageController.java 43
com/buckosoft/PicMan/web/JobLogReportPageController.java 35
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 51
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 58
com/buckosoft/PicMan/web/PicBrowserPageController.java 43
com/buckosoft/PicMan/web/PosterDisplayPageController.java 58
com/buckosoft/PicMan/web/SlideShowPageController.java 62
com/buckosoft/PicMan/web/VirginProcessPageController.java 46
		User user = (User)userWebSession.getUser();
		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
		myModel.put("refreshDelay", "" + 10);
File Line
com/buckosoft/PicMan/web/GetThumbNailController.java 182
com/buckosoft/PicMan/web/GetThumbNailController.java 223
		if (pmf.getMosaicMan() == null || pmf.getMosaicMan().getMosaicEngine() == null) {
			small = pmf.getPicReader().getXThumb(dbf.getSystem().getThumbHeight()).getImage();
		} else {
File Line
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 77
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 66
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 91
com/buckosoft/PicMan/web/WebAjaxController.java 87
com/buckosoft/PicMan/web/WebEditController.java 97
com/buckosoft/PicMan/web/WebFilterController.java 65
		User user = null;
		BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		if (userWebSession != null) 
			user = (User)userWebSession.getUser();
File Line
com/buckosoft/PicMan/web/MetaSetForm.java 92
com/buckosoft/PicMan/web/MosaicSetupForm.java 231
com/buckosoft/PicMan/web/PosterSetupForm.java 211
	}
	/**
	 * @return the sets
	 */
	public List<Set> getSets() {
		return sets;
	}
	/**
	 * @param sets the sets to set
	 */
	public void setSets(List<Set> sets) {
		this.sets = sets;
	}
	/**
	 * @return the rateOps
	 */
	public RateOp[] getRateOps() {
File Line
com/buckosoft/PicMan/web/MetaSetFormController.java 62
com/buckosoft/PicMan/web/PosterSetupFormController.java 61
com/buckosoft/PicMan/web/RootManFormController.java 47
com/buckosoft/PicMan/web/SetManFormController.java 49
com/buckosoft/PicMan/web/SystemSetupFormController.java 53
		setFormView("MetaSetForm");
	}

	protected Object formBackingObject(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		if (DEBUG)
			logger.info("formBackingObject SetupSystemForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/web/MosaicAnalyseAjaxController.java 30
com/buckosoft/PicMan/web/ScanForNewPicsFormController.java 29
com/buckosoft/PicMan/web/UserConfigFormController.java 34
com/buckosoft/PicMan/web/WebAjaxController.java 56
com/buckosoft/PicMan/web/WebFilterController.java 43
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }

	/** Enable debug logger output on this module
	 * @param debugFlag true == turn on debugging.
	 */
	public void setDEBUG(boolean debugFlag) {
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 69
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 51
com/buckosoft/PicMan/web/MosaicSetupFormController.java 65
com/buckosoft/PicMan/web/PosterDisplayPageController.java 51
	protected Object formBackingObject(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
    	User user = (User)userWebSession.getUser();
		if (DEBUG)
			logger.info("formBackingObject mosaicForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/web/MosaicBatchSetupFormController.java 175
com/buckosoft/PicMan/web/MosaicSetupFormController.java 171
		if (user.getMosaicTestPic() != msf.getMasterPic()) {
			user.setMosaicTestPic(msf.getMasterPic());
			userSettingsModified = true;
		}
		if (userSettingsModified)
File Line
com/buckosoft/PicMan/web/MosaicDisplayAjaxController.java 39
com/buckosoft/PicMan/web/MosaicDisplayConfigFormController.java 34
com/buckosoft/PicMan/web/PicBrowserAjaxController.java 42
com/buckosoft/PicMan/web/SlideShowPageController.java 38
com/buckosoft/PicMan/web/WebEditController.java 34
	protected final Log logger = LogFactory.getLog(getClass());

	private PicManFacade pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public void setPicMan(PicManFacade pmf) { this.pmf = pmf; }


	/** Spring standard http request handler, outputs a {@link MosaicManDom}
	 * @param request The http request
	 * @param response The http response
	 * @return null
	 */ 
	public ModelAndView handleRequest(HttpServletRequest request,
File Line
com/buckosoft/PicMan/web/RootManFormController.java 109
com/buckosoft/PicMan/web/SetManFormController.java 144
com/buckosoft/PicMan/web/SystemSetupFormController.java 158
		if (success) {
			response.sendRedirect("home.do");
			return(null);
		}
		else
			return super.onSubmit(request, response, command, errors);
	}
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 59
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 456
com/buckosoft/PicMan/PicManService/PicManService_PortType.java 31
  public java.lang.String[] getPicListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException{
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 65
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 490
com/buckosoft/PicMan/PicManService/PicManService_PortType.java 37
  public java.lang.String[] getFilterListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException{
File Line
com/buckosoft/PicMan/PicManService/PicManServiceProxy.java 89
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 653
com/buckosoft/PicMan/PicManService/PicManService_PortType.java 57
  public byte[] getPicPic(java.lang.String auth, javax.xml.rpc.holders.StringHolder picName) throws java.rmi.RemoteException{
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 448
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 482
                editDate.value = (java.util.Calendar) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "editDate")), java.util.Calendar.class);
            }
        }
  } catch (org.apache.axis.AxisFault axisFaultException) {
  throw axisFaultException;
}
    }

    public java.lang.String[] getPicListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException {
File Line
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 482
com/buckosoft/PicMan/PicManService/PicManServiceSOAPStub.java 686
                return (java.lang.String[]) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String[].class);
            }
        }
  } catch (org.apache.axis.AxisFault axisFaultException) {
  throw axisFaultException;
}
    }

    public java.lang.String[] getFilterListNewerThan(java.lang.String auth, java.util.Calendar timestamp) throws java.rmi.RemoteException {
File Line
com/buckosoft/PicMan/business/ContactManager.java 411
com/buckosoft/PicMan/business/ContactManager.java 439
		Iterator<ContactParams> iter = list.iterator();
		while (iter.hasNext()) {
			ContactParams cpl = iter.next();
			if (cpl.equals(cp))
File Line
com/buckosoft/PicMan/business/MetaSetChangeAuditor.java 26
com/buckosoft/PicMan/web/ScanForNewPicsFormController.java 26
com/buckosoft/PicMan/web/WebFilterController.java 42
public class MetaSetChangeAuditor implements SetChangedListener {

	protected final Log logger = LogFactory.getLog(getClass());

	private	PicManFacade	pmf;

	/** Set the reference to the PicMan API.
	 * @param pmf The PicManFacade
	 */
	public	void setPicMan(PicManFacade pmf) {
		this.pmf = pmf;
File Line
com/buckosoft/PicMan/business/PosterManager.java 42
com/buckosoft/PicMan/web/ImportPicsAjaxController.java 43
	private final Log log = LogFactory.getLog(getClass());

	private	PicManFacade	pmf;
	
	/** Set the reference to the primary PicMan api.
	 * @param pmf The one and only PicManFacade
	 */
	public	void setPicMan(PicManFacade pmf) {
		this.pmf = pmf;
	}

	/** Construct a PosterParams from this Poster
	 * @param poster The Poster to use as our basis
	 * @return a new PosterParams
	 */
	public PosterParams getPosterParams(Poster poster) {
File Line
com/buckosoft/PicMan/business/mosaic/engine/FourthRibbon.java 142
com/buckosoft/PicMan/business/mosaic/engine/SecondRibbon.java 87
com/buckosoft/PicMan/business/mosaic/engine/ThirdRibbon.java 139
		rateR = new long[tileRows][picList.size()];		// rate each pic for this location
		used = new int[picList.size()];					// number of times each pic is used
		info = "tileRows=" + tileRows + " startRow=" + startRow + " pics=" + picList.size();
File Line
com/buckosoft/PicMan/business/mosaic/engine/HSVRibbon.java 152
com/buckosoft/PicMan/business/mosaic/engine/VectorRibbon.java 105
				float	best = Float.MAX_VALUE;
				int		besti = -1;
				int		besti2 = -1;
				for (x=0; x<rate.length; x++) {
					if (rate[curRow][x] < best) {
File Line
com/buckosoft/PicMan/business/util/MD5SumUpdater.java 80
com/buckosoft/PicMan/web/GetThumbNailController.java 177
com/buckosoft/PicMan/web/GetThumbNailController.java 213
			ImageOutputStream ios = ImageIO.createImageOutputStream(out);
			Iterator<ImageWriter> writers = ImageIO.getImageWritersByFormatName("jpg");
			ImageWriter writer = (ImageWriter)writers.next();
			writer.setOutput(ios);
File Line
com/buckosoft/PicMan/db/ChainsDaoJdbc.java 262
com/buckosoft/PicMan/db/RootsDaoJdbc.java 220
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.TINYINT));
			declareParameter(new SqlParameter(Types.INTEGER));
			compile();
		}

		/**
		 * Method to update a <code>Chain</code>'s data.
		 * @param c The Chain to update
		 * @return the number of rows affected by the update (better be 1)
		 */
		protected int update(Chain c) {
File Line
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 252
com/buckosoft/PicMan/db/MosaicBatchesDaoJdbc.java 170
com/buckosoft/PicMan/db/PostersDaoJdbc.java 194
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
		}
		
		protected void insert(Frag f) {
File Line
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 279
com/buckosoft/PicMan/db/ContactsDaoJdbc.java 296
			super(ds, "SELECT * from contactSummary where cid = ? and name = ?");
            declareParameter(new SqlParameter(Types.INTEGER));
            declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
		}

		ContactsSummaryQuery(DataSource ds, Date date) {
File Line
com/buckosoft/PicMan/db/DatabaseImpl.java 821
com/buckosoft/PicMan/domain/Chain.java 137
		Iterator<SetSize> iter = c.getSetSizes().iterator();
		while (iter.hasNext()) {
			SetSize ss = (SetSize)iter.next();
			boolean match = false;
			Iterator<Set> iterThe = theList.iterator();
File Line
com/buckosoft/PicMan/db/FiltersMicroSetsDaoJdbc.java 31
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 33
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 34
com/buckosoft/PicMan/db/PostersDaoJdbc.java 34
com/buckosoft/PicMan/db/SetTimestampsDaoJdbc.java 35
	private final Log logger = LogFactory.getLog(getClass());
	
	private DataSource ds;
	
	/** Set the reference to the JDBC datasource.
	 * @param ds The datasource as configured by Spring.
	 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/WebContent/WEB-INF/picManDatabase/picManDatabase.xml">picManDatabase.xml</a>
	 */ 
	public void setDataSource(DataSource ds) {
		this.ds = ds;
	}

	/* (non-Javadoc)
	 * @see com.buckosoft.PicMan.db.FiltersMicroSetsDao#getFilterMicroSet(int, int)
	 */
	public FilterMicroSet getFilterMicroSet(int pid, int sid) {
File Line
com/buckosoft/PicMan/db/FiltersMicroSetsDaoJdbc.java 167
com/buckosoft/PicMan/db/MetaSetsDaoJdbc.java 186
com/buckosoft/PicMan/db/MosaicTilesDaoJdbc.java 168
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			compile();
		}

		protected void insert(int sid, int pid, int value) {
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 34
com/buckosoft/PicMan/db/PostersDaoJdbc.java 34
com/buckosoft/PicMan/db/VirginsDaoJdbc.java 39
	protected final Log logger = LogFactory.getLog(getClass());

	private DataSource ds;
	
	/** Set the reference to the JDBC datasource.
	 * @param ds The datasource as configured by Spring.
	 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/WebContent/WEB-INF/picManDatabase/picManDatabase.xml">picManDatabase.xml</a>
	 */ 
	public void setDataSource(DataSource ds) {
		this.ds = ds;
	}
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 223
com/buckosoft/PicMan/db/PicsDaoJdbc.java 498
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.TIMESTAMP));
			compile();
		}

		protected void insert(Mosaic m) {
File Line
com/buckosoft/PicMan/db/MosaicsDaoJdbc.java 331
com/buckosoft/PicMan/db/PostersDaoJdbc.java 295
com/buckosoft/PicMan/db/RootsDaoJdbc.java 270
com/buckosoft/PicMan/db/UsersDaoJdbc.java 294
			declareParameter(new SqlParameter(Types.INTEGER));
			declareParameter(new SqlParameter(Types.VARCHAR));
			declareParameter(new SqlParameter(Types.VARCHAR));
			compile();
		}

		protected void insert(int sid, String key, String value) {
File Line
com/buckosoft/PicMan/db/RootsDaoJdbc.java 50
com/buckosoft/PicMan/db/UsersDaoJdbc.java 46
	public void setDataSource(DataSource ds) {
		if (DEBUG)
			logger.info("Set Datasource.");
        this.ds = ds;
    }

	/* (non-Javadoc)
	 * @see com.buckosoft.PicMan.db.RootsDao#getRoots()
	 */
	@SuppressWarnings("unchecked")
	public List<Root> getRoots() throws DataAccessException {
File Line
com/buckosoft/PicMan/db/logic/MetaSetFilter.java 83
com/buckosoft/PicMan/db/logic/MetaSetFilter.java 154
				}
				currentOperator = MetaSet.NONE;
			} else if (rule.getType() == MetaSet.OPERATOR) {
				currentOperator = rule.getOperator();
			} else {
File Line
com/buckosoft/PicMan/dom/PicsInDirDom.java 44
com/buckosoft/PicMan/dom/PicsInSetDom.java 39
		while (iter.hasNext()) {
			Pic pic = iter.next();
			//System.out.println("name=" + pic.getName());
			Element ele = DocumentHelper.createElement("Pic");
			ele.addElement("row").addText(((Integer)row).toString());
File Line
com/buckosoft/PicMan/domain/Chain.java 41
com/buckosoft/PicMan/domain/Set.java 99
	public	void	setName(String name) { this.name = name; }
	public	String	getName() { return(name); }
	
	public	void	setDescription(String desc) { this.description = desc; }
File Line
com/buckosoft/PicMan/image/PicReader.java 262
com/buckosoft/PicMan/web/GetThumbNailController.java 197
com/buckosoft/PicMan/web/GetThumbNailController.java 236
			g = small.createGraphics();
			g.drawImage(bi.getScaledInstance(-1, newH, Image.SCALE_SMOOTH), null, null);
		}
File Line
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 356
com/buckosoft/PicMan/service/support/KeyValueMapDeserializer.java 373
		if (_standardStringKey) {
			_readAndBindStringMap(jp, ctxt, result);
			return result;
		}
		_readAndBind(jp, ctxt, result);
		return result;
	}

	@Override
	public Map<Object, Object> deserialize(JsonParser jp,
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 391
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 421
									provider.constructSpecializedType(_keyType,
											cc), provider);
						} else {
							serializer = _findAndAddDynamic(serializers, cc,
									provider);
						}
						serializers = _dynamicValueSerializers;
					}
					try {
						serializer.serialize(keyElem, jgen, provider);
File Line
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 400
com/buckosoft/PicMan/service/support/KeyValueMapSerializer.java 430
						serializer.serialize(keyElem, jgen, provider);
					} catch (Exception e) {
						// [JACKSON-55] Need to add reference information
						String keyDesc = "" + keyElem;
						wrapAndThrow(provider, e, value, keyDesc);
					}
				}
File Line
com/buckosoft/PicMan/util/FilterUtil.java 27
com/buckosoft/PicMan/util/FilterUtil.java 79
		boolean printed = false;
		for (String key : f.getFilters().keySet()) {
			int i = key.indexOf('_');
			if (i != -1) {
File Line
com/buckosoft/PicMan/web/ChainManForm.java 124
com/buckosoft/PicMan/web/MosaicSetupForm.java 156
	}
	/**
	 * @return the engines
	 */
	public List<String> getEngines() {
		return engines;
	}
	/**
	 * @param engines the engines to set
	 */
	public void setEngines(List<String> engines) {
		this.engines = engines;
	}
File Line
com/buckosoft/PicMan/web/EngineReportPageController.java 64
com/buckosoft/PicMan/web/FilterEditPageController.java 53
com/buckosoft/PicMan/web/FilterReportPageController.java 51
com/buckosoft/PicMan/web/FilterReportSummaryPageController.java 58
com/buckosoft/PicMan/web/ImportPicsPageController.java 43
com/buckosoft/PicMan/web/JobLogReportPageController.java 35
com/buckosoft/PicMan/web/MosaicAnalysePageController.java 51
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 58
com/buckosoft/PicMan/web/PicBrowserPageController.java 43
com/buckosoft/PicMan/web/PosterDisplayPageController.java 58
com/buckosoft/PicMan/web/SlideShowPageController.java 62
com/buckosoft/PicMan/web/SyncSetupPageController.java 82
com/buckosoft/PicMan/web/SyncStatusPageController.java 65
com/buckosoft/PicMan/web/VirginProcessPageController.java 46
		User user = (User)userWebSession.getUser();
		Map<String, Object> myModel = new HashMap<String, Object>();
		myModel.put("userWebSession", userWebSession);
		myModel.put("refreshDelay", "" + 10);
File Line
com/buckosoft/PicMan/web/MetaSetForm.java 92
com/buckosoft/PicMan/web/MosaicSetupForm.java 231
com/buckosoft/PicMan/web/PosterSetupForm.java 211
com/buckosoft/PicMan/web/UserConfigForm.java 75
	}
	/**
	 * @return the sets
	 */
	public List<Set> getSets() {
		return sets;
	}
	/**
	 * @param sets the sets to set
	 */
	public void setSets(List<Set> sets) {
		this.sets = sets;
	}
File Line
com/buckosoft/PicMan/web/MetaSetFormController.java 63
com/buckosoft/PicMan/web/PosterSetupFormController.java 62
com/buckosoft/PicMan/web/RootManFormController.java 48
com/buckosoft/PicMan/web/SetManFormController.java 50
com/buckosoft/PicMan/web/SpinContactsFormController.java 54
com/buckosoft/PicMan/web/SystemSetupFormController.java 54
	}

	protected Object formBackingObject(HttpServletRequest request) throws Exception {
    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
		if (DEBUG)
			logger.info("formBackingObject SetupSystemForm with session " + userWebSession);
File Line
com/buckosoft/PicMan/web/MosaicDisplayPageController.java 47
com/buckosoft/PicMan/web/PosterDisplayPageController.java 47
com/buckosoft/PicMan/web/SlideShowPageController.java 45
	public DatabaseFacade getDatabase() { return(dbf); }
	

    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {

    	BSAccountUserWebSession userWebSession = this.bsAccountMan.getUserWebSession(request);
    	User user = (User)userWebSession.getUser();