001/** 002 * 003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. 004 * 005 * This library is free software; you can redistribute it and/or 006 * modify it under the terms of the GNU Lesser General Public 007 * License as published by the Free Software Foundation; either 008 * version 2.1 of the License, or (at your option) any later version. 009 * 010 * This library is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 013 * Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public 016 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 017 * 018 **/ 019package lucee.runtime.type.scope.storage.db; 020 021import java.sql.SQLException; 022 023import lucee.commons.io.log.Log; 024import lucee.runtime.config.Config; 025import lucee.runtime.db.DatasourceConnection; 026import lucee.runtime.exp.PageException; 027import lucee.runtime.type.Query; 028import lucee.runtime.type.Struct; 029import lucee.runtime.type.scope.storage.StorageScopeEngine; 030import lucee.runtime.type.scope.storage.StorageScopeListener; 031import lucee.runtime.type.scope.storage.clean.DatasourceStorageScopeCleaner; 032 033public class MySQL extends SQLExecutorSupport { 034 035 @Override 036 public Query select(Config config, String cfid, String applicationName, 037 DatasourceConnection dc, int type, Log log, 038 boolean createTableIfNotExist) throws PageException, SQLException { 039 // TODO Auto-generated method stub 040 return null; 041 } 042 043 @Override 044 public void update(Config config, String cfid, String applicationName, 045 DatasourceConnection dc, int type, Struct data, long timeSpan, 046 Log log) throws PageException, SQLException { 047 // TODO Auto-generated method stub 048 049 } 050 051 @Override 052 public void delete(Config config, String cfid, String appName, 053 DatasourceConnection dc, int type, Log log) 054 throws PageException, SQLException { 055 // TODO Auto-generated method stub 056 057 } 058 059 @Override 060 public void clean(Config config, DatasourceConnection dc, int type, 061 StorageScopeEngine engine, DatasourceStorageScopeCleaner cleaner, 062 StorageScopeListener listener, Log log) throws PageException, 063 SQLException { 064 // TODO Auto-generated method stub 065 066 } 067 068}