za.org.coefficient.modules.discussion
Class Discussion

java.lang.Object
  extended by za.org.coefficient.modules.BaseModule
      extended by za.org.coefficient.modules.BaseNavProjectModule
          extended by za.org.coefficient.modules.discussion.Discussion
All Implemented Interfaces:
CoefficientEventPublisher, ModuleLocal

Deprecated. This Module has been replaced by the MailForum module

public class Discussion
extends BaseNavProjectModule


Field Summary
private static java.lang.String PROJECT_DISCUSSION_PAGER
          Deprecated.  
private static java.lang.String PROJECT_DISCUSSION_PAGER_FORUM
          Deprecated.  
private static java.lang.String PROJECT_DISCUSSION_PAGER_POST
          Deprecated.  
private static java.lang.String SITE_DISCUSSION_PAGER
          Deprecated.  
private static java.lang.String SITE_DISCUSSION_PAGER_FORUM
          Deprecated.  
private static java.lang.String SITE_DISCUSSION_PAGER_POST
          Deprecated.  
 
Constructor Summary
Discussion()
          Deprecated.  
 
Method Summary
private  boolean canUserWrite(CoefficientContext ctx, DiscussionData data)
          Deprecated.  
 CoefficientContext confirmDeleteForm(CoefficientContext ctx)
          Deprecated.  
private  void decrementParentReplies(DiscussionData parent, int count)
          Deprecated.  
 CoefficientContext delete(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext deleteAllForProject(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext discussionForm(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext editForm(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext forumForm(CoefficientContext ctx)
          Deprecated.  
 java.lang.String getMainMethod()
          Deprecated. This method is used to determine which method should be invoked when the module is requested without an operation.
 java.lang.String getModuleDescription()
          Deprecated. This method is used to find the description of the module
 java.lang.String getModuleDisplayName()
          Deprecated. This method is used to find the display name of the module
 java.lang.String getSummaryForProject(CoefficientContext ctx)
          Deprecated.  
private  void incrementParentReplies(DiscussionData parent)
          Deprecated.  
 CoefficientContext replyPost(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext saveDiscussion(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext saveFolder(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext search(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext showSummaryForProject(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext viewChildren(CoefficientContext ctx)
          Deprecated.  
 CoefficientContext viewPost(CoefficientContext ctx)
          Deprecated.  
 
Methods inherited from class za.org.coefficient.modules.BaseModule
canExecuteForRole, createRSSItem, displayUsersData, getCoefficientContext, getModuleName, isProjectRequired, publishEvent, setCoefficientContext, showHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SITE_DISCUSSION_PAGER_FORUM

private static final java.lang.String SITE_DISCUSSION_PAGER_FORUM
Deprecated. 
See Also:
Constant Field Values

SITE_DISCUSSION_PAGER_POST

private static final java.lang.String SITE_DISCUSSION_PAGER_POST
Deprecated. 
See Also:
Constant Field Values

PROJECT_DISCUSSION_PAGER_FORUM

private static final java.lang.String PROJECT_DISCUSSION_PAGER_FORUM
Deprecated. 
See Also:
Constant Field Values

PROJECT_DISCUSSION_PAGER_POST

private static final java.lang.String PROJECT_DISCUSSION_PAGER_POST
Deprecated. 
See Also:
Constant Field Values

SITE_DISCUSSION_PAGER

private static final java.lang.String SITE_DISCUSSION_PAGER
Deprecated. 
See Also:
Constant Field Values

PROJECT_DISCUSSION_PAGER

private static final java.lang.String PROJECT_DISCUSSION_PAGER
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

Discussion

public Discussion()
Deprecated. 
Method Detail

getMainMethod

public java.lang.String getMainMethod()
Deprecated. 
Description copied from interface: ModuleLocal
This method is used to determine which method should be invoked when the module is requested without an operation.

Specified by:
getMainMethod in interface ModuleLocal
Specified by:
getMainMethod in class BaseModule
Returns:
name of the method that should be invoked

getModuleDescription

public java.lang.String getModuleDescription()
Deprecated. 
Description copied from interface: ModuleLocal
This method is used to find the description of the module

Specified by:
getModuleDescription in interface ModuleLocal
Specified by:
getModuleDescription in class BaseModule
Returns:
the description of the module

getModuleDisplayName

public java.lang.String getModuleDisplayName()
Deprecated. 
Description copied from interface: ModuleLocal
This method is used to find the display name of the module

Specified by:
getModuleDisplayName in interface ModuleLocal
Specified by:
getModuleDisplayName in class BaseModule
Returns:
the display name of the module

getSummaryForProject

public java.lang.String getSummaryForProject(CoefficientContext ctx)
                                      throws java.lang.Exception
Deprecated. 
Overrides:
getSummaryForProject in class BaseNavProjectModule
Throws:
java.lang.Exception

showSummaryForProject

public CoefficientContext showSummaryForProject(CoefficientContext ctx)
                                         throws java.lang.Exception
Deprecated. 
Overrides:
showSummaryForProject in class BaseNavProjectModule
Throws:
java.lang.Exception

confirmDeleteForm

public CoefficientContext confirmDeleteForm(CoefficientContext ctx)
                                     throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

delete

public CoefficientContext delete(CoefficientContext ctx)
                          throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

deleteAllForProject

public CoefficientContext deleteAllForProject(CoefficientContext ctx)
Deprecated. 
Specified by:
deleteAllForProject in class BaseNavProjectModule

discussionForm

public CoefficientContext discussionForm(CoefficientContext ctx)
                                  throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

editForm

public CoefficientContext editForm(CoefficientContext ctx)
                            throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

forumForm

public CoefficientContext forumForm(CoefficientContext ctx)
                             throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

replyPost

public CoefficientContext replyPost(CoefficientContext ctx)
                             throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

saveDiscussion

public CoefficientContext saveDiscussion(CoefficientContext ctx)
                                  throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

saveFolder

public CoefficientContext saveFolder(CoefficientContext ctx)
                              throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

search

public CoefficientContext search(CoefficientContext ctx)
                          throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

viewChildren

public CoefficientContext viewChildren(CoefficientContext ctx)
                                throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

viewPost

public CoefficientContext viewPost(CoefficientContext ctx)
                            throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

canUserWrite

private boolean canUserWrite(CoefficientContext ctx,
                             DiscussionData data)
Deprecated. 

decrementParentReplies

private void decrementParentReplies(DiscussionData parent,
                                    int count)
                             throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

incrementParentReplies

private void incrementParentReplies(DiscussionData parent)
                             throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException


Copyright CSIR. All Rights Reserved.