org.olat.modules.dialog
Class DialogElementsPropertyManager
java.lang.Object
org.olat.modules.dialog.DialogElementsPropertyManager
public class DialogElementsPropertyManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_NAME
public static final java.lang.String PROPERTY_NAME
- See Also:
- Constant Field Values
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 -