org.olat.modules.dialog
Class DialogElementsPropertyManager

java.lang.Object
  extended by org.olat.modules.dialog.DialogElementsPropertyManager

public class DialogElementsPropertyManager
extends java.lang.Object


Field Summary
static java.lang.String PROPERTY_NAME
           
 
Method Summary
 void addDialogElement(CoursePropertyManager coursePropMgr, CourseNode courseNode, DialogElement element)
          persits a new added dialog element in the course node property
 void deleteProperty(java.lang.Long courseId, java.lang.String courseNodeId)
          Delete the file dialog course node poperty
 DialogPropertyElements findDialogElements(CoursePropertyManager coursePropMgr, CourseNode courseNode)
           
 DialogPropertyElements findDialogElements(java.lang.Long courseId, java.lang.String courseNodeId)
          Find all DialogElements for a certain coursenode
static DialogElementsPropertyManager getInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_NAME

public static final java.lang.String PROPERTY_NAME
See Also:
Constant Field Values
Method Detail

getInstance

public static DialogElementsPropertyManager getInstance()
Returns:
single instance

findDialogElements

public DialogPropertyElements findDialogElements(CoursePropertyManager coursePropMgr,
                                                 CourseNode courseNode)
Parameters:
userCourseEnv -
courseNode -
Returns:
an empty DialogPropertyElements if noting found or the populated object

findDialogElements

public DialogPropertyElements findDialogElements(java.lang.Long courseId,
                                                 java.lang.String courseNodeId)
Find all DialogElements for a certain coursenode

Parameters:
courseId -
courseNodeId -
Returns:
a Object containing a collection of DialogElements

addDialogElement

public void addDialogElement(CoursePropertyManager coursePropMgr,
                             CourseNode courseNode,
                             DialogElement element)
persits a new added dialog element in the course node property

Parameters:
userCourseEnv -
courseNode -
forumKey -
fileName -
authorUsername -
fileDialogId -

deleteProperty

public void deleteProperty(java.lang.Long courseId,
                           java.lang.String courseNodeId)
Delete the file dialog course node poperty

Parameters:
courseId -
courseNodeId -