Uses of Class
org.sonews.storage.StorageBackendException
Package
Description
Contains classes for the access control management and user authentication.
Contains a class for every NNTP command.
Contains classes of the Mailinglist Gateway.
Contains classes of the storage backend and the Group and Article
abstraction.
Implementations of the StorageProvider interface.
-
Uses of StorageBackendException in org.sonews.auth
Modifier and TypeMethodDescriptionvoid
AuthInfoCommand.processLine
(NNTPConnection conn, String line, byte[] rawLine) -
Uses of StorageBackendException in org.sonews.daemon.command
Modifier and TypeMethodDescriptionvoid
Command.processLine
(NNTPConnection conn, String line, byte[] rawLine) void
GroupCommand.processLine
(NNTPConnection conn, String line, byte[] raw) void
ListCommand.processLine
(NNTPConnection conn, String line, byte[] raw) void
ListGroupCommand.processLine
(NNTPConnection conn, String commandName, byte[] raw) void
ModeReaderCommand.processLine
(NNTPConnection conn, String line, byte[] raw) void
NewGroupsCommand.processLine
(NNTPConnection conn, String line, byte[] raw) void
NextPrevCommand.processLine
(NNTPConnection conn, String line, byte[] raw) void
OverCommand.processLine
(NNTPConnection conn, String line, byte[] raw) void
PostCommand.processLine
(NNTPConnection conn, String line, byte[] raw) Process the given line String. line.trim() was called by NNTPConnection.void
QuitCommand.processLine
(NNTPConnection conn, String line, byte[] raw) void
StatCommand.processLine
(NNTPConnection conn, String line, byte[] raw) void
XPatCommand.processLine
(NNTPConnection conn, String line, byte[] raw) -
Uses of StorageBackendException in org.sonews.mlgw
-
Uses of StorageBackendException in org.sonews.storage
Modifier and TypeMethodDescriptionvoid
Storage.addArticle
(Article art) Stores the given Article in the storage.boolean
Storage.authenticateUser
(String username, char[] password) Deprecated.int
Storage.countArticles()
void
Storage.createOrUpdateGroup
(Group group) static Storage
StorageManager.current()
void
Group.getArticle
(long idx) Storage.getArticle
(long articleIndex, long groupID) Storage.getArticle
(String messageID) Storage.getArticleHeaders
(Group group, long start, long end, String header, String pattern) Group.getArticleHeads
(long first, long last) Storage.getArticleHeads
(Group group, long first, long last) long
Storage.getArticleIndex
(Article art, Group group) Group.getArticleNumbers()
Storage.getArticleNumbers
(long groupID) long
Group.getFirstArticleNumber()
int
Storage.getFirstArticleNumber
(Group group) Storage.getGroups()
long
Group.getIndexOf
(Article art) long
Group.getLastArticleNumber()
int
Storage.getLastArticleNumber
(Group group) Storage.getOldestArticle()
long
Group.getPostingsCount()
int
Storage.getPostingsCount
(String groupname) boolean
Storage.isArticleExisting
(String messageID) void
Storage.purgeGroup
(Group group) Performes a purge operation in the storage backend, e.g. to delete old messages or release allocated resources.This method returns the reference to the associated storage.boolean
Updates headers and group references of the given article. -
Uses of StorageBackendException in org.sonews.storage.impl.hibernate.couchdb
Modifier and TypeMethodDescriptionvoid
CouchDBStorage.addArticle
(Article art) boolean
CouchDBStorage.authenticateUser
(String username, char[] password) int
CouchDBStorage.countArticles()
void
CouchDBStorage.createOrUpdateGroup
(Group group) void
CouchDBStorage.getArticle
(long articleIndex, long groupID) CouchDBStorage.getArticle
(String messageID) CouchDBStorage.getArticleHeaders
(Group group, long start, long end, String header, String pattern) CouchDBStorage.getArticleHeads
(Group group, long first, long last) long
CouchDBStorage.getArticleIndex
(Article art, Group group) CouchDBStorage.getArticleNumbers
(long groupID) int
CouchDBStorage.getFirstArticleNumber
(Group group) CouchDBStorage.getGroups()
int
CouchDBStorage.getLastArticleNumber
(Group group) CouchDBStorage.getOldestArticle()
int
CouchDBStorage.getPostingsCount
(String groupname) boolean
CouchDBStorage.isArticleExisting
(String messageID) void
CouchDBStorage.purgeGroup
(Group group) Deprecated.boolean
-
Uses of StorageBackendException in org.sonews.storage.impl.jdbc
Modifier and TypeMethodDescriptionvoid
JDBCDatabase.addArticle
(Article article) Adds an article to the database.protected void
JDBCDatabase.addArticle
(Article article, int newArticleID) Adds an article to the database.boolean
JDBCDatabase.authenticateUser
(String username, char[] password) int
JDBCDatabase.countArticles()
void
JDBCDatabase.createOrUpdateGroup
(Group group) void
JDBCDatabase.getArticle
(long articleIndex, long gid) Retrieves an article by its ID.JDBCDatabase.getArticle
(String messageID) JDBCDatabase.getArticleHeaders
(Group group, long start, long end, String headerKey, String patStr) Searches for fitting header values using the given regular expression.JDBCDatabase.getArticleHeads
(Group group, long first, long last) Returns a list of Long/ArticleImpl Pairs.long
JDBCDatabase.getArticleIndex
(Article article, Group group) JDBCDatabase.getArticleNumbers
(long gid) int
JDBCDatabase.getFirstArticleNumber
(Group group) JDBCDatabase.getGroups()
int
JDBCDatabase.getLastArticleNumber
(Group group) JDBCDatabase.getOldestArticle()
int
JDBCDatabase.getPostingsCount
(String groupname) boolean
JDBCDatabase.isArticleExisting
(String messageID) Checks if there is an article with the given messageid in the JDBCDatabase.void
JDBCDatabase.purgeGroup
(Group group) protected void
JDBCDatabase.restartConnection
(SQLException cause) Restart the JDBC connection to the Database server.boolean
protected void
JDBCDatabase.updateWatermark
(Group group, long watermark)