| org.sakaiproject.calendar.api.CalendarImporterService
All known Subclasses: org.sakaiproject.calendar.impl.GenericCalendarImporter,
CalendarImporterService | public interface CalendarImporterService (Code) | | Interface for importing various calendar exports into Sakai.
|
Method Summary | |
public List | doImport(String importType, InputStream importStream, Map columnMapping, String[] customFieldPropertyNames) Perform an import given the import type.
Parameters: importType - Type such as Outlook, MeetingMaker, etc. | public Map | getDefaultColumnMap(String importType) Get the default column mapping (keys are column headers, values are property names).
Parameters: importType - Type such as Outlook, MeetingMaker, etc. |
CSV_IMPORT | final public static String CSV_IMPORT(Code) | | Comma separated value import type
|
MEETINGMAKER_IMPORT | final public static String MEETINGMAKER_IMPORT(Code) | | MeetingMaker import type
|
OUTLOOK_IMPORT | final public static String OUTLOOK_IMPORT(Code) | | Outlook import type
|
doImport | public List doImport(String importType, InputStream importStream, Map columnMapping, String[] customFieldPropertyNames) throws ImportException(Code) | | Perform an import given the import type.
Parameters: importType - Type such as Outlook, MeetingMaker, etc. defined in the CalendarImporterService interface. Parameters: importStream - Stream of data to be imported Parameters: columnMapping - Map of column headers (keys) to property names (values) Parameters: customFieldPropertyNames - Array of custom properties that we want to import. null if there are no custom properties. A list of CalendarEvent objects. These objects are not "real", so their copiesmust be copied into CalendarEvents created by the Calendar service. throws: ImportException - |
getDefaultColumnMap | public Map getDefaultColumnMap(String importType) throws ImportException(Code) | | Get the default column mapping (keys are column headers, values are property names).
Parameters: importType - Type such as Outlook, MeetingMaker, etc. defined in the CalendarImporterService interface. throws: ImportException - |
|
|