com.opnworks.timesheet.domain
Class CommentManager

java.lang.Object
  extended bycom.opnworks.timesheet.domain.CommentManager

public class CommentManager
extends java.lang.Object

Description of the Class

Author:
Laurent

Constructor Summary
CommentManager()
          Constructor for the CommentManager object
 
Method Summary
static java.util.List getComments(IPersistent subject)
          Gets the Comments attribute of the CommentManager class
static java.util.List getComments(IPersistent subject, IParty author)
          Gets the Comments attribute of the CommentManager class
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentManager

public CommentManager()
Constructor for the CommentManager object

Method Detail

getComments

public static java.util.List getComments(IPersistent subject)
                                  throws TimesheetException
Gets the Comments attribute of the CommentManager class

Parameters:
subject - Description of Parameter
Returns:
The Comments value
Throws:
TimesheetException - Description of Exception

getComments

public static java.util.List getComments(IPersistent subject,
                                         IParty author)
                                  throws TimesheetException
Gets the Comments attribute of the CommentManager class

Parameters:
subject - Description of Parameter
author - Description of Parameter
Returns:
The Comments value
Throws:
TimesheetException - Description of Exception