de.uplanet.lucy.server.businesslogic.forumflat
Class ForumInfo

java.lang.Object
  extended by de.uplanet.lucy.server.businesslogic.forumflat.ForumInfo

@VelocityCallable(value="instance")
public final class ForumInfo
extends java.lang.Object

Version:
$Revision: 79300 $

Field Summary
static java.lang.String DTEDIT
           
static java.lang.String FORUMPOSTDATE
           
static java.lang.String FORUMPOSTID
           
static java.lang.String FORUMPOSTLASTUSERID
           
static java.lang.String FORUMPOSTNAME
           
static java.lang.String FORUMPOSTTEXT
           
static java.lang.String FORUMPOSTTHREADID
           
static java.lang.String FORUMPOSTTITLE
           
static java.lang.String FORUMTHREADDATE
           
static java.lang.String FORUMTHREADID
           
static java.lang.String FORUMTHREADTEXT
           
static java.lang.String FORUMTHREADTITLE
           
static java.lang.String FORUMTHREADUSERID
           
static java.lang.String MODERATOR
           
static java.lang.String MODERATORID
           
static java.lang.String POSTS
           
static java.lang.String THREADS
           
static java.lang.String THREADS_VIEWS
           
static java.lang.String USERINFOS
           
static java.lang.String USERINFOSTHREAD
           
 
Constructor Summary
ForumInfo()
          Creates a Forum Info Object.
 
