/********************************************************************************* * The contents of this file are subject to the OpenEMM Public License Version 1.1 * ("License"); You may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.agnitas.org/openemm. * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for * the specific language governing rights and limitations under the License. * * The Original Code is OpenEMM. * The Initial Developer of the Original Code is AGNITAS AG. Portions created by * AGNITAS AG are Copyright (C) 2006 AGNITAS AG. All Rights Reserved. * * All copies of the Covered Code must include on each user interface screen, * visible to all users at all times * (a) the OpenEMM logo in the upper left corner and * (b) the OpenEMM copyright notice at the very bottom center * See full license, exhibit B for requirements. ********************************************************************************/ package org.agnitas.dao; import org.springframework.context.ApplicationContextAware; /** * @author Andreas Rehak */ public interface OnepixelDao extends ApplicationContextAware { /** * Increases count of mailing openings. * * @param companyID * The id of mailing company. * @param recipientID * The id of opener. * @param mailingID * The id of opened mailing. * @param remoteAddr * The ip address of opener. * @return true on success. */ boolean writePixel(int companyID, int recipientID, int mailingID, String remoteAddr); /* boolean writeClick(int companyID, int recipientID, int mailingID, String remoteAddr, int si, String pageTag); boolean writeValnum(int companyID, int recipientID, int mailingID, String remoteAddr, int si, String pageTag, double numVal); boolean writeValAlpha(int companyID, int recipientID, int mailingID, String remoteAddr, int si, String pageTag, String alphaVal); */ }