Class ForumInfo


  • @VelocityCallable("instance")
    public final class ForumInfo
    extends Object
    • Constructor Detail

      • ForumInfo

        public ForumInfo()
        Creates a Forum Info Object. This Object is called by vms.
    • 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.
      • 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
      • getLastPostNameVH

        public IValueHolder<?> getLastPostNameVH()
        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
      • getLastPostTitleVH

        public IValueHolder<?> getLastPostTitleVH()
        Returns:
        The last posted entry of the requested forum
      • getLastPostIdVH

        public IValueHolder<?> getLastPostIdVH()
        Returns:
        The last posted entry of the requested forum
      • getLastPostThreadIdVH

        public IValueHolder<?> getLastPostThreadIdVH()
        Returns:
        The last posted entry of the requested forum
      • getLastThreadIdVH

        public IValueHolder<?> getLastThreadIdVH()
        Returns:
        The last posted entry of the requested forum
      • getLastThreadUserIdVH

        public IValueHolder<?> getLastThreadUserIdVH()
        Returns:
        The last posted entry of the requested forum
      • getLastThreadTextVH

        public IValueHolder<?> getLastThreadTextVH()
        Returns:
        The last posted entry of the requested forum
      • getLastThreadTitleVH

        public IValueHolder<?> getLastThreadTitleVH()
        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.
        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
      • getAllUserIds

        public List<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