/* SAAF: A static analyzer for APK files. * Copyright (C) 2013 syssec.rub.de * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package de.rub.syssec.saaf.db.persistence.nodb; import java.util.List; import de.rub.syssec.saaf.db.dao.exceptions.NoSuchEntityException; import de.rub.syssec.saaf.db.persistence.exceptions.InvalidEntityException; import de.rub.syssec.saaf.db.persistence.exceptions.PersistenceException; import de.rub.syssec.saaf.db.persistence.interfaces.AnalysisEntityManagerInterface; import de.rub.syssec.saaf.model.analysis.AnalysisInterface; import de.rub.syssec.saaf.model.analysis.AnalysisInterface.Status; import de.rub.syssec.saaf.model.application.ApplicationInterface; public class NoDBAnalysisManager implements AnalysisEntityManagerInterface { @Override public boolean save(AnalysisInterface entity) throws InvalidEntityException, PersistenceException { // TODO Auto-generated method stub return false; } @Override public boolean delete(AnalysisInterface entity) throws InvalidEntityException, PersistenceException { // TODO Auto-generated method stub return false; } @Override public boolean validate(AnalysisInterface entity) throws InvalidEntityException { // TODO Auto-generated method stub return false; } @Override public List<?> readAll(Class<?> entitClass) throws PersistenceException { // TODO Auto-generated method stub return null; } @Override public List<AnalysisInterface> readAll() throws PersistenceException { // TODO Auto-generated method stub return null; } @Override public boolean saveAll(List<AnalysisInterface> entities) throws PersistenceException, InvalidEntityException { // TODO Auto-generated method stub return false; } @Override public void shutdown() throws PersistenceException { // TODO Auto-generated method stub } @Override public int countAllByApp(ApplicationInterface app) throws PersistenceException, NoSuchEntityException, InvalidEntityException { // TODO Auto-generated method stub return 0; } @Override public int deleteAllByApp(ApplicationInterface app) throws PersistenceException, NoSuchEntityException, InvalidEntityException { // TODO Auto-generated method stub return 0; } @Override public int countAnalysis() throws PersistenceException { // TODO Auto-generated method stub return 0; } @Override public int countAnalysis(Status status) throws PersistenceException { // TODO Auto-generated method stub return 0; } }