com.xmlserv.app.agenda
Class Agenda

java.lang.Object
  |
  +--com.xmlserv.app.agenda.Agenda

public class Agenda
extends java.lang.Object

DB Abstraction for Agenda entries.


Constructor Summary
Agenda(java.sql.Connection con, int id)
           
Agenda(int rolegroup)
           
 
Method Summary
 void delete(java.sql.Connection con)
           
 java.lang.String getDatum()
           
 java.lang.String getDescription()
           
 int getId()
           
 int getLocation()
           
static SecurityManager.Resource getResource(SecurityManager securityManager, javax.servlet.http.HttpServletRequest req)
           
 int getRolegroup()
           
 java.lang.String getStart()
           
 java.lang.String getTitle()
           
static org.jdom.Element list(java.sql.Connection con, int rolegroup, java.lang.String cond)
           
 void save(java.sql.Connection con)
           
 void setDatum(java.lang.String datum)
           
 void setDescription(java.lang.String description)
           
 void setLocation(int location)
           
 void setRolegroup(int rolegroup)
           
 void setStart(java.lang.String start)
           
 void setTitle(java.lang.String title)
           
 org.jdom.Element toElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Agenda

public Agenda(int rolegroup)

Agenda

public Agenda(java.sql.Connection con,
              int id)
       throws XMLServException
Method Detail

save

public void save(java.sql.Connection con)
          throws XMLServException

delete

public void delete(java.sql.Connection con)
            throws XMLServException

toElement

public org.jdom.Element toElement()

getResource

public static SecurityManager.Resource getResource(SecurityManager securityManager,
                                                   javax.servlet.http.HttpServletRequest req)
                                            throws SecurityManagerException

list

public static org.jdom.Element list(java.sql.Connection con,
                                    int rolegroup,
                                    java.lang.String cond)
                             throws XMLServException
Parameters:
cond - SQL fragment starting with AND, empty strign if unused.

getId

public int getId()

getRolegroup

public int getRolegroup()

setRolegroup

public void setRolegroup(int rolegroup)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getLocation

public int getLocation()

setLocation

public void setLocation(int location)

getDatum

public java.lang.String getDatum()

setDatum

public void setDatum(java.lang.String datum)

getStart

public java.lang.String getStart()

setStart

public void setStart(java.lang.String start)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)