Method Summary
 java.util.List<java.lang.Integer> getAllUserIds()
           
 java.util.Map<java.lang.Integer,java.lang.Integer> getCountPostUser()
           
 java.lang.String getCountPostUser(java.lang.Integer p_iUserId)
           
 java.lang.String getLastPostDate()
          Deprecated. use getLastPostDateVH() instead
 IValueHolder<?> getLastPostDateVH()
           
 java.lang.String getLastPostId()
          Deprecated. use getLastPostIdVH() instead
 IValueHolder<?> getLastPostIdVH()
           
 java.lang.String getLastPostName()
          Deprecated. use getLastPostNameVH() instead
 IValueHolder<?> getLastPostNameVH()
           
 java.lang.String getLastPostText()
          Deprecated.  
 IValueHolder<?> getLastPostTextVH()
           
 java.lang.String getLastPostThreadId()
          Deprecated. use getLastPostThreadIdVH() instead
 IValueHolder<?> getLastPostThreadIdVH()
           
 java.lang.String getLastPostTitle()
          Deprecated. use getLastPostTitleVH() instead
 IValueHolder<?> getLastPostTitleVH()
           
 java.lang.String getLastThreadDate()
          Deprecated. use getLastThreadDateVH() instead
 IValueHolder<?> getLastThreadDateVH()
           
 java.lang.String getLastThreadId()
          Deprecated. use getLastThreadIdVH() instead
 IValueHolder<?> getLastThreadIdVH()
           
 java.lang.String getLastThreadText()
          Deprecated. use getLastThreadTextVH() instead
 IValueHolder<?> getLastThreadTextVH()
           
 java.lang.String getLastThreadTitle()
          Deprecated. use getLastThreadTitleVH() instead
 IValueHolder<?> getLastThreadTitleVH()
           
 java.lang.String getLastThreadUserId()
          Deprecated. use getLastThreadUserIdVH() instead
 IValueHolder<?> getLastThreadUserIdVH()
           
 java.lang.String getLastUserId()
          Deprecated. use instead()
 IValueHolder<?> getLastUserIdVH()
           
 java.lang.String getModerator()
          Deprecated. use getModeratorVH() instead
 int getModeratorId()
          Deprecated. use getModeratorIdVH() instead
 IValueHolder<?> getModeratorIdVH()
           
 IValueHolder<?> getModeratorVH()
           
 int getNewPostAndThreadCount()
           
 int getNewPostCount()
           
 int getNewPostCount(java.lang.String p_strThreadId)
           
 int getNewThreadCount()
           
 int getPostAndThreadCount()
           
 int getPostCount()
           
 int getThreadCount()
           
 void init(java.lang.String p_strAppGuid)
          Sets the application GUID for this forum info object.
 boolean isThreadNew(java.lang.String p_strThreadId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USERINFOS

public static final java.lang.String USERINFOS
See Also:
Constant Field Values

USERINFOSTHREAD

public static final java.lang.String USERINFOSTHREAD
See Also:
Constant Field Values

POSTS

public static final java.lang.String POSTS
See Also:
Constant Field Values

THREADS

public static final java.lang.String THREADS
See Also:
Constant Field Values

MODERATOR

public static final java.lang.String MODERATOR
See Also:
Constant Field Values

MODERATORID

public static final java.lang.String MODERATORID
See Also:
Constant Field Values

FORUMPOSTNAME

public static final java.lang.String FORUMPOSTNAME
See Also:
Constant Field Values

FORUMPOSTDATE

public static final java.lang.String FORUMPOSTDATE
See Also:
Constant Field Values

FORUMPOSTTEXT

public static final java.lang.String FORUMPOSTTEXT
See Also:
Constant Field Values

FORUMPOSTTITLE

public static final java.lang.String FORUMPOSTTITLE
See Also:
Constant Field Values

FORUMPOSTID

public static final java.lang.String FORUMPOSTID
See Also:
Constant Field Values

FORUMPOSTTHREADID

public static final java.lang.String FORUMPOSTTHREADID
See Also:
Constant Field Values

FORUMPOSTLASTUSERID

public static final java.lang.String FORUMPOSTLASTUSERID
See Also:
Constant Field Values

FORUMTHREADID

public static final java.lang.String FORUMTHREADID
See Also:
Constant Field Values

FORUMTHREADUSERID

public static final java.lang.String FORUMTHREADUSERID
See Also:
Constant Field Values

FORUMTHREADTEXT

public static final java.lang.String FORUMTHREADTEXT
See Also:
Constant Field Values

FORUMTHREADTITLE

public static final java.lang.String FORUMTHREADTITLE
See Also:
Constant Field Values

FORUMTHREADDATE

public static final java.lang.String FORUMTHREADDATE
See Also:
Constant Field Values

DTEDIT

public static final java.lang.String DTEDIT
See Also:
Constant Field Values

THREADS_VIEWS

public static final java.lang.String THREADS_VIEWS
See Also:
Constant Field Values
Constructor Detail

ForumInfo

public ForumInfo()
Creates a Forum Info Object. This Object is called by vms.

Method Detail

init

public void init(java.lang.String p_strAppGuid)
          throws de.uplanet.lucy.server.businesslogic.BlException
Sets the application GUID for this forum info object.

Parameters:
p_strAppGuid - The GUID of the application.
Throws:
de.uplanet.lucy.server.businesslogic.BlException

getModerator

@Deprecated
public java.lang.String getModerator()
Deprecated. use getModeratorVH() 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. use getModeratorIdVH() 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 java.lang.String getLastPostName()
Deprecated. use getLastPostNameVH() 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 java.lang.String getLastPostDate()
Deprecated. use getLastPostDateVH() 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 java.lang.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 java.lang.String getLastPostTitle()
Deprecated. use getLastPostTitleVH() 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 java.lang.String getLastPostId()
Deprecated. use getLastPostIdVH() 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 java.lang.String getLastPostThreadId()
Deprecated. use getLastPostThreadIdVH() 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 java.lang.String getLastThreadId()
Deprecated. use getLastThreadIdVH() 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 java.lang.String getLastThreadUserId()
Deprecated. use getLastThreadUserIdVH() 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 java.lang.String getLastThreadText()
Deprecated. use getLastThreadTextVH() 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 java.lang.String getLastThreadTitle()
Deprecated. use getLastThreadTitleVH() 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 java.lang.String getLastThreadDate()
Deprecated. use getLastThreadDateVH() 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 java.lang.String getLastUserId()
Deprecated. use instead()

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(java.lang.String p_strThreadId)
Returns:
The new count of posted entry of the requested forum

isThreadNew

public boolean isThreadNew(java.lang.String p_strThreadId)
Returns:
Thread already visited by current user?

getCountPostUser

public java.lang.String getCountPostUser(java.lang.Integer p_iUserId)
                                  throws de.uplanet.lucy.server.businesslogic.BlException
Returns:
String
Throws:
de.uplanet.lucy.server.businesslogic.BlException

getCountPostUser

public java.util.Map<java.lang.Integer,java.lang.Integer> getCountPostUser()
                                                                    throws de.uplanet.lucy.server.businesslogic.BlException
Throws:
de.uplanet.lucy.server.businesslogic.BlException

getAllUserIds

public java.util.List<java.lang.Integer> getAllUserIds()
                                                throws de.uplanet.lucy.server.businesslogic.BlException
Returns:
List of all Userids that posted as Integer
Throws:
de.uplanet.lucy.server.businesslogic.BlException


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.