Class ForumInfo
- java.lang.Object
-
- de.uplanet.lucy.server.businesslogic.forumflat.ForumInfo
-
@VelocityCallable("instance") public final class ForumInfo extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
DTEDIT
static String
FORUMPOSTDATE
static String
FORUMPOSTID
static String
FORUMPOSTLASTUSERID
static String
FORUMPOSTNAME
static String
FORUMPOSTTEXT
static String
FORUMPOSTTHREADID
static String
FORUMPOSTTITLE
static String
FORUMTHREADDATE
static String
FORUMTHREADID
static String
FORUMTHREADTEXT
static String
FORUMTHREADTITLE
static String
FORUMTHREADUSERID
static String
MODERATOR
static String
MODERATORID
static String
POSTS
static String
THREADS
static String
THREADS_VIEWS
static String
USERINFOS
static String
USERINFOSTHREAD
-
Constructor Summary
Constructors Constructor Description ForumInfo()
Creates a Forum Info Object.
-
Method Summary
-
-
-
Field Detail
-
USERINFOS
public static final String USERINFOS
- See Also:
- Constant Field Values
-
USERINFOSTHREAD
public static final String USERINFOSTHREAD
- See Also:
- Constant Field Values
-
POSTS
public static final String POSTS
- See Also:
- Constant Field Values
-
THREADS
public static final String THREADS
- See Also:
- Constant Field Values
-
MODERATOR
public static final String MODERATOR
- See Also:
- Constant Field Values
-
MODERATORID
public static final String MODERATORID
- See Also:
- Constant Field Values
-
FORUMPOSTNAME
public static final String FORUMPOSTNAME
- See Also:
- Constant Field Values
-
FORUMPOSTDATE
public static final String FORUMPOSTDATE
- See Also:
- Constant Field Values
-
FORUMPOSTTEXT
public static final String FORUMPOSTTEXT
- See Also:
- Constant Field Values
-
FORUMPOSTTITLE
public static final String FORUMPOSTTITLE
- See Also:
- Constant Field Values
-
FORUMPOSTID
public static final String FORUMPOSTID
- See Also:
- Constant Field Values
-
FORUMPOSTTHREADID
public static final String FORUMPOSTTHREADID
- See Also:
- Constant Field Values
-
FORUMPOSTLASTUSERID
public static final String FORUMPOSTLASTUSERID
- See Also:
- Constant Field Values
-
FORUMTHREADID
public static final String FORUMTHREADID
- See Also:
- Constant Field Values
-
FORUMTHREADUSERID
public static final String FORUMTHREADUSERID
- See Also:
- Constant Field Values
-
FORUMTHREADTEXT
public static final String FORUMTHREADTEXT
- See Also:
- Constant Field Values
-
FORUMTHREADTITLE
public static final String FORUMTHREADTITLE
- See Also:
- Constant Field Values
-
FORUMTHREADDATE
public static final String FORUMTHREADDATE
- See Also:
- Constant Field Values
-
DTEDIT
public static final String DTEDIT
- See Also:
- Constant Field Values
-
THREADS_VIEWS
public static final String THREADS_VIEWS
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(String p_strAppGuid)
Sets the application GUID for this forum info object.- Parameters:
p_strAppGuid
- The GUID of the application.
-
getModerator
@Deprecated public String getModerator()
Deprecated.usegetModeratorVH()
instead- Returns:
- the Moderator for the requested Forum if exists
-
getModeratorVH
public IValueHolder<?> getModeratorVH()
- Returns:
- the moderator for the requested forum if exists
-
getModeratorId
@Deprecated public int getModeratorId()
Deprecated.usegetModeratorIdVH()
instead- Returns:
- UserId of the moderator for the requested forum if exists
-
getModeratorIdVH
public IValueHolder<?> getModeratorIdVH()
- Returns:
- UserId of the moderator for the requested forum if exists
-
getLastPostName
@Deprecated public String getLastPostName()
Deprecated.usegetLastPostNameVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastPostNameVH
public IValueHolder<?> getLastPostNameVH()
- Returns:
- The last posted entry of the requested forum
-
getLastPostDate
@Deprecated public String getLastPostDate()
Deprecated.usegetLastPostDateVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastPostDateVH
public IValueHolder<?> getLastPostDateVH()
- Returns:
- The last posted entry of the requested forum
-
getLastPostText
@Deprecated public String getLastPostText()
Deprecated.- Returns:
- The last posted entry of the requested forum
-
getLastPostTextVH
public IValueHolder<?> getLastPostTextVH()
- Returns:
- The last posted entry of the requested forum
-
getLastPostTitle
@Deprecated public String getLastPostTitle()
Deprecated.usegetLastPostTitleVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastPostTitleVH
public IValueHolder<?> getLastPostTitleVH()
- Returns:
- The last posted entry of the requested forum
-
getLastPostId
@Deprecated public String getLastPostId()
Deprecated.usegetLastPostIdVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastPostIdVH
public IValueHolder<?> getLastPostIdVH()
- Returns:
- The last posted entry of the requested forum
-
getLastPostThreadId
@Deprecated public String getLastPostThreadId()
Deprecated.usegetLastPostThreadIdVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastPostThreadIdVH
public IValueHolder<?> getLastPostThreadIdVH()
- Returns:
- The last posted entry of the requested forum
-
getLastThreadId
@Deprecated public String getLastThreadId()
Deprecated.usegetLastThreadIdVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastThreadIdVH
public IValueHolder<?> getLastThreadIdVH()
- Returns:
- The last posted entry of the requested forum
-
getLastThreadUserId
@Deprecated public String getLastThreadUserId()
Deprecated.usegetLastThreadUserIdVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastThreadUserIdVH
public IValueHolder<?> getLastThreadUserIdVH()
- Returns:
- The last posted entry of the requested forum
-
getLastThreadText
@Deprecated public String getLastThreadText()
Deprecated.usegetLastThreadTextVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastThreadTextVH
public IValueHolder<?> getLastThreadTextVH()
- Returns:
- The last posted entry of the requested forum
-
getLastThreadTitle
@Deprecated public String getLastThreadTitle()
Deprecated.usegetLastThreadTitleVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastThreadTitleVH
public IValueHolder<?> getLastThreadTitleVH()
- Returns:
- The last posted entry of the requested forum
-
getLastThreadDate
@Deprecated public String getLastThreadDate()
Deprecated.usegetLastThreadDateVH()
instead- Returns:
- The last posted entry of the requested forum
-
getLastThreadDateVH
public IValueHolder<?> getLastThreadDateVH()
- Returns:
- The last posted entry of the requested forum
-
getLastUserId
@Deprecated public String getLastUserId()
Deprecated.useinstead()
- Returns:
- The last posted entry of the requested forum
-
getLastUserIdVH
public IValueHolder<?> getLastUserIdVH()
- Returns:
- The last posted entry of the requested forum
-
getPostAndThreadCount
public int getPostAndThreadCount()
- Returns:
- The count of posted entry (treads and posts) of the requested forum
-
getThreadCount
public int getThreadCount()
- Returns:
- The count of posted entry (treads and posts) of the requested forum
-
getPostCount
public int getPostCount()
- Returns:
- The count of posted entry (treads and posts) of the requested forum
-
getNewPostAndThreadCount
public int getNewPostAndThreadCount()
- Returns:
- The new count of posted entries and threads of the requested forum
-
getNewPostCount
public int getNewPostCount()
- Returns:
- The new count of posted entry of the requested forum
-
getNewThreadCount
public int getNewThreadCount()
- Returns:
- The new count of posted entry of the requested forum
-
getNewPostCount
public int getNewPostCount(String p_strThreadId)
- Returns:
- The new count of posted entry of the requested forum
-
isThreadNew
public boolean isThreadNew(String p_strThreadId)
- Returns:
- Thread already visited by current user?
-
getCountPostUser
public String getCountPostUser(Integer p_iUserId) throws de.uplanet.lucy.server.businesslogic.BlException
- Returns:
- String
- Throws:
de.uplanet.lucy.server.businesslogic.BlException
-
getCountPostUser
public Map<Integer,Integer> getCountPostUser() throws de.uplanet.lucy.server.businesslogic.BlException
- Throws:
de.uplanet.lucy.server.businesslogic.BlException
-
-