- activateArticle
void activateArticle(BsonObjectID artid)
Undocumented in source. Be warned that the author may not have intended to support it.
- addGroup
void addGroup(Group g)
Undocumented in source. Be warned that the author may not have intended to support it.
- createGroupCategory
BsonObjectID createGroupCategory(string caption, int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- createGroupIndexes
void createGroupIndexes(string grpname)
Undocumented in source. Be warned that the author may not have intended to support it.
- deactivateArticle
void deactivateArticle(BsonObjectID artid)
Undocumented in source. Be warned that the author may not have intended to support it.
- deleteArticle
void deleteArticle(BsonObjectID artid)
Undocumented in source. Be warned that the author may not have intended to support it.
- deleteGroupCategory
void deleteGroupCategory(BsonObjectID id)
Undocumented in source. Be warned that the author may not have intended to support it.
- deleteOrphanedUsers
void deleteOrphanedUsers()
Undocumented in source. Be warned that the author may not have intended to support it.
- deleteUser
void deleteUser(User.ID user_id)
Undocumented in source. Be warned that the author may not have intended to support it.
- enumerateActiveArticlesBackwards
void enumerateActiveArticlesBackwards(string groupname, int first, int count, void delegate(ref Article art) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- enumerateAllArticlesBackwards
void enumerateAllArticlesBackwards(string groupname, int first, int count, void delegate(ref Article art) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- enumerateArticles
void enumerateArticles(string groupname, void delegate(size_t idx, BsonObjectID _id, string msgid, long msgnum) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- enumerateArticles
void enumerateArticles(string groupname, long from, long to, void delegate(size_t idx, Article art) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- enumerateGroupCategories
void enumerateGroupCategories(void delegate(size_t idx, GroupCategory) @(safe) del)
- enumerateGroups
void enumerateGroups(void delegate(size_t idx, Group) @(safe) cb, bool allow_inactive)
- enumerateNewArticles
void enumerateNewArticles(string groupname, SysTime date, void delegate(size_t idx, BsonObjectID _id, string msgid, long msgnum) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- enumerateNewGroups
void enumerateNewGroups(SysTime date, void delegate(size_t idx, Group) @(safe) del, bool allow_inactive)
Undocumented in source. Be warned that the author may not have intended to support it.
- enumerateThreadPosts
void enumerateThreadPosts(BsonObjectID thread, string groupname, size_t skip, size_t max_count, void delegate(size_t, Article) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- enumerateThreads
void enumerateThreads(BsonObjectID group, size_t skip, size_t max_count, void delegate(size_t, Thread) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- enumerateUsers
void enumerateUsers(int first_user, int max_count, void delegate(ref User usr) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- getActiveArticlesCount
ulong getActiveArticlesCount(string groupname)
Undocumented in source. Be warned that the author may not have intended to support it.
- getAllArticlesCount
ulong getAllArticlesCount(string groupname)
Undocumented in source. Be warned that the author may not have intended to support it.
- getArticle
Article getArticle(BsonObjectID id)
- getArticle
Article getArticle(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
- getArticle
Article getArticle(string groupname, long number, bool msgbdy)
Undocumented in source. Be warned that the author may not have intended to support it.
- getArticleGroupRefs
GroupRef[string] getArticleGroupRefs(BsonObjectID id)
Undocumented in source. Be warned that the author may not have intended to support it.
- getArticleGroupRefs
GroupRef[string] getArticleGroupRefs(string group_name, long article_number)
Undocumented in source. Be warned that the author may not have intended to support it.
- getAuthGroupByName
userman.db.controller.Group getAuthGroupByName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- getGroup
Group getGroup(BsonObjectID id, bool allow_inactive)
Undocumented in source. Be warned that the author may not have intended to support it.
- getGroupByName
Group getGroupByName(string name, bool allow_inactive)
Undocumented in source. Be warned that the author may not have intended to support it.
- getGroupCategory
GroupCategory getGroupCategory(BsonObjectID id)
Undocumented in source. Be warned that the author may not have intended to support it.
- getThread
Thread getThread(BsonObjectID id)
Undocumented in source. Be warned that the author may not have intended to support it.
- getThreadArticleIndex
long getThreadArticleIndex(BsonObjectID thread_id, long article_number, string group_name)
Undocumented in source. Be warned that the author may not have intended to support it.
- getThreadCount
long getThreadCount(BsonObjectID group)
- getThreadForFirstArticle
Thread getThreadForFirstArticle(string groupname, long articlenum)
Undocumented in source. Be warned that the author may not have intended to support it.
- getThreadPostCount
long getThreadPostCount(BsonObjectID thread, string groupname)
Undocumented in source. Be warned that the author may not have intended to support it.
- getUser
User getUser(User.ID user_id)
Undocumented in source. Be warned that the author may not have intended to support it.
- getUserByEmail
User getUserByEmail(string email)
Undocumented in source. Be warned that the author may not have intended to support it.
- getUserCount
long getUserCount()
Undocumented in source. Be warned that the author may not have intended to support it.
- getUserMessageCount
void getUserMessageCount(string email, ulong active_count, ulong inactive_count)
Undocumented in source. Be warned that the author may not have intended to support it.
- groupExists
bool groupExists(string name, bool allow_inactive)
Undocumented in source. Be warned that the author may not have intended to support it.
- isAuthorizedForReadingGroup
bool isAuthorizedForReadingGroup(User.ID user, string groupname)
Undocumented in source. Be warned that the author may not have intended to support it.
- isAuthorizedForWritingGroup
bool isAuthorizedForWritingGroup(User.ID user, string groupname)
Undocumented in source. Be warned that the author may not have intended to support it.
- isEmailRegistered
bool isEmailRegistered(string email)
Undocumented in source. Be warned that the author may not have intended to support it.
- markAsSpam
void markAsSpam(BsonObjectID article, bool is_spam)
Undocumented in source. Be warned that the author may not have intended to support it.
- postArticle
void postArticle(Article art, User.ID user_id)
Undocumented in source. Be warned that the author may not have intended to support it.
- purgeGroup
void purgeGroup(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- reclassifySpam
void reclassifySpam()
Undocumented in source. Be warned that the author may not have intended to support it.
- repairGroupNumbers
void repairGroupNumbers()
- repairThreads
void repairThreads()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateGroup
void updateGroup(Group g)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateGroupCategory
void updateGroupCategory(BsonObjectID category, string caption, int index, BsonObjectID[] groups)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateUser
void updateUser(User user)
Undocumented in source. Be warned that the author may not have intended to support it.