com.stratelia.webactiv.calendar.model
Class AttendeeDAO

java.lang.Object
  extended by com.stratelia.webactiv.calendar.model.AttendeeDAO

public class AttendeeDAO
extends Object


Field Summary
static String JOURNALCOLUMNNAMES
           
static String JOURNALIDNAME
           
static String JOURNALTABLENAME
           
static String TODOCOLUMNNAMES
           
static String TODOIDNAME
           
static String TODOTABLENAME
           
 
Constructor Summary
AttendeeDAO()
           
 
Method Summary
static void addAttendee(Connection con, String id, Attendee attendee, String columns, String table, String idLabel)
           
static void addJournalAttendee(Connection con, String journalId, Attendee attendee)
           
static void addToDoAttendee(Connection con, String todoId, Attendee attendee)
           
static Attendee getAttendeeFromResultSet(ResultSet rs)
           
static Collection<Attendee> getAttendees(Connection con, String id, String columns, String table, String idLabel)
           
static Collection<Attendee> getJournalAttendees(Connection con, String journalId)
           
static Collection<Attendee> getToDoAttendees(Connection con, String todoId)
           
static void removeAttendee(Connection con, String id, Attendee attendee, String columns, String table, String idLabel)
           
static void removeAttendees(Connection con, String id, String columns, String table, String idLabel)
           
static void removeJournal(Connection con, String journalId)
           
static void removeJournalAttendee(Connection con, String journalId, Attendee attendee)
           
static void removeToDo(Connection con, String todoId)
           
static void removeToDoAttendee(Connection con, String todoId, Attendee attendee)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOURNALCOLUMNNAMES

public static final String JOURNALCOLUMNNAMES
See Also:
Constant Field Values

TODOCOLUMNNAMES

public static final String TODOCOLUMNNAMES
See Also:
Constant Field Values

JOURNALTABLENAME

public static final String JOURNALTABLENAME
See Also:
Constant Field Values

TODOTABLENAME

public static final String TODOTABLENAME
See Also:
Constant Field Values

JOURNALIDNAME

public static final String JOURNALIDNAME
See Also:
Constant Field Values

TODOIDNAME

public static final String TODOIDNAME
See Also:
Constant Field Values
Constructor Detail

AttendeeDAO

public AttendeeDAO()
Method Detail

getAttendeeFromResultSet

public static Attendee getAttendeeFromResultSet(ResultSet rs)
                                         throws SQLException
Throws:
SQLException

getJournalAttendees

public static Collection<Attendee> getJournalAttendees(Connection con,
                                                       String journalId)
                                                throws SQLException
Throws:
SQLException

getToDoAttendees

public static Collection<Attendee> getToDoAttendees(Connection con,
                                                    String todoId)
                                             throws SQLException
Throws:
SQLException

getAttendees

public static Collection<Attendee> getAttendees(Connection con,
                                                String id,
                                                String columns,
                                                String table,
                                                String idLabel)
                                         throws SQLException
Throws:
SQLException

addJournalAttendee

public static void addJournalAttendee(Connection con,
                                      String journalId,
                                      Attendee attendee)
                               throws SQLException
Throws:
SQLException

addToDoAttendee

public static void addToDoAttendee(Connection con,
                                   String todoId,
                                   Attendee attendee)
                            throws SQLException
Throws:
SQLException

addAttendee

public static void addAttendee(Connection con,
                               String id,
                               Attendee attendee,
                               String columns,
                               String table,
                               String idLabel)
                        throws SQLException
Throws:
SQLException

removeJournalAttendee

public static void removeJournalAttendee(Connection con,
                                         String journalId,
                                         Attendee attendee)
                                  throws SQLException
Throws:
SQLException

removeToDoAttendee

public static void removeToDoAttendee(Connection con,
                                      String todoId,
                                      Attendee attendee)
                               throws SQLException
Throws:
SQLException

removeAttendee

public static void removeAttendee(Connection con,
                                  String id,
                                  Attendee attendee,
                                  String columns,
                                  String table,
                                  String idLabel)
                           throws SQLException
Throws:
SQLException

removeJournal

public static void removeJournal(Connection con,
                                 String journalId)
                          throws SQLException
Throws:
SQLException

removeToDo

public static void removeToDo(Connection con,
                              String todoId)
                       throws SQLException
Throws:
SQLException

removeAttendees

public static void removeAttendees(Connection con,
                                   String id,
                                   String columns,
                                   String table,
                                   String idLabel)
                            throws SQLException
Throws:
SQLException


Copyright © 2016 Silverpeas. All Rights Reserved.