org.exoplatform.calendar.service
Class ImportCalendarJob
java.lang.Object
org.exoplatform.calendar.service.ImportCalendarJob
- All Implemented Interfaces:
- org.quartz.InterruptableJob, org.quartz.Job
public class ImportCalendarJob
- extends Object
- implements org.quartz.Job, org.quartz.InterruptableJob
Created by The eXo Platform SAS
Author : vietnq
vietnq@exoplatform.com
Apr 12, 2013
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMPORT_CALENDAR_JOB_NAME
public static final String IMPORT_CALENDAR_JOB_NAME
- See Also:
- Constant Field Values
IMPORT_CALENDAR_JOB_GROUP_NAME
public static final String IMPORT_CALENDAR_JOB_GROUP_NAME
- See Also:
- Constant Field Values
IMPORT_OR_SUBSCRIBE
public static final String IMPORT_OR_SUBSCRIBE
- See Also:
- Constant Field Values
IMPORT_UPLOADED_FILE
public static final String IMPORT_UPLOADED_FILE
- See Also:
- Constant Field Values
IMPORT_REMOTE_CALENDAR
public static final String IMPORT_REMOTE_CALENDAR
- See Also:
- Constant Field Values
REMOTE_CALENDAR
public static final String REMOTE_CALENDAR
- See Also:
- Constant Field Values
INPUT_STREAM
public static final String INPUT_STREAM
- See Also:
- Constant Field Values
CALENDAR_NAME
public static final String CALENDAR_NAME
- See Also:
- Constant Field Values
IMPORT_FROM_TIME
public static final String IMPORT_FROM_TIME
- See Also:
- Constant Field Values
IMPORT_TO_TIME
public static final String IMPORT_TO_TIME
- See Also:
- Constant Field Values
IS_IMPORT_NEW
public static final String IS_IMPORT_NEW
- See Also:
- Constant Field Values
CALENDAR_ID
public static final String CALENDAR_ID
- See Also:
- Constant Field Values
USER_NAME
public static final String USER_NAME
- See Also:
- Constant Field Values
IMPORT_CALENDAR_CHANNEL
public static final String IMPORT_CALENDAR_CHANNEL
- See Also:
- Constant Field Values
START_MESSAGE_KEY
public static final String START_MESSAGE_KEY
- See Also:
- Constant Field Values
FINISH_MESSAGE_KEY
public static final String FINISH_MESSAGE_KEY
- See Also:
- Constant Field Values
ERROR_MESSAGE_KEY
public static final String ERROR_MESSAGE_KEY
- See Also:
- Constant Field Values
ImportCalendarJob
public ImportCalendarJob()
interrupt
public void interrupt()
throws org.quartz.UnableToInterruptJobException
- Specified by:
interrupt in interface org.quartz.InterruptableJob
- Throws:
org.quartz.UnableToInterruptJobException
execute
public void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
- Specified by:
execute in interface org.quartz.Job
- Throws:
org.quartz.JobExecutionException
getImportICSFileJobDetail
public static org.quartz.JobDetail getImportICSFileJobDetail(String username,
String calendarId,
String calendarName,
InputStream icalInputStream,
Calendar from,
Calendar to,
boolean isNew)
getImportRemoteCalendarJobDetail
public static org.quartz.JobDetail getImportRemoteCalendarJobDetail(RemoteCalendar remoteCalendar)
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.