org.sakaiproject.service.legacy.calendar.cover
Class CalendarImporterService

java.lang.Object
  extended byorg.sakaiproject.service.legacy.calendar.cover.CalendarImporterService

public class CalendarImporterService
extends Object

CalendarService is a static Cover for the CalendarImporterService; see that interface for usage details.

Version:
$Revision: 632 $
Author:
University of Michigan, Sakai Software Development Team

Field Summary
static String CSV_IMPORT
          Comma separated value import type
static String MEETINGMAKER_IMPORT
          MeetingMaker import type
static String OUTLOOK_IMPORT
          Outlook import type
 
Constructor Summary
CalendarImporterService()
           
 
Method Summary
static List doImport(String importType, InputStream importStream, Map columnMapping, String[] customFieldPropertyNames)
           
static Map getDefaultColumnMap(String importType)
           
static CalendarImporterService getInstance()
          Access the component instance: special cover only method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CSV_IMPORT

public static final String CSV_IMPORT
Comma separated value import type

See Also:
Constant Field Values

MEETINGMAKER_IMPORT

public static final String MEETINGMAKER_IMPORT
MeetingMaker import type

See Also:
Constant Field Values

OUTLOOK_IMPORT

public static final String OUTLOOK_IMPORT
Outlook import type

See Also:
Constant Field Values
Constructor Detail

CalendarImporterService

public CalendarImporterService()
Method Detail

getInstance

public static CalendarImporterService getInstance()
Access the component instance: special cover only method.

Returns:
the component instance.

getDefaultColumnMap

public static Map getDefaultColumnMap(String importType)
                               throws ImportException
Throws:
ImportException

doImport

public static List doImport(String importType,
                            InputStream importStream,
                            Map columnMapping,
                            String[] customFieldPropertyNames)
                     throws ImportException
Throws:
ImportException