Class VCForumCallable
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.forum.VCForumCallable
-
@VelocityCallable("singleton") public final class VCForumCallable extends Object
-
-
Constructor Summary
Constructors Constructor Description VCForumCallable()
Explicit default constructor.VCForumCallable(de.uplanet.lucy.server.renderer.IDefaultRendererFactory p_rendererFactory, de.uplanet.lucy.server.auxiliaries.forum.IUserManager p_userManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
void
closeThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
int
countPostsInThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
int
countThreadViews(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
boolean
currentUserIsModerator(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer>
getAnswersSinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer>
getAnswersSinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, Date p_dtLastVisit)
List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer>
getAnswersWithinCategorySinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer>
getAnswersWithinCategorySinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId, Date p_dtLastVisit)
Date
getLastVisitDate(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer
getMostRecentAnswer(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer
getMostRecentAnswerInCategory(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer
getMostRecentAnswerInThread(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord
getMostRecentThread(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord
getMostRecentThreadInCategory(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
int
getNoOfAnswers(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
int
getNoOfCategories(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
int
getNoOfMembers(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
int
getNoOfPostsOfUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
int
getNoOfThreads(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
int
getNoOfThreadsInCategory(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord>
getPinnedThreads(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
de.uplanet.lucy.server.auxiliaries.forum.VCThreadProperties
getThreadProperties(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord>
getThreadsSinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord>
getThreadsSinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, Date p_dtLastVisit)
List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord>
getThreadsWithinCategorySinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord>
getThreadsWithinCategorySinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId, Date p_dtLastVisit)
String
getUserInfoRecID(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
Date
getUserInsertedDate(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
de.uplanet.lucy.server.businesslogic.control.IValue
getUserWhichCreatedTheCategory(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
de.uplanet.lucy.server.businesslogic.control.IValue
getUserWhichCreatedTheThread(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
boolean
isNewUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
boolean
isShareUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
void
openThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
void
pinThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
void
setIsShareUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, boolean p_bIsShareUser)
void
setMarkAsSeen(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
void
setNewUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, boolean p_bIsNewUser)
void
subscribeToThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
void
unpinThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
void
unsubscribeFromThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
void
userHasReadAll(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
-
-
-
Method Detail
-
getNoOfThreads
public int getNoOfThreads(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
-
getNoOfAnswers
public int getNoOfAnswers(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
-
getUserInfoRecID
public String getUserInfoRecID(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
-
getNoOfCategories
public int getNoOfCategories(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
-
getNoOfThreadsInCategory
public int getNoOfThreadsInCategory(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
-
getMostRecentThread
public de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord getMostRecentThread(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
-
getMostRecentThreadInCategory
public de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord getMostRecentThreadInCategory(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
-
closeThread
public void closeThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
-
openThread
public void openThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
-
pinThread
public void pinThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
-
unpinThread
public void unpinThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
-
subscribeToThread
public void subscribeToThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
-
unsubscribeFromThread
public void unsubscribeFromThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadRecId)
-
getMostRecentAnswerInThread
public de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer getMostRecentAnswerInThread(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
-
userHasReadAll
public void userHasReadAll(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
-
countPostsInThread
public int countPostsInThread(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
-
getUserInsertedDate
public Date getUserInsertedDate(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
-
getPinnedThreads
public List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord> getPinnedThreads(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
-
getMostRecentAnswer
public de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer getMostRecentAnswer(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
-
getMostRecentAnswerInCategory
public de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer getMostRecentAnswerInCategory(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
-
getThreadProperties
public de.uplanet.lucy.server.auxiliaries.forum.VCThreadProperties getThreadProperties(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
-
isNewUser
public boolean isNewUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
-
setNewUser
public void setNewUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, boolean p_bIsNewUser)
-
isShareUser
public boolean isShareUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
-
setIsShareUser
public void setIsShareUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, boolean p_bIsShareUser)
-
getLastVisitDate
public Date getLastVisitDate(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
-
currentUserIsModerator
public boolean currentUserIsModerator(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
-
setMarkAsSeen
public void setMarkAsSeen(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
-
getThreadsSinceLastVisit
public List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord> getThreadsSinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, Date p_dtLastVisit)
-
getThreadsWithinCategorySinceLastVisit
public List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord> getThreadsWithinCategorySinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId, Date p_dtLastVisit)
-
getThreadsSinceLastVisit
public List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord> getThreadsSinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
-
getThreadsWithinCategorySinceLastVisit
public List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadRecord> getThreadsWithinCategorySinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
-
getAnswersSinceLastVisit
public List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer> getAnswersSinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, Date p_dtLastVisit)
-
getAnswersWithinCategorySinceLastVisit
public List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer> getAnswersWithinCategorySinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId, Date p_dtLastVisit)
-
getAnswersSinceLastVisit
public List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer> getAnswersSinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid)
-
getAnswersWithinCategorySinceLastVisit
public List<de.uplanet.lucy.server.auxiliaries.forum.VCThreadAnswer> getAnswersWithinCategorySinceLastVisit(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
-
getUserWhichCreatedTheThread
public de.uplanet.lucy.server.businesslogic.control.IValue getUserWhichCreatedTheThread(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
-
countThreadViews
public int countThreadViews(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, String p_strThreadId)
-
getUserWhichCreatedTheCategory
public de.uplanet.lucy.server.businesslogic.control.IValue getUserWhichCreatedTheCategory(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, String p_strAppGuid, String p_strCategoryId)
-
getNoOfMembers
public int getNoOfMembers(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
-
getNoOfPostsOfUser
public int getNoOfPostsOfUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid, int p_iUserId)
-
addUser
public void addUser(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strAppGuid)
-
-