Skip to content

Commit f19c0d6

Browse files
author
Lloyd Watkin
committed
Adding comments
1 parent b93f7d3 commit f19c0d6

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

src/main/java/org/buddycloud/channelserver/db/NodeStore.java

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,16 +573,57 @@ void deleteNodeItemById(String nodeId, String nodeItemId)
573573
*/
574574
int getFirehoseItemCount(boolean isAdmin) throws NodeStoreException;
575575

576+
/**
577+
* Get a list of posts for a user
578+
*
579+
* @param userJid
580+
* @return
581+
* @throws NodeStoreException
582+
*/
576583
ResultSet<NodeItem> getUserItems(JID userJid) throws NodeStoreException;
577584

585+
/**
586+
* Delete user posts
587+
*
588+
* @param userJid
589+
* @throws NodeStoreException
590+
*/
578591
void deleteUserItems(JID userJid) throws NodeStoreException;
579592

593+
/**
594+
* Delete affiliations for a user
595+
*
596+
* @param userJid
597+
* @throws NodeStoreException
598+
*/
580599
void deleteUserAffiliations(JID userJid) throws NodeStoreException;
581600

601+
/**
602+
* Delete user subscriptions
603+
*
604+
* @param userJid
605+
* @throws NodeStoreException
606+
*/
582607
void deleteUserSubscriptions(JID userJid) throws NodeStoreException;
583608

609+
/**
610+
* Get node threads
611+
*
612+
* @param node
613+
* @param afterId
614+
* @param limit
615+
* @return
616+
* @throws NodeStoreException
617+
*/
584618
ResultSet<NodeThread> getNodeThreads(String node, String afterId, int limit) throws NodeStoreException;
585619

620+
/**
621+
* Count node threads
622+
*
623+
* @param node
624+
* @return
625+
* @throws NodeStoreException
626+
*/
586627
int countNodeThreads(String node) throws NodeStoreException;
587628

588629
/**

0 commit comments

Comments
 (0)