cli@42: /* cli@42: * SONEWS News Server cli@42: * see AUTHORS for the list of contributors cli@42: * cli@42: * This program is free software: you can redistribute it and/or modify cli@42: * it under the terms of the GNU General Public License as published by cli@42: * the Free Software Foundation, either version 3 of the License, or cli@42: * (at your option) any later version. cli@42: * cli@42: * This program is distributed in the hope that it will be useful, cli@42: * but WITHOUT ANY WARRANTY; without even the implied warranty of cli@42: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the cli@42: * GNU General Public License for more details. cli@42: * cli@42: * You should have received a copy of the GNU General Public License cli@42: * along with this program. If not, see . cli@42: */ cli@42: package org.sonews.storage.impl; cli@42: cli@42: import java.util.List; cli@42: import org.sonews.feed.Subscription; cli@42: import org.sonews.storage.Article; cli@42: import org.sonews.storage.ArticleHead; cli@42: import org.sonews.storage.Channel; cli@42: import org.sonews.storage.Group; cli@42: import org.sonews.storage.Storage; cli@42: import org.sonews.storage.StorageBackendException; cli@42: import org.sonews.util.Pair; cli@42: cli@42: /** cli@42: * cli@42: * @author Christian Lins cli@42: * @since sonews/1.1 cli@42: */ cli@42: public class HSQLDB implements Storage { cli@42: cli@42: public void addArticle(Article art) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public void addEvent(long timestamp, int type, long groupID) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public void addGroup(String groupname, int flags) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public int countArticles() throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public int countGroups() throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public void delete(String messageID) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public Article getArticle(String messageID) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public Article getArticle(long articleIndex, long groupID) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public List> getArticleHeaders(Channel channel, long start, long end, String header, String pattern) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public List> getArticleHeads(Group group, long first, long last) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public long getArticleIndex(Article art, Group group) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public List getArticleNumbers(long groupID) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public String getConfigValue(String key) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public int getEventsCount(int eventType, long startTimestamp, long endTimestamp, Channel channel) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public double getEventsPerHour(int key, long gid) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public int getFirstArticleNumber(Group group) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public Group getGroup(String name) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public List getGroups() throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public List getGroupsForList(String listAddress) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public int getLastArticleNumber(Group group) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public List getListsForGroup(String groupname) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public String getOldestArticle() throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public int getPostingsCount(String groupname) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public List getSubscriptions(int type) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public boolean isArticleExisting(String messageID) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public boolean isGroupExisting(String groupname) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public void purgeGroup(Group group) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public void setConfigValue(String key, String value) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public boolean update(Article article) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: public boolean update(Group group) throws StorageBackendException { cli@42: throw new UnsupportedOperationException("Not supported yet."); cli@42: } cli@42: cli@42: }