public class ImportCalendarJob extends Object implements org.quartz.Job, org.quartz.InterruptableJob
| Modifier and Type | Field and Description |
|---|---|
static String |
CALENDAR_ID |
static String |
CALENDAR_NAME |
static String |
ERROR_MESSAGE_KEY |
static String |
FINISH_MESSAGE_KEY |
static String |
IMPORT_CALENDAR_CHANNEL |
static String |
IMPORT_CALENDAR_JOB_GROUP_NAME |
static String |
IMPORT_CALENDAR_JOB_NAME |
static String |
IMPORT_FROM_TIME |
static String |
IMPORT_OR_SUBSCRIBE |
static String |
IMPORT_REMOTE_CALENDAR |
static String |
IMPORT_TO_TIME |
static String |
IMPORT_UPLOADED_FILE |
static String |
INPUT_BYTES |
static String |
IS_IMPORT_NEW |
static String |
REMOTE_CALENDAR |
static String |
START_MESSAGE_KEY |
static String |
USER_NAME |
| Constructor and Description |
|---|
ImportCalendarJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.quartz.JobExecutionContext context) |
static org.quartz.JobDetail |
getImportICSFileJobDetail(String username,
String calendarId,
String calendarName,
byte[] icalInput,
Calendar from,
Calendar to,
boolean isNew) |
static org.quartz.JobDetail |
getImportRemoteCalendarJobDetail(RemoteCalendar remoteCalendar) |
void |
interrupt() |
public static final String IMPORT_CALENDAR_JOB_NAME
public static final String IMPORT_CALENDAR_JOB_GROUP_NAME
public static final String IMPORT_OR_SUBSCRIBE
public static final String IMPORT_UPLOADED_FILE
public static final String IMPORT_REMOTE_CALENDAR
public static final String REMOTE_CALENDAR
public static final String INPUT_BYTES
public static final String CALENDAR_NAME
public static final String IMPORT_FROM_TIME
public static final String IMPORT_TO_TIME
public static final String IS_IMPORT_NEW
public static final String CALENDAR_ID
public static final String USER_NAME
public static final String IMPORT_CALENDAR_CHANNEL
public static final String START_MESSAGE_KEY
public static final String FINISH_MESSAGE_KEY
public static final String ERROR_MESSAGE_KEY
public void interrupt()
throws org.quartz.UnableToInterruptJobException
interrupt in interface org.quartz.InterruptableJoborg.quartz.UnableToInterruptJobExceptionpublic void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
execute in interface org.quartz.Joborg.quartz.JobExecutionExceptionpublic static org.quartz.JobDetail getImportICSFileJobDetail(String username, String calendarId, String calendarName, byte[] icalInput, Calendar from, Calendar to, boolean isNew)
public static org.quartz.JobDetail getImportRemoteCalendarJobDetail(RemoteCalendar remoteCalendar)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.