| java.lang.Object com.knowgate.addrbook.jical.ICalendarFactory
ICalendarFactory | public class ICalendarFactory (Code) | | Create an ICalendar object for a given hipergate Fellow meetings
author: Sergio Montoro Ten version: 1.0 |
Method Summary | |
public static ICalendar | createICalendar(JDCConnection oConn, String sGuFellow, Date dtFrom, Date dtTo, String sLanguage) Get an RFC 2445 calendar for a Fellow
Parameters: oConn - JDCConnection Parameters: sGuFellow - String Fellow GUID from k_fellows table Parameters: dtFrom - Date from which to start exporting meetings Parameters: dtTo - Date when stop exporting meetings Parameters: sLanguage - String Two letter identifier of language to be used if this parameter is null then the default Locale is used. | public static ICalendar | createICalendar(JDCConnection oConn, String sTxEmail, String sTxPwd, Date dtFrom, Date dtTo, String sLanguage) Get an RFC 2445 calendar for a Fellow
Parameters: oConn - JDCConnection Parameters: sTxEmail - String Fellow e-mail. | public static void | loadCalendar(JDCConnection oConn, String sGuFellow, File oCalFile, String sEncoding) |
ICalendarFactory | public ICalendarFactory()(Code) | | |
createICalendar | public static ICalendar createICalendar(JDCConnection oConn, String sTxEmail, String sTxPwd, Date dtFrom, Date dtTo, String sLanguage) throws SQLException, IllegalArgumentException, NullPointerException, SecurityException(Code) | | Get an RFC 2445 calendar for a Fellow
Parameters: oConn - JDCConnection Parameters: sTxEmail - String Fellow e-mail. Must be that of tx_main-email of the corresponding User at k_users table. Parameters: sTxPwd - String User password in clear text. Parameters: dtFrom - Date from which to start exporting meetings Parameters: dtTo - Date when stop exporting meetings Parameters: sLanguage - String Two letter identifier of language to be used if this parameter is null then the default Locale is used. ICalendar throws: SQLException - If not fellow with specified e-amil is found at k_users table throws: IllegalArgumentException - if dtFrom>dtTo throws: NullPointerException - if sGuFellow or dtFrom or dtTo is null throws: SecurityException - e-mail/password pair does not match the one set at the database |
loadCalendar | public static void loadCalendar(JDCConnection oConn, String sGuFellow, File oCalFile, String sEncoding) throws SQLException(Code) | | Load a calendar file into k_meetings table
Parameters: oConn - JDCConnection Parameters: sGuFellow - String Parameters: oCalFile - File Parameters: sEncoding - String throws: SQLException - |
|
|