xml
Class Xml_Forum

java.lang.Object
  extended by xml.Xml_Core_ops_
      extended by xml.Xml_Forum

public class Xml_Forum
extends Xml_Core_ops_

Author:
Björn Dassow

Constructor Summary
Xml_Forum(java.lang.String filename)
          Creates a new instance of Xml_Forum
 
Method Summary
 void deleteById(java.lang.String id)
           
 ForumDaten[] getAllAntwortenAtFrage(java.lang.String id)
           
 ForumDaten[] getAllFragen(long ZeitDiff)
           
 ForumDaten getFrage(java.lang.String id)
           
static Xml_Forum getInstance()
           
 java.lang.String getMaxId()
           
 void insertAntwort(java.lang.String FragenId, java.lang.String text, java.lang.String subject, java.lang.String author)
           
 void insertFrage(java.lang.String text, java.lang.String subject, java.lang.String author)
           
static void reload()
           
 
Methods inherited from class xml.Xml_Core_ops_
look4
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Xml_Forum

public Xml_Forum(java.lang.String filename)
Creates a new instance of Xml_Forum

Method Detail

reload

public static void reload()

getInstance

public static Xml_Forum getInstance()

insertFrage

public void insertFrage(java.lang.String text,
                        java.lang.String subject,
                        java.lang.String author)

insertAntwort

public void insertAntwort(java.lang.String FragenId,
                          java.lang.String text,
                          java.lang.String subject,
                          java.lang.String author)
                   throws Xml_setException
Throws:
Xml_setException

getAllFragen

public ForumDaten[] getAllFragen(long ZeitDiff)

getAllAntwortenAtFrage

public ForumDaten[] getAllAntwortenAtFrage(java.lang.String id)

deleteById

public void deleteById(java.lang.String id)
                throws Xml_getException
Throws:
Xml_getException

getMaxId

public java.lang.String getMaxId()

getFrage

public ForumDaten getFrage(java.lang.String id)
                    throws Xml_getException
Throws:
Xml_getException