org.apache.james.nntpserver.repository
Interface NNTPGroup
- public interface NNTPGroup
Contract exposed by a NewsGroup
- Author:
- Harmeet Bedi
getName
public java.lang.String getName()
getDescription
public java.lang.String getDescription()
isPostAllowed
public boolean isPostAllowed()
getCurrentArticleNumber
public int getCurrentArticleNumber()
- the current article pointer.
- Returns:
- <0 indicates invalid/unknown value
setCurrentArticleNumber
public void setCurrentArticleNumber(int articleNumber)
getNumberOfArticles
public int getNumberOfArticles()
getFirstArticleNumber
public int getFirstArticleNumber()
getLastArticleNumber
public int getLastArticleNumber()
getCurrentArticle
public NNTPArticle getCurrentArticle()
getArticle
public NNTPArticle getArticle(int number)
getArticlesSince
public java.util.Iterator getArticlesSince(java.util.Date dt)
getArticles
public java.util.Iterator getArticles()
getPath
public java.lang.Object getPath()
"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."